| | |
| | | }, 1000) |
| | | }) |
| | | }, |
| | | handleJudge(e) { |
| | | const flag = e.currentTarget.dataset.flag |
| | | console.log(e); |
| | | this.setData({ agreementFalg: flag, showModal: false }) |
| | | }, |
| | | loginPhone() { |
| | | const { |
| | | code, |
| | |
| | | onLoad(options) { |
| | | var app = getApp().globalData |
| | | this.setData({ |
| | | primary: app.primary |
| | | primary: app.primary, |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | this.initData() |
| | | }, |
| | |
| | | getWxMiniPhone({ |
| | | encryptedData: data.encryptedData, |
| | | iv: data.iv, |
| | | sessionKey: wx.getStorageSync('sessionKey') || data.iv, |
| | | sessionKey: wx.getStorageSync('sessionKey'), |
| | | }).then(res => { |
| | | if (res.data && res.data.token) { |
| | | wx.login({ |