|
|
@ -25,10 +25,11 @@ Page({ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
onLoad: function (options) { |
|
|
onLoad: function (options) { |
|
|
|
|
|
// 进入过首页 可以由分享进入页面
|
|
|
|
|
|
app.globalData.shareInState = 0; |
|
|
GetUserProfile(function (res) { |
|
|
GetUserProfile(function (res) { |
|
|
var shareURL = app.globalData.shareInPath; |
|
|
var shareURL = app.globalData.shareInPath; |
|
|
if (shareURL) { |
|
|
if (shareURL) { |
|
|
app.globalData.shareInState = 0, |
|
|
|
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: "../../" + shareURL, |
|
|
url: "../../" + shareURL, |
|
|
complete: function (res) { |
|
|
complete: function (res) { |
|
|
|