Commit 97570c41 authored by haiyoucuv's avatar haiyoucuv
parents b1c2455b e27dffe2
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"image": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png" "image": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png"
}, },
"prize": { "prize": {
"type": "HAMMERS" "type": "HAMMERS",
"image": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png"
} }
}, },
"success": true, "success": true,
......
...@@ -81,7 +81,7 @@ export class SuccessPrizePanel extends Panel { ...@@ -81,7 +81,7 @@ export class SuccessPrizePanel extends Panel {
propImg.texture = RES.getRes('boomBtn.png'); propImg.texture = RES.getRes('boomBtn.png');
propImg.y += 5; propImg.y += 5;
propImg.x += 15; propImg.x += 15;
propLabel.text = '步数道具\tx1'; propLabel.text = '炸弹道具\tx1';
break; break;
case PropType.HAMMERS: case PropType.HAMMERS:
...@@ -105,7 +105,8 @@ export class SuccessPrizePanel extends Panel { ...@@ -105,7 +105,8 @@ export class SuccessPrizePanel extends Panel {
this.prop.visible = false; this.prop.visible = false;
this.prizeImg.texture = Texture.fromUrl(this.data.prize.image); this.prizeImg.texture = Texture.fromUrl(this.data.prize.image);
this.tipsTex.text = '\t\t闯关成功!获得抽大奖机会!'; // this.tipsTex.text = '\t\t闯关成功!获得抽大奖机会!';
this.tipsTex.text = '\t闯关成功!有机会抽取如下奖品';
} }
} }
......
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