From 20834e3d997b807abe7dbda9429ab36e03324b8d Mon Sep 17 00:00:00 2001 From: "DESKTOP-GMUNQ1B\\k" <1154079537@qq.com> Date: Sun, 7 Apr 2024 17:16:49 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/content-top/index.vue | 2 +- pages/index/index.vue | 25 ----------- pages/withdrawal/add.vue | 70 ++++++++++++++++++------------- pages/withdrawal/index.vue | 28 +++++++------ pages/withdrawal/progress.vue | 4 +- static/images/fb2.png | Bin 1119 -> 1037 bytes static/images/fb21.png | Bin 0 -> 1119 bytes 7 files changed, 59 insertions(+), 70 deletions(-) create mode 100644 static/images/fb21.png diff --git a/components/content-top/index.vue b/components/content-top/index.vue index e0f0051..ab884dd 100644 --- a/components/content-top/index.vue +++ b/components/content-top/index.vue @@ -73,7 +73,7 @@ .z-bootm-img2 { width: 38rpx; - height: 34rpx; + height: 38rpx; margin-top: -15rpx; margin-left: -15rpx; position: absolute; diff --git a/pages/index/index.vue b/pages/index/index.vue index f6db902..55e105c 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -78,26 +78,6 @@ - @@ -2320,7 +2300,6 @@ width: 100%; height: 100%; } - } } @@ -2345,8 +2324,6 @@ margin-top: 61rpx; .content-middlea { - // width: 161rpx; - // flex: 1; width: 33.33%; flex-shrink: 0; text-align: center; @@ -2384,7 +2361,6 @@ .content-bottom { background-color: #ffffff; border-radius: 32rpx 32rpx 0px 0px; - // margin-top: 41rpx; padding-top: 46rpx; .content-order { @@ -2392,7 +2368,6 @@ display: flex; justify-content: space-around; - view { width: 100rpx; diff --git a/pages/withdrawal/add.vue b/pages/withdrawal/add.vue index 3d444a6..60410b6 100644 --- a/pages/withdrawal/add.vue +++ b/pages/withdrawal/add.vue @@ -19,7 +19,7 @@ class="withdrawal-left-empty">{{bindForm.is_own === 0 ? '法人账户' : bindForm.is_own === 1 ? '对公账户':'请选择账户类型'}} - + {{bindForm.is_own === ''?'选择':'更换'}}账户 @@ -30,15 +30,14 @@ 开户银行 - + - {{bindForm.bank?bindForm.bank:'请选择开户银行'}} + {{bindForm.bank?bindForm.bank:'点击选择开户银行'}} - - + @@ -60,7 +59,7 @@ 银行帐号 - @@ -76,14 +75,14 @@ 手机号码 - - - + + 锁定规则:错误输入超 3 次后锁定。
恢复规则:12 时后或次日 0 时恢复。
温馨提示:锁定期间勿重复提交绑定,否则锁定时间延长。 @@ -115,14 +114,14 @@ 开户银行 - + - {{bindForm.bank?bindForm.bank:'请选择开户银行'}} + {{bindForm.bank?bindForm.bank:'点击选择开户银行'}} - + @@ -136,7 +135,7 @@ 银行账号 - @@ -149,7 +148,7 @@ - + 锁定规则:错误输入超 3 次后锁定。
恢复规则:12 时后或次日 0 时恢复。
温馨提示:锁定期间勿重复提交绑定,否则锁定时间延长。 @@ -166,7 +165,7 @@ + @close="show = false" :safeAreaInsetBottom='true'> @@ -241,7 +240,7 @@ //获取法人真实姓名 this.bindForm.name = JSON.parse(this.$Cache.get("USER_INFO")).mer_info.real_name; } else { - this.bindForm.is_own = 0; + this.bindForm.is_own = 1; //获取法人真实姓名 this.bindForm.name = JSON.parse(this.$Cache.get("USER_INFO")).mer_info.real_name; this.list = [{ @@ -254,6 +253,7 @@ //如果绑定银行卡用户为个体户 则不能添加对公账户,只能添加法人账户 is_company =0 个体户 const isCompany = JSON.parse(this.$Cache.get("USER_INFO")).mer_info.is_company; if (isCompany != 1) { + this.bindForm.is_own = 0; this.list = [{ name: '法人账户' }]; @@ -269,9 +269,9 @@ Object.assign(this.bindForm, res.data.financial_account); this.bindForm.id = res.data.id; this.mer_id = this.bindForm.mer_id; - // if (this.bindForm.is_own === 0 && this.bindForm.financial_img) { - // this.$set(this.bindForm, 'temp', this.bindForm.financial_img.split(",")); - // } + if (this.bindForm.is_own === 0 && this.bindForm.financial_img) { + this.$set(this.bindForm, 'temp', this.bindForm.financial_img.split(",")); + } } }) }, @@ -279,6 +279,8 @@ // 账户类型 handleSelected(e) { this.show = false; + this.bindForm.bank = ''; + this.bindForm.icon = ''; if (e.name == '法人账户') { this.bindForm.is_own = 0; this.bindForm.name = JSON.parse(this.$Cache.get("USER_INFO")).mer_info.real_name; @@ -302,6 +304,10 @@ this.bindForm.temp.splice(index, 1); }, + handleShow() { + this.show = true; + }, + // 选择银行卡 handleSelectedBank(e) { this.bindForm.bank = e.name; @@ -340,10 +346,10 @@ // 法人账号验证 if (this.bindForm.is_own === 0) { - // if (!this.bindForm.temp.length > 0) return this.$util.Tips({ - // title: '请上传凭证!' - // }); - // this.bindForm.financial_img = this.bindForm.temp.join(","); + if (!this.bindForm.temp.length > 0) return this.$util.Tips({ + title: '请上传凭证!' + }); + this.bindForm.financial_img = this.bindForm.temp.join(","); if (!uni.$u.test.idCard(this.bindForm.id_card)) return this.$util.Tips({ title: '请输入正确的身份证号!' @@ -364,9 +370,10 @@ }) }); }).catch(err => { - this.$util.Tips({ - title: err - }); + uni.showToast({ + title: err, + duration: 3000 + }) }) }, @@ -490,6 +497,11 @@ input { font-size: 30rpx; + width: 460rpx; + } + + text { + color: #40AE36; } } diff --git a/pages/withdrawal/index.vue b/pages/withdrawal/index.vue index 5345809..e2e06b6 100644 --- a/pages/withdrawal/index.vue +++ b/pages/withdrawal/index.vue @@ -9,6 +9,7 @@
+ @@ -60,8 +61,8 @@ - - 查看审核进度 + 账户开通审核进度 + 《企业授权法人提现书》 @@ -122,9 +123,8 @@ - + - 点击提现 @@ -190,6 +190,8 @@ this.getBankInfo(); // 用户信息 this.userInfo = JSON.parse(this.$Cache.get("USER_INFO")); + + console.log(this.userInfo.mer_info.is_company) }, methods: { @@ -201,15 +203,15 @@ }, // 图片预览 - // handlePreview() { - // let that = this; - // if (this.bankInfo && this.bankInfo.financial_account.financial_img) { - // uni.previewImage({ - // urls: that.bankInfo.financial_account.financial_img.split(','), - // current: 0 - // }) - // } - // }, + handlePreview() { + let that = this; + if (this.bankInfo && this.bankInfo.financial_account.financial_img) { + uni.previewImage({ + urls: that.bankInfo.financial_account.financial_img.split(','), + current: 0 + }) + } + }, // 添加账户 handleToAdd() { diff --git a/pages/withdrawal/progress.vue b/pages/withdrawal/progress.vue index fb73deb..6d91621 100644 --- a/pages/withdrawal/progress.vue +++ b/pages/withdrawal/progress.vue @@ -17,7 +17,7 @@ - + @@ -29,7 +29,7 @@ - + diff --git a/static/images/fb2.png b/static/images/fb2.png index a9534065e79c604528fc2cdb79dba242eae84170..aca4a5300da83738779881b1ff60454ecf826d14 100644 GIT binary patch delta 1028 zcmV+f1pE8n2#pAk7k?%Q1^@s6s6FYf00001b5ch_0Itp)=>Px&$4Nv%R9HvNSV3zO zK@@&(8u2cIQUx0@*+?&z(ne2B4=U(QJPJ(@_Tb4sAZ_sncv25NG{vI_PkPWpcb+^LzLp(TyEtHD0D?~I0h?Qa13BU-j;d;%Ltm`rX z3jhHu^u3aGZ=GFcfL36FGV1l#Q#|BH)CnX3wZT7DulmT?yp3Wbuu|zpg*e~TeKrED z3NUVayJm7<5PyfgUWFr@L!he0PJml<-L1OejO1$*C;@1gIEi+Sl7#@4mD7yWCOl>U zW&OIWK^KHZ$U;bW_-OZ*fb|#dO9v6vTkY-ntcR!B8N8Q>ISH6knAwzqcEq6K)M}E- zZ+XppWHSI(D$G;~aXs$hxS`Gylan{kb-Vm7a6SzTFMkI%oPGdfJGmTtzqj}Kk1aV= zT9IfmN~i%ar#LGp9B|)HXKlt5i__;3a;pIJ*iIe3BO?a&z*AXy^wlR6DPv4j9o=U(!{MW(j`}>Wb>MseeF*c7Xjqw1CZ{QTm zFVbTwCE@_rT(7aDTB)^DU_cdZ%WEczZjgPQ-tVJOm{^0IORd)KLHxarPLyhwp>8=& z`5_R!9tAK0TJpT@HFYl)2gU>66kkqZ<~blf8Gi*ZAb8bkHxp$>Dek@imKykuGy4Vz z9*hDQ0=#v-=KYieIJLk)q7qCob^=r?N$AVL4Xn<=(eYHwS1cxZ2-W< zjDL0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7SJ(bb96FzIs5VC#>~id+BV~5FOLM( dXtgekcLr(s%Yx}q$(aBE002ovPDHLkV1oAP0wDkZ diff --git a/static/images/fb21.png b/static/images/fb21.png new file mode 100644 index 0000000000000000000000000000000000000000..a9534065e79c604528fc2cdb79dba242eae84170 GIT binary patch literal 1119 zcmV-l1fctgP)Px(8A(JzR9Hv7m|Lh-RTPFlGo&IdE7G#aO3fY&GKn(s5@l9|X^7^d<%?ZJp$F5n zjKmviA_VpzLWx8{C1QeNX{9JZT82eh5N2gw$h?=ycbHRVleO1gOSg@;bN0CWYmI;0 zRy*oTJKzrBUf?d^R-ij@6>tS`0QeR70oV>~0@ea2>x42$RWbMrz*9iiszyQY6tEJQ z3v8}pTLoBOUo#y7SCkf5o&4#SuRP{l9;6~zlWM_!7L0}Hli;{n~ zRYi#t=Ucy;z+MBUmDsEab2X}L6WE_X#~Q#s3;nGQwr0TI1D;GAZWfqb-KG|0Au#cO zPG#QDRtju2Ff;-3A@D>Aurv(kOinrRqxc5hy)cfzVF-lT~y_En-raI zoq=`XwdRgp>O9}xZqhJQJ7ajoOZ2pfMjelwN5V33)~?aPdnK?u7!;+?bME~>UODkC za41ofL!M&~hb7RDEk)ue8WZOAe||6fMBtv}=K((xq+PicJTqldLr%4wYq?bUsB%+q zFuE0p0!@729cBKi0E_l^cDD}Oir>QO%EzI2T(g@UIfdkJ7SJ(bb96FzIs5VC#>~id l+BV~5FOLM(XtgekcLr(s%Yx}q$(aBE002ovPDHLkV1kui{;B`~ literal 0 HcmV?d00001