diff --git a/v1_5_0_C/couponCollection.html b/v1_5_0_C/couponCollection.html index 6091c83..5b6d505 100644 --- a/v1_5_0_C/couponCollection.html +++ b/v1_5_0_C/couponCollection.html @@ -241,7 +241,7 @@ + @backFunction="backFunctionPop"> diff --git a/v1_5_0_C/exchange.html b/v1_5_0_C/exchange.html index 9cdea47..cb14fa3 100644 --- a/v1_5_0_C/exchange.html +++ b/v1_5_0_C/exchange.html @@ -23,7 +23,7 @@
+ @backFunction="backFunctionPop">
@@ -218,7 +218,7 @@ document.title = sessionStorage.getItem('title'); let detailsConfig = JSON.parse(sessionStorage.getItem('product_detail')); goodsCount = sessionStorage.getItem('goodsCount'); - this.backAble = goodsCount > 1;//多个商品才有返回 + this.backAble = true;//多个商品才有返回 this.bgcolor = detailsConfig.button_color; this.ftColor = detailsConfig.font_color; this.describe = detailsConfig.describe; @@ -255,11 +255,11 @@ }, backHandler () { - if (goodsCount > 1) { - window.location.replace('./couponCollection.html'); - } else { - history.go(-2); - } + // if (goodsCount > 1) { + window.location.replace('./myOrder.html'); + // } else { + // history.go(-2); + // } }, // 单条弹框 diff --git a/v1_5_0_C/modelPop.js b/v1_5_0_C/modelPop.js index 6103dab..6081d6d 100644 --- a/v1_5_0_C/modelPop.js +++ b/v1_5_0_C/modelPop.js @@ -45,7 +45,7 @@ const modelPop = { colesFunction(type) { /* type 关闭方式 */ this.$emit("update:show", false) - this.$emit("back_function", type) + this.$emit("backfunction", type) } } }