From 00b9d81fb82b0a2769873ead02ce78081875be99 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Wed, 19 Apr 2023 11:25:02 +0800 Subject: [PATCH] -- 多促销的优化 -- --- components/promate_pop/promate_pop.js | 2 +- components/promate_pop/promate_pop.wxss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- libgit2 0.21.4