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.

66 lines
1.2 KiB

<script>
// #ifdef APP-PLUS
import {
appUpdate
} from "@/common/appUpdate.js"
// #endif
4 weeks ago
export default {
onLaunch: function() {
// 隐藏顶部电池,时间等信息
// #ifdef APP-PLUS
// 隐藏顶部电池,时间等信息
uni.setStorageSync('hasLogin', false)
// plus.navigator.setFullscreen(true);
// // app 锁定横屏
// plus.screen.lockOrientation('landscape-primary');
// // app 强制竖屏
// plus.screen.lockOrientation('portrait-primary');
appUpdate(false);
// #endif
},
data() {
return {
// 假设有一个模态框显示的标志
modalShowing: true
};
},
onShow: function() {
},
onHide: function() {
},
}
</script>
<style lang="scss">
@import "./uni_modules/vk-uview-ui/index.scss";
@import './common/style/new_style.css';
@import './common/style/uni.css';
@import './common/style/pdabasic.css';
@import './uni.scss';
@import './static/scss/index.scss';
@import './static/ali_icon/iconfont.css';
body {
background-color: #EBEEF0;
}
.content {
background-color: #fff
}
page {
// #ifdef APP-PLUS
height: 100vh;
// #endif
// #ifdef H5
// height: calc(100vh-94px);
// #endif
}
</style>