import common from '../../utils/util'; import main from '../../utils/main'; const app = getApp(); Page({ data: { IsShow: 0, }, onLoad: function (options) { var that = this; that.setData({ Containnerheight: main.getWindowHeight(), ProgramName: app.globalData.ProgramName, Version: app.globalData.Version, IsShow: app.globalData.userInfo.IsShow, }); }, updateMember: function () { wx.reLaunch({ url: '../index/index', }) }, gotoSymbol: function (e) { wx.navigateTo({ url: '../main/symbolsetting', }); }, gotoPayCustom:function(){ if (app.globalData.userInfo.UserID<=7){ wx.navigateTo({ url: '../other/paycustom', }); } }, onShareAppMessage: function () { return { title: app.globalData.ShareTitle, path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID, imageUrl: app.globalData.ShareImage, } }, })