diff --git a/src/views/ebiz/cardList/Pay.vue b/src/views/ebiz/cardList/Pay.vue
index d2d996990..f138b00cf 100644
--- a/src/views/ebiz/cardList/Pay.vue
+++ b/src/views/ebiz/cardList/Pay.vue
@@ -183,6 +183,16 @@ export default {
payStatus: '' // 接口返回的支付状态
}
},
+ created() {
+ setTimeout(() => {
+ // eslint-disable-next-line no-undef
+ EWebBridge.webCallAppInJs('webview_left_button', {
+ img: this.$assetsUrl + 'images/del-close-btn@3x.png',
+ intercept: '1' //是否拦截原生返回事件 1是 其他否
+ })
+ }, 100)
+ window.appCallBack = this.appCallBack
+ },
mounted() {
// console.log('trialList', this.trialList[0].prem)
// this.underWrite.orderAmount = this.trialList[0].prem
@@ -204,6 +214,35 @@ export default {
// console.log('--自核结果--支付信息:', JSON.stringify(this.underWriteData))
},
methods: {
+ appCallBack(data) {
+ if (data.trigger == 'left_button_click') {
+ return this.$dialog
+ .confirm({
+ className: 'dialog-delete',
+ title: '提示',
+ message: '是否确认退出?',
+ cancelButtonColor: '#E9332E',
+ confirmButtonColor: '#FFFFFF'
+ })
+ .then(() => {
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ title: '产品列表',
+ forbidSwipeBack: 1, //当前页面禁止右滑返回
+ url: location.origin + `/#/cardList/CardTotreasure`
+ },
+ routerInfo: {
+ path: `/cardList/CardTotreasure`,
+ type: '1'
+ }
+ })
+ })
+ .catch(() => {
+ return
+ })
+ }
+ },
//获取银行卡扫描信息
getBankCardInfo(data) {
this.underWriteData.bankCode = data.name
diff --git a/src/views/ebiz/cardList/information.vue b/src/views/ebiz/cardList/information.vue
index 95c4b6b0f..bf1d678a4 100644
--- a/src/views/ebiz/cardList/information.vue
+++ b/src/views/ebiz/cardList/information.vue
@@ -14,20 +14,6 @@
@nameChange="nameChange"
@on-click="selectClick('1', '0')"
>
-
-
-
证件扫描
+
+
+
-
+