diff --git a/components/promate_pop/promate_pop.js b/components/promate_pop/promate_pop.js index 18dc40f..f596831 100644 --- a/components/promate_pop/promate_pop.js +++ b/components/promate_pop/promate_pop.js @@ -24,7 +24,7 @@ Component({ }, /*----pop的开关,如果按钮是‘确定’,就要返回参数给父层组件---*/ - close_pro_pop: async function (event) { + close_pro_pop: async function (e) { this.setData({pro_pop: 0}); if(!this.data.type) return false; var idx=this.data.cx_prom_group.findIndex(function (e){ diff --git a/components/promate_pop/promate_pop.wxss b/components/promate_pop/promate_pop.wxss index 99dc64c..17a64da 100644 --- a/components/promate_pop/promate_pop.wxss +++ b/components/promate_pop/promate_pop.wxss @@ -7,6 +7,7 @@ border-top-right-radius: 10rpx; position: fixed; bottom: 0; + left:0 } .cx-popup.cart_show{ bottom:100rpx