This commit is contained in:
Iruka 2025-02-11 16:18:09 +08:00
parent 622469212e
commit 9fbec080b4

View File

@ -15,7 +15,7 @@
</view>
<!-- 协议弹窗 -->
<u-popup mode="center" :show="showPop" :is-mask-click="false" >
<u-popup mode="center" :show="showPop" :is-mask-click="false">
<view style="background: #f3f3f3;max-width: 70vw;padding: 10px; border-radius: 5px;">
<view style="text-align: center;font-weight: bold;margin-bottom: 10px;">
<text>用户协议和隐私协议</text>
@ -66,14 +66,14 @@
loginJS.hasToken().then(res => {
showPop.value = true;
//
// loginJS.getInfo().then(() => {
// uni.switchTab({
// url: '/pages/index',
// });
// }).catch(error => {
// reLogin.value = true;
// proxy.$toast(error);
// })
loginJS.getInfo().then(() => {
uni.switchTab({
url: '/pages/index',
});
}).catch(error => {
reLogin.value = true;
proxy.$toast(error);
})
}).catch(error => {
showPop.value = true;
// #ifdef H5
@ -125,7 +125,11 @@
page {
background-color: #ffffff;
}
::v-deep .u-popup__content{background-color: transparent !important;}
::v-deep .u-popup__content {
background-color: transparent !important;
}
.u-checkbox {
margin: 0;
}