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.
53 lines
1.1 KiB
53 lines
1.1 KiB
9 months ago
|
<script>
|
||
|
export default {
|
||
|
onLaunch: function() {
|
||
|
console.log('App Launch')
|
||
|
// 隐藏顶部电池,时间等信息
|
||
|
// #ifdef APP-PLUS
|
||
|
// 隐藏顶部电池,时间等信息
|
||
|
uni.setStorageSync('hasLogin', false)
|
||
|
// plus.navigator.setFullscreen(true);
|
||
|
// // app 锁定横屏
|
||
|
// plus.screen.lockOrientation('landscape-primary');
|
||
|
// // app 强制竖屏
|
||
|
// plus.screen.lockOrientation('portrait-primary');
|
||
|
// #endif
|
||
|
},
|
||
|
onShow: function() {
|
||
|
console.log('App Show')
|
||
|
},
|
||
|
onHide: function() {
|
||
|
console.log('App Hide')
|
||
|
},
|
||
|
|
||
|
}
|
||
|
</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>
|