diff --git a/root/person/loginIndex.vue b/root/person/loginIndex.vue
index efe12ab..feceb6f 100644
--- a/root/person/loginIndex.vue
+++ b/root/person/loginIndex.vue
@@ -16,7 +16,7 @@
-
+
@@ -44,6 +44,18 @@
+
+
+
+
+
+
+ 我已阅读并同意
+ 《用户服务协议》
+ 及
+ 《隐私政策》
+
+
@@ -55,6 +67,7 @@ export default {
},
data() {
return {
+ switchChecked: false,
localBaseImg: this.G.store().localBaseImg,
v3BaseImg: this.G.store().v3BaseImg,
isLoginCode: true,
@@ -98,6 +111,10 @@ export default {
}
},
methods: {
+ switchChange() {
+ console.log(this.switchChecked);
+ this.switchChecked = !this.switchChecked;
+ },
hideKeyboard(e) {
console.log(e)
if (e.length >= 4) {
@@ -164,6 +181,14 @@ export default {
wxCode: '',
}
}
+ if (!that.switchChecked) {
+ uni.showToast({
+ icon: "none",
+ title: "请先同意用户及隐私协议",
+ });
+ return false;
+ }
+
uni.showLoading({
title: '登录中...',
mask: true,