2025-03-23 09:29:40 +08:00
|
|
|
|
|
|
|
<!--
|
|
|
|
* @Descripttion:
|
|
|
|
* @version:
|
|
|
|
* @Author: kBank
|
|
|
|
* @Date: 2022-11-21 15:11:22
|
|
|
|
-->
|
|
|
|
<script>
|
2025-04-19 11:52:43 +08:00
|
|
|
import { setToken } from '@/config/auth.js'
|
2025-03-23 09:29:40 +08:00
|
|
|
export default {
|
2025-04-19 11:52:43 +08:00
|
|
|
onLaunch: function (options) {
|
2025-03-23 09:29:40 +08:00
|
|
|
// 分享注册
|
2025-04-19 11:52:43 +08:00
|
|
|
|
|
|
|
if (options.query?.token) {
|
|
|
|
setToken(options.query?.token)
|
|
|
|
}
|
2025-03-23 09:29:40 +08:00
|
|
|
const whiteList = [
|
2025-04-07 18:00:26 +08:00
|
|
|
// 'pages/shareRegist/index',
|
|
|
|
// 'pages/shareRegist/success',
|
2025-03-23 09:29:40 +08:00
|
|
|
'pages/login/index',
|
2025-04-07 18:00:26 +08:00
|
|
|
// 'pages/wechatPay/bfPay/',
|
|
|
|
// 'pages/wechatPay/hfPay/',
|
|
|
|
// 'pages/shareArea/hiList',
|
|
|
|
// 'pages/shareArea/hiOrder',
|
|
|
|
// 'pages/pay/hiPay'
|
2025-03-23 09:29:40 +08:00
|
|
|
]
|
2025-04-19 11:52:43 +08:00
|
|
|
if (whiteList.indexOf(options.path) !== -1) return
|
|
|
|
this.$store.dispatch('GetInfo')
|
|
|
|
this.$store.dispatch('getCarLength')
|
2025-03-23 09:29:40 +08:00
|
|
|
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>
|