From 3c1648155556b5009f9b684b45e789c8a4b2d610 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Fri, 22 Mar 2024 14:52:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/popups/index.vue | 8 +++-- pages/store/settled/index.vue | 26 ++++++++------- pages/users/order_list/index.vue | 47 ++++++++++++++++++++------ pages/users/user_modify_pwd/index.vue | 48 +++++++++++++++++++++------ 4 files changed, 94 insertions(+), 35 deletions(-) diff --git a/components/popups/index.vue b/components/popups/index.vue index 4b9b696..1c18754 100644 --- a/components/popups/index.vue +++ b/components/popups/index.vue @@ -6,7 +6,7 @@ - 请输入支付密码 + {{title}} @@ -56,7 +56,11 @@ isPay: { //区分支付密码还是输入数字 type: Boolean, default: false - } + }, + title: { + type: String, + default: '请输入支付密码' + } }, data() { return { diff --git a/pages/store/settled/index.vue b/pages/store/settled/index.vue index ff6e302..d775b70 100644 --- a/pages/store/settled/index.vue +++ b/pages/store/settled/index.vue @@ -255,7 +255,7 @@ 验证码 - - - - - - - + + + + + + + + + + + + + + + + @@ -31,6 +43,7 @@ + @@ -64,10 +77,12 @@ toLogin } from '@/libs/login.js'; import Verify from '@/components/verify/verify.vue'; + import popups from "@/components/popups/index.vue"; export default { mixins: [sendVerifyCode], components: { - Verify + Verify, + popups }, data() { return { @@ -79,7 +94,8 @@ key: '', codeVal: '', disabled: false, - type: '' + type: '', + set_type: '', }; }, computed: mapGetters(['isLogin', 'viewColor']), @@ -113,6 +129,18 @@ that.userInfo = res.data }); }, + showPopup(type){ + this.set_type = type; + this.$refs.popups.handleOpen(); + }, + // 输入密码回调 + handleConfirm(e) { + if(this.set_type==1)this.password = e; + else this.repassword = e; + }, + + handleClear() {}, + handleChange() {}, confirmSubmit: function() { let that = this;