mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 19:06:43 +08:00
【建议书】建议书预览页面,左上角×返回建议书列表页
This commit is contained in:
@@ -111,11 +111,26 @@ export default {
|
||||
},
|
||||
created() {
|
||||
// document.body.style.backgroundColor = '#F5F5F5'
|
||||
setTimeout(() => {
|
||||
// eslint-disable-next-line no-undef
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
}, 100)
|
||||
window.appCallBack = this.appCallBack
|
||||
},
|
||||
mounted() {
|
||||
this.loadMore()
|
||||
},
|
||||
methods: {
|
||||
appCallBack(data) {
|
||||
if (data.trigger == 'left_button_click') {
|
||||
this.$jump({
|
||||
flag: 'home',
|
||||
extra: {}
|
||||
})
|
||||
}
|
||||
},
|
||||
//获取建议书列表
|
||||
getProposalList(tabType, pageInfo) {
|
||||
let status = '0' + tabType
|
||||
|
||||
@@ -514,7 +514,6 @@ export default {
|
||||
extra: {
|
||||
title: '建议书列表',
|
||||
forbidSwipeBack: 1, //当前页面禁止右滑返回
|
||||
backToFirst: 1,
|
||||
url: location.origin + `/#/proposal/list`
|
||||
},
|
||||
routerInfo: {
|
||||
|
||||
Reference in New Issue
Block a user