| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import common from '../../utils/util';
- import main from '../../utils/main';
- const app = getApp();
- Page({
- data: {
- },
- onLoad: function (options) {
- if (options && options.UserID){
- app.globalData.userInfo={};
- app.globalData.userInfo.UserID=options.UserID;
- }
- this.setData({
- Containnerheight: main.getWindowHeight(),
- });
- },
- gogoExtendUser: function(e){
- wx.navigateTo({
- url: './extenduser?PageType='+e.currentTarget.dataset.id,
- });
- },
- gogoShareUser: function () {
- wx.navigateTo({
- url: './shareuser',
- });
- },
- gotoWeb:function(){
- wx.navigateTo({
- url: '../../pages/other/webview?PageID=7',
- });
- },
- onShareAppMessage: function () {
- return {
- title: app.globalData.ShareTitle,
- path: app.globalData.SharePath + '?type=marketing&UserID=' + app.globalData.userInfo.UserID,
- imageUrl: app.globalData.uploadImageUrl+"web/program_screenshot_promotion.png",
- }
- },
- });
|