Commit 901551b9 authored by AU-Pro-mac's avatar AU-Pro-mac

update

parent 4152d1a4
...@@ -5229,7 +5229,7 @@ var SuccessNoAwardPanel = (function (_super) { ...@@ -5229,7 +5229,7 @@ var SuccessNoAwardPanel = (function (_super) {
closeBtn.y = -20; closeBtn.y = -20;
this.addChild(closeBtn); this.addChild(closeBtn);
closeBtn.addEventListener(FYGE.MouseEvent.CLICK, this.back, this); closeBtn.addEventListener(FYGE.MouseEvent.CLICK, this.back, this);
var text = Tools_1.Tools.getText(this.data && this.data.type == 6 ? "抽奖次数+1" : "奖品与你擦肩而过,\n再接再励哦~", 30, "#fff", FYGE.TEXT_ALIGN.CENTER); var text = Tools_1.Tools.getText(this.data && this.data.type == 6 ? "抽奖次数+" + this.data.num : "奖品与你擦肩而过,\n再接再励哦~", 30, "#fff", FYGE.TEXT_ALIGN.CENTER);
text.x = bg.width - text.textWidth >> 1; text.x = bg.width - text.textWidth >> 1;
text.y = bg.height - text.textHeight >> 1; text.y = bg.height - text.textHeight >> 1;
this.addChild(text); this.addChild(text);
......
This diff is collapsed.
...@@ -5231,7 +5231,7 @@ var SuccessNoAwardPanel = (function (_super) { ...@@ -5231,7 +5231,7 @@ var SuccessNoAwardPanel = (function (_super) {
closeBtn.y = -20; closeBtn.y = -20;
this.addChild(closeBtn); this.addChild(closeBtn);
closeBtn.addEventListener(FYGE.MouseEvent.CLICK, this.back, this); closeBtn.addEventListener(FYGE.MouseEvent.CLICK, this.back, this);
var text = Tools_1.Tools.getText(this.data && this.data.type == 6 ? "抽奖次数+1" : "奖品与你擦肩而过,\n再接再励哦~", 30, "#fff", FYGE.TEXT_ALIGN.CENTER); var text = Tools_1.Tools.getText(this.data && this.data.type == 6 ? "抽奖次数+" + this.data.num : "奖品与你擦肩而过,\n再接再励哦~", 30, "#fff", FYGE.TEXT_ALIGN.CENTER);
text.x = bg.width - text.textWidth >> 1; text.x = bg.width - text.textWidth >> 1;
text.y = bg.height - text.textHeight >> 1; text.y = bg.height - text.textHeight >> 1;
this.addChild(text); this.addChild(text);
......
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