Commit f0fa1fde authored by wildfirecode13's avatar wildfirecode13

u

parent c89d1f9a
...@@ -68,7 +68,7 @@ export class IndexScene extends Scene { ...@@ -68,7 +68,7 @@ export class IndexScene extends Scene {
this.addChild(hand); this.addChild(hand);
this.getIndex(); this.getIndex();
const result = getWebData(WebNetName.index) const result = getWebData(WebNetName.index)
const array = result.data.options.filter(i=>i.id!='thanks'); const array = result.data.options;
list.updateData(array); list.updateData(array);
hand && FYGE.Tween.get(hand, { loop: true }).to({ scaleX: 1.5, scaleY: 1.5 }, 1000).to({ scaleX: 1, scaleY: 1 }, 1000); hand && FYGE.Tween.get(hand, { loop: true }).to({ scaleX: 1.5, scaleY: 1.5 }, 1000).to({ scaleX: 1, scaleY: 1 }, 1000);
this.stage.addEventListener("restartEnterFrame", this.onRestartFrame, this); this.stage.addEventListener("restartEnterFrame", this.onRestartFrame, this);
...@@ -177,7 +177,7 @@ export class IndexScene extends Scene { ...@@ -177,7 +177,7 @@ export class IndexScene extends Scene {
} else { } else {
if (result.data.surplusCount > 0) { if (result.data.surplusCount > 0) {
needCredits.text = '免费拆盒1次'; needCredits.text = '免费拆盒';
reDegree.text = `${result.data.surplusCount}`; reDegree.text = `${result.data.surplusCount}`;
getBoxButton.visible = true; getBoxButton.visible = true;
shareButton.visible = false; shareButton.visible = false;
......
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