1.登录页面去除注册、忘记密码;2、登录页面去除底部隐私协议,默认选中;3、优化首页政策详情页面样式;4、token失效默认跳转到总集首页
This commit is contained in:
@@ -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
|
||||
// }
|
||||
// })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user