From 26fb0b3e76f52212a2cef49a0bc0b94e7425880c Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 29 七月 2024 10:55:10 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_jiaxuan/pages/auth/auth.js | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/wechat_jiaxuan/pages/auth/auth.js b/wechat_jiaxuan/pages/auth/auth.js
index e95273d..e15e1e1 100644
--- a/wechat_jiaxuan/pages/auth/auth.js
+++ b/wechat_jiaxuan/pages/auth/auth.js
@@ -10,6 +10,7 @@
data: {
agreementFalg: false,
primary: '',
+ bottomLift: 0,
showModal: false,
serviceHtml: '',
@@ -18,6 +19,10 @@
activeHtml: ''
},
initData(){
+ var app = getApp().globalData
+ this.setData({
+ bottomLift: app.bottomLift
+ })
getDictData({
code: 'ZBOM_CUSTOMIZED',
label: 'SERVER_AGREEMENT'
@@ -34,6 +39,11 @@
privacyHtml: res.data.code
})
})
+ },
+ handleJudge(e) {
+ const flag = e.currentTarget.dataset.flag
+ console.log(e);
+ this.setData({ agreementFalg: flag, showModal: false })
},
loginIn() {
const { agreementFalg } = this.data
@@ -58,9 +68,7 @@
}).then((res) => {
if(res.code == 200){
wx.setStorageSync('member', res.data)
- wx.switchTab({
- url: '/pages/index/index',
- })
+ wx.navigateBack()
}
})
})
--
Gitblit v1.9.3