[FIX]【建议书】建议书预览页面,左上角×

This commit is contained in:
yuweiqi
2020-05-23 20:54:17 +08:00
parent 8b92ffd12f
commit c15d450ce5

View File

@@ -393,22 +393,6 @@ export default {
next()
},
methods: {
appCallBack(data) {
if (data.trigger == 'left_button_click') {
this.$jump({
flag: 'h5',
extra: {
title: '建议书列表',
forbidSwipeBack: 1, //当前页面禁止右滑返回
url: location.origin + `/#/proposal/list`
},
routerInfo: {
path: `/proposal/list`,
type: '1'
}
})
}
},
initDutyColor(code) {
if (code) {
return code.replace(new RegExp('<span>', 'g'), '<span style="color: #3a81f6;font-weight: 600;">')
@@ -512,6 +496,7 @@ export default {
//app回调
appCallBack(data) {
if (data.trigger == 'right_button_click') {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('bridge', {
flag: 'share',
extra: {
@@ -523,8 +508,23 @@ export default {
}
})
}
if (data.trigger == 'left_button_click') {
this.$jump({
flag: 'h5',
extra: {
title: '建议书列表',
forbidSwipeBack: 1, //当前页面禁止右滑返回
url: location.origin + `/#/proposal/list`
},
routerInfo: {
path: `/proposal/list`,
type: '1'
}
})
}
},
sharePeople() {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('bridge', {
flag: 'share',
extra: {