Commit 318f0b95 authored by spc's avatar spc

1

parent a8c14c7b
...@@ -19,7 +19,7 @@ export class SuccessNoAwardPanel extends Panel { ...@@ -19,7 +19,7 @@ export class SuccessNoAwardPanel extends Panel {
closeBtn.addEventListener(FYGE.MouseEvent.CLICK, this.back, this) closeBtn.addEventListener(FYGE.MouseEvent.CLICK, this.back, this)
let text = Tools.getText(this.data && this.data.type == 6 ? "抽奖次数+1" : "奖品与你擦肩而过,\n再接再励哦~", 30,"#fff",FYGE.TEXT_ALIGN.CENTER) let text = 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.
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