no message
Showing
2 changed files
with
23 additions
and
24 deletions
... | @@ -13,17 +13,16 @@ Page({ | ... | @@ -13,17 +13,16 @@ Page({ |
13 | }) | 13 | }) |
14 | }, | 14 | }, |
15 | onLoad(options) { | 15 | onLoad(options) { |
16 | // this.initData(); | 16 | // app.post({ |
17 | }, | 17 | // url: app.api.member, |
18 | initData() { | 18 | // data: {} |
19 | // app.queryIndex({ | ||
20 | // auth: false | ||
21 | // }).then((result) => { | 19 | // }).then((result) => { |
22 | // this.setData({ | 20 | // console.log("result:",result); |
23 | // indexInfo: app.globalData.indexInfo | 21 | // resolve(); |
24 | // }) | ||
25 | // }) | 22 | // }) |
26 | }, | 23 | }, |
24 | initData() { | ||
25 | }, | ||
27 | // 开始互动游戏 判断是否会员 | 26 | // 开始互动游戏 判断是否会员 |
28 | onStartHandler() { | 27 | onStartHandler() { |
29 | app.queryIndex({ | 28 | app.queryIndex({ | ... | ... |
... | @@ -2,7 +2,7 @@ import Poster from '../../miniprogram_dist/poster/poster'; | ... | @@ -2,7 +2,7 @@ import Poster from '../../miniprogram_dist/poster/poster'; |
2 | let app = getApp(); | 2 | let app = getApp(); |
3 | Page({ | 3 | Page({ |
4 | data: { | 4 | data: { |
5 | isOverShare: true, | 5 | // isOverShare: false, |
6 | imageUrl: "", // 海报图片 | 6 | imageUrl: "", // 海报图片 |
7 | wxShareTitle: "", // 分享标题 | 7 | wxShareTitle: "", // 分享标题 |
8 | wxCodePath: "", // 微信二维码参数地址,分享链接公用 | 8 | wxCodePath: "", // 微信二维码参数地址,分享链接公用 |
... | @@ -10,21 +10,21 @@ Page({ | ... | @@ -10,21 +10,21 @@ Page({ |
10 | wishList: [], | 10 | wishList: [], |
11 | }, | 11 | }, |
12 | onShareAppMessage() { | 12 | onShareAppMessage() { |
13 | if (res.from === 'button') { | 13 | // if (res.from === 'button') { |
14 | // 来自页面内转发按钮 | 14 | // // 来自页面内转发按钮 |
15 | console.log(res.target) | 15 | // console.log(res.target) |
16 | } | 16 | // } |
17 | let title = this.data.wxShareTitle; | 17 | // let title = this.data.wxShareTitle; |
18 | let path = this.data.wxCodePath; | 18 | // let path = this.data.wxCodePath; |
19 | let imageUrl = this.data.imageUrl; | 19 | // let imageUrl = this.data.imageUrl; |
20 | console.log("title:", title); | 20 | // console.log("title:", title); |
21 | console.log("path:", path); | 21 | // console.log("path:", path); |
22 | console.log("imageUrl:", imageUrl); | 22 | // console.log("imageUrl:", imageUrl); |
23 | return { | 23 | // return { |
24 | title, | 24 | // title, |
25 | path, | 25 | // path, |
26 | imageUrl | 26 | // imageUrl |
27 | } | 27 | // } |
28 | }, | 28 | }, |
29 | onLoad(options) { | 29 | onLoad(options) { |
30 | 30 | ... | ... |
-
Please register or sign in to post a comment