fix: 增加返回按钮
This commit is contained in:
parent
967361aa8c
commit
96a1710675
|
@ -18,8 +18,8 @@
|
|||
|
||||
<body>
|
||||
<div id="ysf">
|
||||
<!-- <img @click="backGoodsFn" v-if="!isMini" class="backIcon"
|
||||
src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png" alt=""> -->
|
||||
<img @click="backGoodsFn" v-if="!isMini" class="backIcon"
|
||||
src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png" alt="">
|
||||
<div class="prompt" :class="promptShow?'proactive':''">
|
||||
{{prompt_text}}
|
||||
</div>
|
||||
|
@ -148,10 +148,6 @@
|
|||
}
|
||||
},
|
||||
mounted() {
|
||||
window.addEventListener('popstate', function (event) {
|
||||
history.go(-2); // 监听返回按钮 直接关闭按钮
|
||||
});
|
||||
|
||||
document.title = localStorage.getItem('title');
|
||||
/* 判断是否是微信小程序内 */
|
||||
let ua = window.navigator.userAgent.toLowerCase();
|
||||
|
|
Loading…
Reference in New Issue