diff --git a/pages/order_addcart/order_addcart.vue b/pages/order_addcart/order_addcart.vue index 63f0efd..afb9719 100644 --- a/pages/order_addcart/order_addcart.vue +++ b/pages/order_addcart/order_addcart.vue @@ -1108,7 +1108,7 @@ } .shoppingCart .footer.on { // #ifndef H5 - bottom: 0rpx; + //bottom: 0rpx; // #endif } .shoppingCart .footer .checkAll { diff --git a/pages/users/order_confirm/index.vue b/pages/users/order_confirm/index.vue index 3731fe9..8cbf8a0 100644 --- a/pages/users/order_confirm/index.vue +++ b/pages/users/order_confirm/index.vue @@ -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(){