Commit 6cb75b98 authored by zhangjinzhou's avatar zhangjinzhou

代码暂存

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