diff --git a/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js b/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js index 61a160b..1a85c7d 100644 --- a/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js +++ b/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js @@ -499,6 +499,9 @@ Page({ console.log('calculatePrice2'); var th = this, good = this.data.bn_goods; + + th.setData({is_show_sub:0}); + //-----------计算商品总价-------------- var allpice = th.data.param.goods_price; allpice = parseFloat(allpice).toFixed(2); diff --git a/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.wxml b/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.wxml index de02a90..256b028 100644 --- a/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.wxml +++ b/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.wxml @@ -2,6 +2,7 @@
+ - + --> - + + - + diff --git a/pages/cart/cart2_inte/cart2_inte.wxml b/pages/cart/cart2_inte/cart2_inte.wxml index 243a2df..d15e6fd 100644 --- a/pages/cart/cart2_inte/cart2_inte.wxml +++ b/pages/cart/cart2_inte/cart2_inte.wxml @@ -5,7 +5,7 @@ - + diff --git a/pages/cart/cart2_pt/cart2_pt.js b/pages/cart/cart2_pt/cart2_pt.js index 6daa8f5..bc626e4 100644 --- a/pages/cart/cart2_pt/cart2_pt.js +++ b/pages/cart/cart2_pt/cart2_pt.js @@ -62,7 +62,8 @@ Page({ rank_switch: 0, //是不是开同等级卡 show_card: null, //显示的等级卡 card_name: '', //显示的卡的名称 - card_cut_price: null,//减价多少钱 + card_cut_price: null,//减价多少钱 + show_btn:0, }, onLoad: function (t) { console.log("onLoad_pt_cart"); @@ -536,14 +537,14 @@ Page({ //--------------如果使用余额--------------------- if (th.data.bn_use_money == 1 && th.data.yuer > 0) { if (parseFloat(th.data.yuer) > total_m) { - th.setData({ [txt]: total_m, [txt2]: 0,submit:0 }) + th.setData({ [txt]: total_m, [txt2]: 0,submit:0,show_btn:1 }) } else { order_m = parseFloat(order_m) - parseFloat(th.data.yuer); order_m = order_m.toFixed(2); - th.setData({ [txt]: th.data.yuer, [txt2]: order_m,submit:0 }) + th.setData({ [txt]: th.data.yuer, [txt2]: order_m,submit:0,show_btn:1 }) } } else { - th.setData({ [txt]: 0, [txt2]: order_m,submit:0 }) + th.setData({ [txt]: 0, [txt2]: order_m,submit:0,show_btn:1 }) } wx.hideLoading(); diff --git a/pages/cart/cart2_pt/cart2_pt.wxml b/pages/cart/cart2_pt/cart2_pt.wxml index f2335b4..bc99ba8 100644 --- a/pages/cart/cart2_pt/cart2_pt.wxml +++ b/pages/cart/cart2_pt/cart2_pt.wxml @@ -2,6 +2,7 @@ + - + - + 应付金额:¥{{formData.order_amount}}