...
|
...
|
@@ -53,7 +53,7 @@ const ACTION_BAR_STATUS = { |
|
|
END: 6, // 活动结束
|
|
|
}
|
|
|
|
|
|
let app;
|
|
|
let app = getApp();
|
|
|
|
|
|
Page(Object.assign({
|
|
|
|
...
|
...
|
@@ -65,7 +65,7 @@ Page(Object.assign({ |
|
|
show: false,
|
|
|
showAuth: false,
|
|
|
actPrizeId: '',
|
|
|
shareUid: '',
|
|
|
shareUid: 0,
|
|
|
scene: '',
|
|
|
participantCount: 0,
|
|
|
myPrizeCount: 0,
|
...
|
...
|
@@ -162,8 +162,7 @@ Page(Object.assign({ |
|
|
});
|
|
|
setTimeout(() => {
|
|
|
app = app || getApp();
|
|
|
let uid = app.globalData.userInfo.uid > 0 ? app.globalData.userInfo.uid : 0;
|
|
|
|
|
|
let uid = app.getUid();
|
|
|
this.setData({
|
|
|
hasUnionID: app.globalData.WXUnion_ID !== null && app.globalData.WXUnion_ID !== '' && app.globalData.WXUnion_ID !== undefined ? true : false,
|
|
|
isLogin: app.isLogin(),
|
...
|
...
|
@@ -461,14 +460,14 @@ Page(Object.assign({ |
|
|
if (this.data.bannerUrl == null) {
|
|
|
return;
|
|
|
}
|
|
|
jumpByUrl(that.data.bannerUrl);
|
|
|
jumpByUrl(this.data.bannerUrl);
|
|
|
},
|
|
|
_getDetailBanner() {
|
|
|
let commonService = this.commonService;
|
|
|
commonService.getResourceCode('ccc32dbedf164a52b4efa34383878860')
|
|
|
.then(data => {
|
|
|
this.setData({
|
|
|
bannerSrc: formatImageUrl(data.src, 340 * app.globalData.systemInfo.pixelRatio, 340 * app.globalData.systemInfo.pixelRatio, 2),
|
|
|
bannerSrc: formatImageUrl(data.src, 750, 140, 2),
|
|
|
bannerUrl: data.url
|
|
|
})
|
|
|
})
|
...
|
...
|
|