1.登录页面去除注册、忘记密码;2、登录页面去除底部隐私协议,默认选中;3、优化首页政策详情页面样式;4、token失效默认跳转到总集首页
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
<view v-if="loading" class="btn nocheck" loading="true">登录中</view>
|
||||
<view v-else-if="validate" class="btn" @click="login">立即登录</view>
|
||||
<view v-else class="btn nocheck">立即登录</view>
|
||||
<view class="changeLogintype">
|
||||
<!-- <view class="changeLogintype">
|
||||
<view class="" @click="goReg">手机注册</view>
|
||||
<view class="" @click="goForget">忘记密码</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</login-template>
|
||||
</template>
|
||||
|
||||
@@ -73,12 +73,14 @@
|
||||
},
|
||||
login(e) {
|
||||
if (this.validate) {
|
||||
if (!this.userChecked) {
|
||||
uni.showToast({
|
||||
title:'请先阅读并同意《服务及隐私协议》',
|
||||
icon:'none',
|
||||
})
|
||||
} else {
|
||||
this.userChecked = true;
|
||||
console.log(this.userChecked)
|
||||
// if (!this.userChecked) {
|
||||
// uni.showToast({
|
||||
// title:'请先阅读并同意《服务及隐私协议》',
|
||||
// icon:'none',
|
||||
// })
|
||||
// } else {
|
||||
var that = this
|
||||
this.loading = true
|
||||
this.$store.dispatch("LoginByUsername", {
|
||||
@@ -103,8 +105,9 @@
|
||||
}).catch((err) => {
|
||||
this.loading = false
|
||||
// this.$refs.code.refushCode()
|
||||
location.href = "https://dy12333.org.cn/h5/"
|
||||
});
|
||||
}
|
||||
// }
|
||||
}
|
||||
},
|
||||
// 步骤
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
<slot></slot>
|
||||
<view v-if="!hideBottom" class="bottomt">
|
||||
<view class="bottomt-box">
|
||||
<view class="check-icon" @click="checkChanged">
|
||||
<!-- <view class="check-icon" @click="checkChanged">
|
||||
<image v-if="userChecked" src="../../static/img/checkOk.png" style="width: 30rpx;height:30rpx;"></image>
|
||||
<view class="noneCheck" v-else></view>
|
||||
</view>
|
||||
已阅读并同意<text class="bottomtText" @click="goMent">《服务及隐私协议》</text>
|
||||
已阅读并同意<text class="bottomtText" @click="goMent">《服务及隐私协议》</text> -->
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
@@ -38,8 +38,11 @@
|
||||
</script>
|
||||
|
||||
<style>
|
||||
page{
|
||||
/* page{
|
||||
padding: 20px 20px 20px 20px;
|
||||
overflow: auto;
|
||||
} */
|
||||
.policy-content {
|
||||
padding: 30rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user