Commit b987f632 authored by wildfirecode's avatar wildfirecode

1

parent 1d037462
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
<e:Image id="combglight1" source="combglight_png" y="385.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight1" source="combglight_png" y="385.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image y="-145.5" source="hbPrize_bg_png" horizontalCenter="1"/> <e:Image y="-145.5" source="hbPrize_bg_png" horizontalCenter="1"/>
<e:Image id="img" width="518" height="230" source="{data.url}" y="516.3" horizontalCenter="0"/> <e:Image id="img" width="518" height="230" source="{data.url}" y="516.3" horizontalCenter="0"/>
<e:Image id="prop" scaleX="1" scaleY="1" horizontalCenter="-63.5" source="taskPrize_money_png" verticalCenter="15.5"/> <e:Image id="bg" source="hbp_bg_png" y="517.96" horizontalCenter="0"/>
<e:Image source="hbp_bg_png" y="517.96" horizontalCenter="0"/> <e:Image id="prop" scaleX="1" scaleY="1" horizontalCenter="-63.5" verticalCenter="15.5" source=""/>
<e:Group id="numsgroup" x="384.4" anchorOffsetX="0" width="188" anchorOffsetY="0" height="62" verticalCenter="16" visible="false"> <e:Group id="numsgroup" x="384.4" anchorOffsetX="0" width="188" anchorOffsetY="0" height="62" verticalCenter="16">
<e:Label id="nums" text="×8" size="48" verticalCenter="0" verticalAlign="middle" textAlign="center" fontFamily="FZY3JW" textColor="0xC17343" left="0" bold="true"/> <e:Label id="nums" text="×8" size="48" verticalCenter="0" verticalAlign="middle" textAlign="center" fontFamily="FZY3JW" textColor="0xC17343" left="0" bold="true"/>
</e:Group> </e:Group>
<e:Image id="money" source="signprize元宝_png" y="491.4" scaleX="0.8" scaleY="0.8" horizontalCenter="-3" visible="false"/> <e:Image id="money" source="signprize元宝_png" y="491.4" scaleX="0.8" scaleY="0.8" horizontalCenter="-3" visible="false"/>
......
...@@ -42,9 +42,9 @@ export default class HbPrize extends Panel { ...@@ -42,9 +42,9 @@ export default class HbPrize extends Panel {
updateOption(option: any) { updateOption(option: any) {
const { categoryType, img, num, propType, realValue } = option;// 2次数 3道具 4元宝 5实物 6优惠券 7虚拟商品 const { categoryType, img, num, propType, realValue } = option;// 2次数 3道具 4元宝 5实物 6优惠券 7虚拟商品
this['propnums'].text = '×1'; this['nums'].text = '×1';
if (num) if (num)
this['propnums'].text = '×' + num; this['nums'].text = '×' + num;
switch (categoryType) { switch (categoryType) {
case 2: case 2:
...@@ -61,10 +61,12 @@ export default class HbPrize extends Panel { ...@@ -61,10 +61,12 @@ export default class HbPrize extends Panel {
this.prop.source = 'hbPrize_money_png'; this.prop.source = 'hbPrize_money_png';
this['numsgroup'].visible = true; this['numsgroup'].visible = true;
// this['money'].visible = true; // this['money'].visible = true;
this['propnums'].text = '×' + realValue; this['nums'].text = '×' + realValue;
break; break;
default: default:
this['bg'].visible=false;
this['img'].visible = true; this['img'].visible = true;
this['nums'].visible=false;
this.data.url = img; this.data.url = img;
break; break;
} }
......
...@@ -7,16 +7,16 @@ ...@@ -7,16 +7,16 @@
"option": { "option": {
"id": "224", "id": "224",
"day": null, "day": null,
"categoryType": 3, "categoryType": 2,
"title": "炸弹", "title": "炸弹",
"rate": "50", "rate": "50",
"minValue": null, "minValue": null,
"maxValue": null, "maxValue": null,
"coinType": null, "coinType": null,
"realValue": null, "realValue": 111,
"propType": 3, "propType": 3,
"num": null, "num": 3,
"img": "", "img": "//yun.dui88.com/images/201910/dx04j91xfk.gif",
"appItemId": null, "appItemId": null,
"name": "", "name": "",
"value": "" "value": ""
......
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