forked from angelo/web-retail-h5
49 lines
971 B
Vue
49 lines
971 B
Vue
|
|
<!--
|
|
* @Descripttion:
|
|
* @version:
|
|
* @Author: kBank
|
|
* @Date: 2022-11-21 15:11:22
|
|
-->
|
|
<script>
|
|
export default {
|
|
onLaunch: function () {
|
|
let url = window.location.href.split('/#/')[1].split('?')[0]
|
|
|
|
// 分享注册
|
|
const whiteList = [
|
|
'pages/shareRegist/index',
|
|
'pages/shareRegist/success',
|
|
'pages/login/index',
|
|
'pages/wechatPay/bfPay/',
|
|
'pages/wechatPay/hfPay/',
|
|
'pages/shareArea/hiList',
|
|
'pages/shareArea/hiOrder',
|
|
'pages/pay/hiPay'
|
|
]
|
|
if (whiteList.indexOf(url) !== -1) {
|
|
} else {
|
|
this.$store.dispatch('GetInfo')
|
|
this.$store.dispatch('getCarLength')
|
|
}
|
|
uni.hideTabBar({})
|
|
},
|
|
onShow: function () {
|
|
uni.hideTabBar({})
|
|
},
|
|
onHide: function () {},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
body{
|
|
background-color: #f2f2f2;
|
|
}
|
|
/*每个页面公共css */
|
|
@import '@/uni_modules/uview-ui/index.scss';
|
|
|
|
::v-deep .uni-picker-container{
|
|
z-index: 100000!important;
|
|
}
|
|
</style>
|