mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 14:06:45 +08:00
[FIX]电投优化-电投告知页-拦截原生返回事件
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="notifyingMessage-container">
|
<div class="notifyingMessage-container">
|
||||||
<div class="pb50">
|
<div class="pb50">
|
||||||
<div class=" allFalse">
|
<div class=" allFalse">
|
||||||
<div style="background-color: rgb(245, 245, 245);padding-bottom:10px">
|
<div style="background-color: rgb(245, 245, 245);padding-bottom:5px">
|
||||||
<index-bar></index-bar>
|
<index-bar></index-bar>
|
||||||
</div>
|
</div>
|
||||||
<div class="pt20 pb20 pr10 bg-white flex justify-content-s align-items-c">
|
<div class="pt20 pb20 pr10 bg-white flex justify-content-s align-items-c">
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="pt80">
|
<div style="padding-top:120px">
|
||||||
<div v-for="(im, indx) in impartDTOS" :key="indx">
|
<div v-for="(im, indx) in impartDTOS" :key="indx">
|
||||||
<van-collapse v-model="activeNames">
|
<van-collapse v-model="activeNames">
|
||||||
<van-collapse-item :name="indx + 1">
|
<van-collapse-item :name="indx + 1">
|
||||||
@@ -229,10 +229,13 @@ export default {
|
|||||||
//this.information()
|
//this.information()
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
setTimeout(() => {
|
||||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||||
img: this.$assetsUrl + 'images/del-close@3x.png',
|
img: this.$assetsUrl + 'images/del-close@3x.png',
|
||||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||||
})
|
})
|
||||||
|
}, 100)
|
||||||
|
window.appCallBack = this.appCallBack
|
||||||
document.body.style.backgroundColor = '#F5F5F5'
|
document.body.style.backgroundColor = '#F5F5F5'
|
||||||
if (!this.$route.query.edit) {
|
if (!this.$route.query.edit) {
|
||||||
//如果不是编辑/导航条跳转进来的
|
//如果不是编辑/导航条跳转进来的
|
||||||
|
|||||||
Reference in New Issue
Block a user