You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

63 lines
929 B

<script>
export default {
onLaunch: function() {
if (!uni.getStorageSync('language')) {
this.$i18n.locale = 'en'
//#ifdef H5
this.$router.go(0);
//#endif
//#ifdef APP-PLUS
//#endif
uni.setStorage({
key: 'language',
data: 'en'
})
uni.setLocale('en')
}
uni.$resMessage = this.$t('message')
},
onShow: function() {},
onHide: function() {}
}
</script>
<style lang="scss">
/*每个页面公共css */
@import '@/uni_modules/uview-ui/theme.scss';
body {
// background-color: #000;
}
uni-toast {
z-index: 100000000;
}
.u-modal {
// background-color: #000;
}
.u-modal__title {
// color: #fff !important;
}
@media screen and (min-width: 960px) {
.bx {
//版心
max-width: 375px;
margin: 0px auto;
}
}
@media screen and (min-width: 960px) {
.popup-bx {
left: 50% !important;
transform: translateX(-50%);
}
}
</style>