Commit 00b9d81fb82b0a2769873ead02ce78081875be99

Authored by yvan.ni
1 parent 75f749f4

-- 多促销的优化 --

components/promate_pop/promate_pop.js
@@ -24,7 +24,7 @@ Component({ @@ -24,7 +24,7 @@ Component({
24 }, 24 },
25 25
26 /*----pop的开关,如果按钮是‘确定’,就要返回参数给父层组件---*/ 26 /*----pop的开关,如果按钮是‘确定’,就要返回参数给父层组件---*/
27 - close_pro_pop: async function (event) { 27 + close_pro_pop: async function (e) {
28 this.setData({pro_pop: 0}); 28 this.setData({pro_pop: 0});
29 if(!this.data.type) return false; 29 if(!this.data.type) return false;
30 var idx=this.data.cx_prom_group.findIndex(function (e){ 30 var idx=this.data.cx_prom_group.findIndex(function (e){
components/promate_pop/promate_pop.wxss
@@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
7 border-top-right-radius: 10rpx; 7 border-top-right-radius: 10rpx;
8 position: fixed; 8 position: fixed;
9 bottom: 0; 9 bottom: 0;
  10 + left:0
10 } 11 }
11 .cx-popup.cart_show{ 12 .cx-popup.cart_show{
12 bottom:100rpx 13 bottom:100rpx