mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 16:06:44 +08:00
[NEW] 修改卡单支付页面微信样式,app端选择微信支付不校验银行卡字段
This commit is contained in:
@@ -221,6 +221,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
if (this.isWeixin) {
|
if (this.isWeixin) {
|
||||||
|
this.getOrderDetail()
|
||||||
this.radio = '3'
|
this.radio = '3'
|
||||||
this.isLoading = true
|
this.isLoading = true
|
||||||
}
|
}
|
||||||
@@ -238,8 +239,7 @@ export default {
|
|||||||
// this.underWrite.orderAmount = this.trialList[0].prem
|
// this.underWrite.orderAmount = this.trialList[0].prem
|
||||||
document.body.style.backgroundColor = '#fff'
|
document.body.style.backgroundColor = '#fff'
|
||||||
window.appCallBack = this.appCallBack
|
window.appCallBack = this.appCallBack
|
||||||
// 再次支付 调详情 获取信息
|
|
||||||
this.getOrderDetail()
|
|
||||||
// 不在微信环境下
|
// 不在微信环境下
|
||||||
if (!this.isWeixin) {
|
if (!this.isWeixin) {
|
||||||
// 获取银行卡
|
// 获取银行卡
|
||||||
@@ -251,7 +251,8 @@ export default {
|
|||||||
// this.underWrite()
|
// this.underWrite()
|
||||||
// this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
// this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
||||||
// } else {
|
// } else {
|
||||||
|
// 再次支付 调详情 获取信息
|
||||||
|
this.getOrderDetail()
|
||||||
// this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
// this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
||||||
// }
|
// }
|
||||||
// console.log('--自核结果--支付信息:', JSON.stringify(this.underWriteData))
|
// console.log('--自核结果--支付信息:', JSON.stringify(this.underWriteData))
|
||||||
@@ -461,12 +462,14 @@ export default {
|
|||||||
// })
|
// })
|
||||||
},
|
},
|
||||||
async pay() {
|
async pay() {
|
||||||
|
if (this.radio !== '3') {
|
||||||
let valid = await this.$validator.validate()
|
let valid = await this.$validator.validate()
|
||||||
console.log(valid)
|
console.log(valid)
|
||||||
if (true !== valid) {
|
if (true !== valid) {
|
||||||
console.log(this.$validator)
|
console.log(this.$validator)
|
||||||
return this.$toast(this.$validator.errors.all()[0])
|
return this.$toast(this.$validator.errors.all()[0])
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch (this.orderStatus) {
|
switch (this.orderStatus) {
|
||||||
case '56':
|
case '56':
|
||||||
@@ -661,10 +664,10 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
.vximg {
|
.vximg {
|
||||||
width: 25px;
|
width: 23px;
|
||||||
height: 25px;
|
height: 23px;
|
||||||
padding-left: 13px;
|
padding-left: 13px;
|
||||||
padding-right: 2px;
|
padding-right: 4px;
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user