mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 05:46:44 +08:00
[NEW] 修改卡单支付页面微信样式,app端选择微信支付不校验银行卡字段
This commit is contained in:
@@ -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;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user