<script>
|
|
import routerInterception from '@/utils/router-interception.js'
|
|
export default {
|
|
globalData: {
|
|
flag: 1,
|
|
login_status:true,
|
|
phone:null
|
|
},
|
|
onLaunch: function() {
|
|
routerInterception()
|
|
// console.log(this.$utils)
|
|
console.log('App Launch')
|
|
},
|
|
onShow: function() {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style >
|
|
/* // @import "./uni_modules/vk-uview-ui/index.scss"; */
|
|
|
|
/*每个页面公共css */
|
|
.uni-tabbar-bottom{
|
|
display: none;
|
|
}
|
|
.icon {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
}
|
|
.nav-bar{
|
|
/* margin-top: calc(70rpx + env(safe-area-inset-top)); */
|
|
height: 30%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
/* 每个页面公共css */
|
|
/* 解决小程序和app滚动条的问题 */
|
|
|
|
::-webkit-scrollbar {
|
|
display: none;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
-webkit-appearance: none;
|
|
background: transparent;
|
|
color: transparent;
|
|
}
|
|
|
|
|
|
/* 解决H5的问题 */
|
|
|
|
uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
|
|
display: none;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
-webkit-appearance: none;
|
|
background: transparent;
|
|
color: transparent;
|
|
}
|
|
|
|
|
|
</style>
|