Commit 58777cc2 authored by zhangjinzhou's avatar zhangjinzhou

Merge branch 'jiaoneiqunuan' of gitlab2.dui88.com:wanghongyuan/new_taobao into jiaoneiqunuan

parents 1f68c6eb 192f0340
...@@ -21,7 +21,7 @@ App({ ...@@ -21,7 +21,7 @@ App({
// backgroundColor: '#000000', // backgroundColor: '#000000',
// }); // });
}, },
onShow(options) { onShow(options) {
// 从后台被 scheme 重新打开 // 从后台被 scheme 重新打开
console.log('执行了app onshow') console.log('执行了app onshow')
}, },
......
...@@ -13,10 +13,10 @@ const { ...@@ -13,10 +13,10 @@ const {
getSystemInfo getSystemInfo
} = tbcc.tb } = tbcc.tb
Component({ Component({
canDoHelp:true,
props: {}, props: {},
data: { data: {
resList: resList resList: resList,
canDoHelp:true
}, },
methods: { methods: {
openInviteFailedModal() { openInviteFailedModal() {
...@@ -34,8 +34,9 @@ Component({ ...@@ -34,8 +34,9 @@ Component({
}, },
/**助力 */ /**助力 */
async doHelp() { async doHelp() {
if(!this.canDoHelp) return; console.log("助力",this.data.canDoHelp);
this.canDoHelp = false; if(!this.data.canDoHelp) return;
this.data.canDoHelp = false;
my.showLoading(); my.showLoading();
const { const {
success, success,
...@@ -48,16 +49,16 @@ Component({ ...@@ -48,16 +49,16 @@ Component({
if (r.data && !r.data.isVip) { if (r.data && !r.data.isVip) {
my.hideLoading(); my.hideLoading();
commonToast("3s入会,即可为好友助力", 1500, () => { commonToast("3s入会,即可为好友助力", 1500, () => {
this.canDoHelp = true; this.data.canDoHelp = true;
app.isGoVip = true; app.isGoVip = true;
navigateToOutside(r.data.url); navigateToOutside(r.data.url);
}) })
} else if (r.data && r.data.isVip) { } else if (r.data && r.data.isVip) {
this.canDoHelp = true; this.data.canDoHelp = true;
my.hideLoading(); my.hideLoading();
this.openInviteFailedModal(); this.openInviteFailedModal();
} else { } else {
this.canDoHelp = true; this.data.canDoHelp = true;
my.hideLoading(); my.hideLoading();
const { const {
onCloseModal onCloseModal
...@@ -68,7 +69,7 @@ Component({ ...@@ -68,7 +69,7 @@ Component({
}) || {}; }) || {};
console.log("hhahahha") console.log("hhahahha")
if (success) { if (success) {
this.canDoHelp = true; this.data.canDoHelp = true;
this.openInviteSuccessModal(); this.openInviteSuccessModal();
} }
my.hideLoading(); my.hideLoading();
......
...@@ -250,8 +250,8 @@ ...@@ -250,8 +250,8 @@
color: #000000; color: #000000;
} }
.pageindex .rule { .pageindex .rule {
width: 38rpx; width: 42rpx;
height: 131rpx; height: 135rpx;
opacity: 1; opacity: 1;
top: 130rpx; top: 130rpx;
position: absolute; position: absolute;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</canvas> </canvas>
</view> </view>
<view class="sai_duan "> <view class="sai_duan ">
<label class="battle7Label " a:if="{{unLock7Times>0&&curGameStep<3}}">累计{{unLock7Times}}局胜场开启</label> <label class="battle7Label " a:if="{{unLock7Times>0&&curGameStep<3}}">5系获胜{{unLock7Times}}局开启</label>
<label class="battle5Label " a:if="{{unLock5Times>0&&curGameStep<2}}">累计{{unLock5Times}}局胜场开启</label> <label class="battle5Label " a:if="{{unLock5Times>0&&curGameStep<2}}">累计{{unLock5Times}}局胜场开启</label>
<image class="battle7 " a:if="{{curGameStep<3}}" src={{resList['edc11c83-81db-4bb6-9ebd-0a276ff36fa0'].url}} /> <image class="battle7 " a:if="{{curGameStep<3}}" src={{resList['edc11c83-81db-4bb6-9ebd-0a276ff36fa0'].url}} />
<image class="battle5 " a:if="{{curGameStep<2}}" src={{resList['204c7b21-29a1-4b39-92a7-fdb8605f922f'].url}} /> <image class="battle5 " a:if="{{curGameStep<2}}" src={{resList['204c7b21-29a1-4b39-92a7-fdb8605f922f'].url}} />
......
// 分享配置 // 分享配置
export const SHARE_CONFIG = { export const SHARE_CONFIG = {
title: '抱团取暖 冲刺2999元蕉内购物金', title: '抱团取暖 冲刺2999元蕉内购物金',
desc: '降温了!来玩抱团游戏赢取双11大奖', desc: '抱团取暖 冲刺2999元蕉内购物金',
imageUrl: 'https://isv.alibabausercontent.com/00000000/imgextra/i1/3035493001/O1CN01TEmmQP1Y2VDuoPLYn_!!3035493001-0-isvtu-00000000.jpg', // 分享图片URL imageUrl: 'https://isv.alibabausercontent.com/00000000/imgextra/i1/3035493001/O1CN01TEmmQP1Y2VDuoPLYn_!!3035493001-0-isvtu-00000000.jpg', // 分享图片URL
path: '/pages/pagepageindex/pagepageindex' path: '/pages/pagepageindex/pagepageindex'
}; };
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment