From ef1b7249df7583c04b3e39372bc350dc37a594b7 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Tue, 1 Jul 2025 09:52:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/person/loginIndex.vue | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) 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,