Commit e94f4a88 authored by haiyoucuv's avatar haiyoucuv

1

parent 8d902fec
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
<workItem from="1596079283722" duration="2448000" /> <workItem from="1596079283722" duration="2448000" />
<workItem from="1596185145914" duration="75000" /> <workItem from="1596185145914" duration="75000" />
<workItem from="1596187812585" duration="636000" /> <workItem from="1596187812585" duration="636000" />
<workItem from="1596418925126" duration="3328000" /> <workItem from="1596418925126" duration="3396000" />
</task> </task>
<task id="LOCAL-00001" summary="111"> <task id="LOCAL-00001" summary="111">
<created>1594122339119</created> <created>1594122339119</created>
......
...@@ -262,6 +262,7 @@ class PrizeBox extends Button { ...@@ -262,6 +262,7 @@ class PrizeBox extends Button {
this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize[`level_${upLevel}`]); this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize[`level_${upLevel}`]);
this.addEventListener(FYGE.MouseEvent.CLICK, () => { this.addEventListener(FYGE.MouseEvent.CLICK, () => {
//有需要,到时再改 //有需要,到时再改
Tools.btnDelay(this);
showToast(this.checkTip.text + "才可以抽奖哦") showToast(this.checkTip.text + "才可以抽奖哦")
}, this) }, this)
} else if (prizes.length == 1 && +prizes[0].level == 120) { } else if (prizes.length == 1 && +prizes[0].level == 120) {
...@@ -273,6 +274,7 @@ class PrizeBox extends Button { ...@@ -273,6 +274,7 @@ class PrizeBox extends Button {
this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize['level_120']); this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize['level_120']);
this.addEventListener(FYGE.MouseEvent.CLICK, () => { this.addEventListener(FYGE.MouseEvent.CLICK, () => {
//有需要,到时再改 //有需要,到时再改
Tools.btnDelay(this);
showToast(Tools.gameData.topAward.openPrizeStatus showToast(Tools.gameData.topAward.openPrizeStatus
? '已开奖' : this.tip.text) ? '已开奖' : this.tip.text)
}, this) }, this)
...@@ -287,6 +289,7 @@ class PrizeBox extends Button { ...@@ -287,6 +289,7 @@ class PrizeBox extends Button {
this.tip.text = `抽取${lowerLevel}关奖励`; this.tip.text = `抽取${lowerLevel}关奖励`;
this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize[`level_${lowerLevel}`]); this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize[`level_${lowerLevel}`]);
this.addEventListener(FYGE.MouseEvent.CLICK, () => { this.addEventListener(FYGE.MouseEvent.CLICK, () => {
Tools.btnDelay(this);
changeScene(LotteryScene, {level: lowerLevel}) changeScene(LotteryScene, {level: lowerLevel})
}, this) }, this)
} }
......
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