Commit 6cb75b98 authored by zhangjinzhou's avatar zhangjinzhou

代码暂存

parent 6ef90dfc
...@@ -88,7 +88,7 @@ Page({ ...@@ -88,7 +88,7 @@ Page({
prizeimg: "", prizeimg: "",
prizename: "", prizename: "",
prizetype: "", prizetype: "",
prizeid:"", prizeid: "",
prizebtntype: 1, prizebtntype: 1,
attionfrom: "",//啥功能gift--人气抽奖,prize--中奖弹窗 attionfrom: "",//啥功能gift--人气抽奖,prize--中奖弹窗
//info弹窗 //info弹窗
...@@ -187,7 +187,7 @@ Page({ ...@@ -187,7 +187,7 @@ Page({
if (dianame == "zhuli") { if (dianame == "zhuli") {
this.openSp(); this.openSp();
} else if (dianame == "xinshou") { } else if (dianame == "xinshou") {
this.openGift(); this.openGift();
} else if (dianame == "jinxi") { } else if (dianame == "jinxi") {
this.openInfo(); this.openInfo();
...@@ -207,14 +207,16 @@ Page({ ...@@ -207,14 +207,16 @@ Page({
checkOpenAttion() { checkOpenAttion() {
let needattion = this.data.needattion; let needattion = this.data.needattion;
let dialogsData = this.data.dialogsData; let dialogsData = this.data.dialogsData;
if (dialogsData.length > 0 && needattion) { if (dialogsData.length > 0 && needattion) {
this.setData({ this.setData({
needattion: false needattion: false
}); });
this.openDialogSx(); this.openDialogSx();
} else { } else {
setTimeout(() => {
this.changeBtnReady(true);
},200);
} }
}, },
...@@ -1165,7 +1167,7 @@ Page({ ...@@ -1165,7 +1167,7 @@ Page({
}, 1000); }, 1000);
return; return;
} }
let docardata = await API.doCardDraw().catch(res => { let docardata = await API.doCardDraw().catch(res => {
commonToast(res && res.message); commonToast(res && res.message);
}) || {}; }) || {};
...@@ -1210,7 +1212,7 @@ Page({ ...@@ -1210,7 +1212,7 @@ Page({
// }, 1000); // }, 1000);
} }
setTimeout(() => { setTimeout(() => {
this.changeBtnReady(true); this.changeBtnReady(true);
}, 1000); }, 1000);
}, },
/** /**
......
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