diff --git a/app.js b/app.js
index 170af3f..3429dbc 100644
--- a/app.js
+++ b/app.js
@@ -21,7 +21,7 @@ App({
unique_key: "wechatxcx"
}).then(res => {
let data = JSON.parse(res.data);
- data.isTest = data.isTest? true : false;
+ data.isTest = data.isTest155? true : false;
this.globalData.configJson = data
}).then(() => {
// 获取ui配置文件
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index ca9bc60..b405320 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -568,16 +568,7 @@
-
-
-
-
-
-
-
-
-
-
+
diff --git a/pages/user/logout/index.js b/pages/user/logout/index.js
index f2145fe..7b275a2 100644
--- a/pages/user/logout/index.js
+++ b/pages/user/logout/index.js
@@ -12,10 +12,10 @@ Page({
},
gotoLogoutNotice(){
- app.globalData.weburl = "https://m.cloud.sz-trip.com/LogoutNoticeApp"
wx.navigateTo({
- url: '/pages/pbService/web/index'
+ url: "/pages/pbService/web/index?weburl="+encodeURIComponent('https://m.cloud.sz-trip.com/LogoutNotice'),
})
+
},
changeCheck() {
@@ -35,21 +35,35 @@ Page({
})
return;
}
- common.user_post('uservice/user/user_logout', { protocol: that.data.protocol ? 1 : 0 }).then(res => {
- if (res) {
- wx.showToast({
- title: res.msg,
- icon: 'none'
- })
- if (res.code === 1) {
- setTimeout(() => {
- wx.switchTab({
- url: '/pages/user/user',
- })
- }, 400)
+
+ wx.showModal({
+ title: '提示',
+ content: '是否确认注销账号?',
+ success (res) {
+ if (res.confirm) {
+ common.user_post('uservice/user/user_logout', { protocol: that.data.protocol ? 1 : 0 }).then(res => {
+ if (res) {
+ wx.showToast({
+ title: res.msg,
+ icon: 'none'
+ })
+ if (res.code === 1) {
+ setTimeout(() => {
+ wx.switchTab({
+ url: '/pages/user/user',
+ })
+ }, 400)
+ }
+ }
+ })
+
+ }
+
}
- }
})
+
+
+
},
/**
diff --git a/pages/user/logout/index.wxml b/pages/user/logout/index.wxml
index 2b66239..e4858b3 100644
--- a/pages/user/logout/index.wxml
+++ b/pages/user/logout/index.wxml
@@ -9,6 +9,15 @@
2.账号无未完成订单
账号无未核销、未支付、待退款等状态的订单。
+
+
+ 3.上述账号留存的信息、权益将被清空且无法找回
+ · 银行卡的快捷支付(含卡通)服务
+ · 使用各产品/服务时留存的其他信息
+ · 身份信息,如个人资料、实名认证信息等账号资产及权益,如各产品/服务的会员及权益、优惠券等
+ · 业务订单及交易记录,请确保所有交易已完结且无纠纷账号注销后的因历史交易可能产生的资金退回等权益视作自动放弃
+
+