修复:购物车结算按钮可能不显示的问题

优化:商户积分和平台积分同一个支付订单中只能使用一种
This commit is contained in:
wuhui_zzw 2023-11-14 10:14:21 +08:00
parent af9da1d774
commit cc48696d67
2 changed files with 13 additions and 7 deletions

View File

@ -1108,7 +1108,7 @@
}
.shoppingCart .footer.on {
// #ifndef H5
bottom: 0rpx;
//bottom: 0rpx;
// #endif
}
.shoppingCart .footer .checkAll {

View File

@ -658,10 +658,8 @@
this.payMode[2].payStatus = n
}
},
onReady() {
},
mounted: function() {
},
onReady() {},
mounted: function() {},
onLoad: function(options) {
this.seckillId = options.seckillId
// #ifdef H5
@ -747,8 +745,16 @@
changeIntegral: function(type) {
console.log("--------- 变更类型 ---------------",type);
// this.use_integral = !this.use_integral;
if(type === 'mer') this.use_mer_integral = !this.use_mer_integral;
if(type === 'platform') this.use_platform_integral = !this.use_platform_integral;
if(type === 'mer') {
this.use_mer_integral = !this.use_mer_integral;
//
if(this.use_mer_integral) this.use_platform_integral = false;
}
if(type === 'platform') {
this.use_platform_integral = !this.use_platform_integral;
//
if(this.use_platform_integral) this.use_mer_integral = false;
}
this.getConfirm(this.addressId);
},
showPresellAgree(){