| | |
| | | */ |
| | | data: { |
| | | bottomLift: 0, |
| | | isShow: true, |
| | | isShow: false, |
| | | userCard: '', |
| | | isShow2: false, |
| | | userInfo: {} |
| | |
| | | */ |
| | | onLoad(options) { |
| | | var app = getApp().globalData |
| | | var userType = options.userType |
| | | |
| | | var userType = options.userType || 1 |
| | | if (userType == 1) { |
| | | //如果查询自己的信息 |
| | | this.setData({ |
| | |
| | | } |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | }, |
| | | jumpUser() { |
| | | wx.navigateTo({ |
| | | url: '/pages/userinfo/index', |
| | | }) |
| | | }, |
| | | showQrcode() { |
| | |
| | | }) |
| | | } |
| | | }) |
| | | // wx.saveFile({ |
| | | // tempFilePath: res.tempFilePath, |
| | | // success: function (res) { |
| | | // console.log(res.savedFilePath) |
| | | // } |
| | | // }) |
| | | |
| | | } |
| | | }) |
| | | }, |