import common from '../../utils/util'; import main from '../../utils/main'; import constant from '../../utils/constant'; const app = getApp(); Page({ data: { ImagePath: app.globalData.uploadImageUrl, }, onLoad: function (options) { var that = this; var arr=options.ImageOtherStr.split(","); var title="校园风光·"+options.SchoolShortName; that.setData({ Containnerheight: main.getWindowHeight(), SchoolFullName:options.SchoolFullName, ImageOtherArr:arr, Title:title, ID:options.ID, }); wx.setNavigationBarTitle({ title: title, }); }, onShareTimeline: function () { return this.onShareAppMessage(); }, onShareAppMessage: function () { var that=this; var title=that.data.Title; return { title: title, path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID+'&type=school&ID='+that.data.ID, } }, })