Commit 9969e08e authored by wildfirecode's avatar wildfirecode

1

parent d52f399b
......@@ -37,7 +37,7 @@
"name": "noprize"
},
{
"keys": "PrizePanelX_png,prizePanelUseBtn_png,prizePanelbg_png,点亮_png,点亮 副本 2_png",
"keys": "PrizePanelX_png,prizePanelUseBtn_png,点亮_png,点亮 副本 2_png",
"name": "prize"
},
{
......@@ -73,8 +73,12 @@
"name": "box2"
},
{
"keys": "擦肩而过弹窗 _png",
"keys": "prize2_icon_png",
"name": "prize2"
},
{
"name": "preload",
"keys": "prizePanelbg_png"
}
],
"resources": [
......@@ -83,11 +87,6 @@
"type": "image",
"name": "ruleBg_png"
},
{
"url": "assets/prize/prizePanelbg.png",
"type": "image",
"name": "prizePanelbg_png"
},
{
"url": "assets/prize/PrizePanelX.png",
"type": "image",
......@@ -1512,6 +1511,16 @@
"url": "assets/common/lightani.png",
"type": "image",
"name": "lightani_png"
},
{
"url": "assets/prize2/prize2_icon.png",
"type": "image",
"name": "prize2_icon_png"
},
{
"name": "prizePanelbg_png",
"type": "image",
"url": "assets/common/prizePanelbg.png"
}
]
}
\ No newline at end of file
......@@ -26,9 +26,9 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Image id="img" y="502" touchEnabled="true" source="{data.img}" width="512" height="240" x="117"/>
<e:Image id="pic1" source="点亮 副本 2_png" x="142" y="191"/>
<e:Image id="pic3" source="点亮 副本 2_png" x="608" y="191" scaleX="-1"/>
<e:Image id="pic2" source="点亮_png" y="142" horizontalCenter="0"/>
<e:Label id="tips" text="这里显示元宝" y="382" horizontalCenter="0" textColor="0xff0000"/>
<e:Label id="tips" text="X30" y="637" x="497" size="46" textColor="0xb7592a"/>
<e:Image source="prize2_icon_png" y="518.53" horizontalCenter="0.5"/>
</e:Skin>
\ No newline at end of file
......@@ -14,11 +14,9 @@ export default class Prize2Panel extends Panel {
super.start();
this._level = parseInt(data.level + '');
// const itemid = DataManager.ins.getData('getPlugOrderStatus').lottery.itemId;
// this.data.img = `http://yun.duiba.com.cn/db_games/0827/${itemid}.png`;
const submitdata = DataManager.ins.getData('hc_submit').data;
this['tips'].text = `本次获得元宝:${submitdata.prizeResponse.changeMoney}`;
this['tips'].text = `X${submitdata.prizeResponse.changeMoney}`;
this['shareBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
NetManager.ins.clickLog(getlogItem(15));
showShare();
......@@ -67,7 +65,6 @@ export default class Prize2Panel extends Panel {
get picBigWidth() { return 510 };
get bigPicRatio() { return 640 / 300 }
img: eui.Image;
useBtn: eui.Button;
get skinKey() { return 'Prize2' }
......
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