1.登录页面去除注册、忘记密码;2、登录页面去除底部隐私协议,默认选中;3、优化首页政策详情页面样式;4、token失效默认跳转到总集首页

This commit is contained in:
zxy
2024-03-23 14:43:24 +08:00
parent 881ea05ce7
commit 5733a0b299
4 changed files with 36 additions and 29 deletions

View File

@@ -162,23 +162,24 @@ export function Promisify(func) {
export function GoLogin() {
if (showModal) {
showModal = false
uni.showModal({
title: "提示",
content: "您还未登录,点击确认去登录",
success({
confirm
}) {
if (confirm) {
uni.redirectTo({
url: "/pages/login/login"
});
}
showModal = true
},
fail() {
showModal = true
}
})
location.href = "https://dy12333.org.cn/h5/"
// uni.showModal({
// title: "提示",
// content: "您还未登录,点击确认去登录",
// success({
// confirm
// }) {
// if (confirm) {
// uni.redirectTo({
// url: "/pages/login/login"
// });
// }
// showModal = true
// },
// fail() {
// showModal = true
// }
// })
}
}