From 217e411697650813a6c1b86f450e3102baa7bb51 Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Tue, 29 Jul 2025 18:45:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/list/apply.vue | 2 +- components/panel/formSlot.vue | 33 +- pages.json | 2 +- pages/workBench/index.vue | 4 +- root/detail/user copy.vue | 649 +++++++++++++++++++++++++++++++++++++ root/detail/user.vue | 725 ++++++++---------------------------------- root/person/pwdForget.vue | 241 +++++++------- 7 files changed, 924 insertions(+), 732 deletions(-) create mode 100644 root/detail/user copy.vue diff --git a/components/list/apply.vue b/components/list/apply.vue index 2675265..678d6f9 100644 --- a/components/list/apply.vue +++ b/components/list/apply.vue @@ -17,7 +17,7 @@ - + diff --git a/components/panel/formSlot.vue b/components/panel/formSlot.vue index 7c0376b..65cf76b 100644 --- a/components/panel/formSlot.vue +++ b/components/panel/formSlot.vue @@ -66,20 +66,20 @@ class="form-code" v-if="item.tip && item.tip.indexOf('slot') > -1" > - +
- +
-
- +
+
- +
@@ -427,15 +427,28 @@ export default { }, // 发送验证码 - handleSendMsg() { + handleSendMsg(tel, verifyTel) { let that = this; - if (this.msgCode.countdown > 0) { + if (this.msgCode.countdown > 0 || !that.G.setReg(tel, "tel")) { + if (!that.G.setReg(tel, "tel")) { + uni.showToast({ + icon: "none", + title: "请输入正确的手机号", + }); + } + return; + } + if (verifyTel && verifyTel != tel) { + uni.showToast({ + icon: "none", + title: "请输入对应的手机号", + }); return; } that.G.Get( that.api.login_sendMsg, { - tel: uni.getStorageSync("apply-tel"), + tel: tel, }, (res) => { that.msgCode.countdown = 60; @@ -728,8 +741,8 @@ export default { .btn-text { background-color: #ededed; - text-align: center; - border-radius: 126px; + text-align: center; + border-radius: 126px; .btn-con { // border-left: 1rpx solid #eee; // padding: 0 0 0 16px; diff --git a/pages.json b/pages.json index 11af612..170252a 100644 --- a/pages.json +++ b/pages.json @@ -334,7 +334,7 @@ { "path": "user", "style": { - "navigationBarTitleText": "详情", // 用户主页 + "navigationBarTitleText": "绑定", // 用户主页 "backgroundColor": "#ededed", "backgroundColorBottom": "#ededed" } diff --git a/pages/workBench/index.vue b/pages/workBench/index.vue index 6816aa0..149c5a4 100644 --- a/pages/workBench/index.vue +++ b/pages/workBench/index.vue @@ -12,7 +12,7 @@ - + @@ -25,7 +25,7 @@ - + diff --git a/root/detail/user copy.vue b/root/detail/user copy.vue new file mode 100644 index 0000000..7dd20c4 --- /dev/null +++ b/root/detail/user copy.vue @@ -0,0 +1,649 @@ + + + + + diff --git a/root/detail/user.vue b/root/detail/user.vue index 7dd20c4..4ecb436 100644 --- a/root/detail/user.vue +++ b/root/detail/user.vue @@ -1,649 +1,172 @@ - + diff --git a/root/person/pwdForget.vue b/root/person/pwdForget.vue index e64a419..3dd83b0 100644 --- a/root/person/pwdForget.vue +++ b/root/person/pwdForget.vue @@ -1,154 +1,161 @@ - \ No newline at end of file +