fix:修改所有提示框回调为驼峰命名
This commit is contained in:
parent
053c5c3483
commit
cf6ac8cddf
|
@ -241,7 +241,7 @@
|
||||||
|
|
||||||
<!-- 弹出提示 -->
|
<!-- 弹出提示 -->
|
||||||
<model-pop :show.sync="popShow" :title="popTitle" :status="popStatus" :text="popText"
|
<model-pop :show.sync="popShow" :title="popTitle" :status="popStatus" :text="popText"
|
||||||
@back_function="backFunctionPop"></model-pop>
|
@backFunction="backFunctionPop"></model-pop>
|
||||||
<!-- tab -->
|
<!-- tab -->
|
||||||
<tab-component v-if="!suspension" :current="1" />
|
<tab-component v-if="!suspension" :current="1" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<div id="exchangePage">
|
<div id="exchangePage">
|
||||||
<!-- 时提框 -->
|
<!-- 时提框 -->
|
||||||
<model-pop :show.sync="popShow" :title="popTitle" :status="popStatus" :text="popText"
|
<model-pop :show.sync="popShow" :title="popTitle" :status="popStatus" :text="popText"
|
||||||
@back_function="backFunctionPop"></model-pop>
|
@backFunction="backFunctionPop"></model-pop>
|
||||||
|
|
||||||
<div v-if="!suspension" class="content">
|
<div v-if="!suspension" class="content">
|
||||||
<!-- 返回模块-->
|
<!-- 返回模块-->
|
||||||
|
@ -218,7 +218,7 @@
|
||||||
document.title = sessionStorage.getItem('title');
|
document.title = sessionStorage.getItem('title');
|
||||||
let detailsConfig = JSON.parse(sessionStorage.getItem('product_detail'));
|
let detailsConfig = JSON.parse(sessionStorage.getItem('product_detail'));
|
||||||
goodsCount = sessionStorage.getItem('goodsCount');
|
goodsCount = sessionStorage.getItem('goodsCount');
|
||||||
this.backAble = goodsCount > 1;//多个商品才有返回
|
this.backAble = true;//多个商品才有返回
|
||||||
this.bgcolor = detailsConfig.button_color;
|
this.bgcolor = detailsConfig.button_color;
|
||||||
this.ftColor = detailsConfig.font_color;
|
this.ftColor = detailsConfig.font_color;
|
||||||
this.describe = detailsConfig.describe;
|
this.describe = detailsConfig.describe;
|
||||||
|
@ -255,11 +255,11 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
backHandler () {
|
backHandler () {
|
||||||
if (goodsCount > 1) {
|
// if (goodsCount > 1) {
|
||||||
window.location.replace('./couponCollection.html');
|
window.location.replace('./myOrder.html');
|
||||||
} else {
|
// } else {
|
||||||
history.go(-2);
|
// history.go(-2);
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
|
|
||||||
// 单条弹框
|
// 单条弹框
|
||||||
|
|
|
@ -45,7 +45,7 @@ const modelPop = {
|
||||||
colesFunction(type) {
|
colesFunction(type) {
|
||||||
/* type 关闭方式 */
|
/* type 关闭方式 */
|
||||||
this.$emit("update:show", false)
|
this.$emit("update:show", false)
|
||||||
this.$emit("back_function", type)
|
this.$emit("backfunction", type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue