| 1234567891011121314151617181920212223242526272829303132333435 |
- import common from '../../utils/util';
- import server from '../../utils/main';
- const app = getApp();
- Page({
- data: {
- },
- onLoad: function (options) {
- this.setData({
- Containnerheight: common.getSystemHeight(),
- ProgramList: server.getProgramList(),
- ProgramID:app.globalData.ProgramID,
- });
- },
- switchProgram: function (e) {
- wx.navigateToMiniProgram({
- appId: e.currentTarget.dataset.appid,
- path: e.currentTarget.dataset.path,
- extraData: {
- },
- success(res) {
- // 打开成功
- }
- });
- },
- onShareAppMessage: function () {
- return {
- title: app.globalData.ShareTitle,
- path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
- imageUrl: app.globalData.ShareImage,
- }
- },
- })
|