import common from '../../utils/util'; import server from '../../utils/main'; const app = getApp(); Page({ data: { }, onLoad: function (options) { var text1= "请确认购买记录"; var text2 = "查看我的订单"; if (options && options.type=="all"){ text1 = "套装产品必须逐个激活"; text2 = "赶紧去激活"; wx.setStorageSync("IsShowActivty", true); } this.setData({ Height: common.getSystemHeight(), Text1:text1, Text2:text2, OrderType: options.type, }); }, onUnload: function () { wx.reLaunch({ url: '../main/index' }); }, deblocking: function () { wx.reLaunch({ url: '../index/index' }); }, gotoPayList: function () { wx.navigateTo({ url: '../about/paylist?type=finished', }); }, gotoNewUserList: function () { wx.navigateTo({ url: '../about/newuserlist', }); }, onShareAppMessage: function () { return { title: app.globalData.ShareTitle, path: 'pages/index/index?UserID=' + app.globalData.userInfo.UserID, imageUrl: '../../images/07001.png', } }, })