From ace8fd7a9bddec19626c7ab754a9ffa958ba3601 Mon Sep 17 00:00:00 2001 From: wangmingzhe Date: Wed, 29 Apr 2020 09:51:23 +0800 Subject: [PATCH] =?UTF-8?q?[NEW]=20=E4=BF=AE=E6=94=B9=E5=8D=A1=E5=8D=95?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E9=A1=B5=E9=9D=A2=E5=BE=AE=E4=BF=A1=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8Capp=E7=AB=AF=E9=80=89=E6=8B=A9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98=E4=B8=8D=E6=A0=A1=E9=AA=8C=E9=93=B6?= =?UTF-8?q?=E8=A1=8C=E5=8D=A1=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/cardList/Pay.vue | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/views/ebiz/cardList/Pay.vue b/src/views/ebiz/cardList/Pay.vue index 5fad03e09..7edf6e9ff 100644 --- a/src/views/ebiz/cardList/Pay.vue +++ b/src/views/ebiz/cardList/Pay.vue @@ -221,6 +221,7 @@ export default { }, created() { if (this.isWeixin) { + this.getOrderDetail() this.radio = '3' this.isLoading = true } @@ -238,8 +239,7 @@ export default { // this.underWrite.orderAmount = this.trialList[0].prem document.body.style.backgroundColor = '#fff' window.appCallBack = this.appCallBack - // 再次支付 调详情 获取信息 - this.getOrderDetail() + // 不在微信环境下 if (!this.isWeixin) { // 获取银行卡 @@ -251,7 +251,8 @@ export default { // this.underWrite() // this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData')) // } else { - + // 再次支付 调详情 获取信息 + this.getOrderDetail() // this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData')) // } // console.log('--自核结果--支付信息:', JSON.stringify(this.underWriteData)) @@ -461,11 +462,13 @@ export default { // }) }, async pay() { - let valid = await this.$validator.validate() - console.log(valid) - if (true !== valid) { - console.log(this.$validator) - return this.$toast(this.$validator.errors.all()[0]) + if (this.radio !== '3') { + let valid = await this.$validator.validate() + console.log(valid) + if (true !== valid) { + console.log(this.$validator) + return this.$toast(this.$validator.errors.all()[0]) + } } switch (this.orderStatus) { @@ -661,10 +664,10 @@ export default { // } .vximg { - width: 25px; - height: 25px; + width: 23px; + height: 23px; padding-left: 13px; - padding-right: 2px; + padding-right: 4px; box-sizing: content-box; }