Commit 5a3f52df authored by 邱旭's avatar 邱旭

1

parent dcb430d7
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Group y="706" horizontalCenter="0"> <e:Group y="706" horizontalCenter="0">
<e:Label text="可使用的元宝:" x="34.88" y="0" textColor="0x885037" size="24"/> <e:Label text="可使用的元宝:" x="34.88" y="0" textColor="0x885037" size="24" fontFamily="FZY3JW"/>
<e:Label id="moneyTxt" text="00000" x="192.97" y="0" textColor="0x885037" size="24"/> <e:Label id="moneyTxt" text="00000" x="192.97" y="0" textColor="0x885037" size="24" fontFamily="FZY3JW"/>
<e:Image source="common_yuanbao_png" x="2.93" y="1.04"/> <e:Image source="common_yuanbao_png" x="2.93" y="1.04"/>
</e:Group> </e:Group>
<e:Label id="priceTxt" text="-3" x="257.08" y="613" bold="true" size="47" touchEnabled="false" width="131" textAlign="right"/> <e:Label id="priceTxt" text="-3" x="257.08" y="613" bold="true" size="47" touchEnabled="false" width="131" textAlign="right"/>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ExchangeSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="ExchangeSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16c984f7919"/> <w:Config id="16c984f7919"/>
<e:Image y="50" horizontalCenter="0" source="exchange_png"/> <e:Image y="52.2" source="exchange_png" horizontalCenter="0"/>
<e:Button id="buyBtn" label="" y="589" horizontalCenter="0"> <e:Button id="buyBtn" label="" y="589" horizontalCenter="0">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<e:Image id="ruleBg" horizontalCenter="0.5" y="152" source="scratch_rule_bg_png"/> <e:Image id="ruleBg" horizontalCenter="0.5" y="152" source="scratch_rule_bg_png"/>
<e:Scroller id="scroller" width="545" x="104.76" height="507" y="377.2"> <e:Scroller id="scroller" width="545" x="104.76" height="507" y="377.2">
<e:Group id="group" width="100%"> <e:Group id="group" width="100%">
<e:Label id="labContent" width="100%" text="" lineSpacing="10" size="30" multiline="true" textColor="0xa54615"/> <e:Label id="labContent" width="100%" text="" lineSpacing="10" size="30" multiline="true" textColor="0xa54615" fontFamily="FZY3JW"/>
<e:layout> <e:layout>
<e:VerticalLayout/> <e:VerticalLayout/>
</e:layout> </e:layout>
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<e:Skin class="ShopSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="ShopSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16c953f5068" horizontalCenter="0"/> <w:Config id="16c953f5068" horizontalCenter="0"/>
<e:Image source="道具商城_png" y="42" horizontalCenter="0"/> <e:Image source="道具商城_png" y="42" horizontalCenter="0"/>
<e:Label id="price1Txt" text="20" y="395.86" x="294.52" size="27" textColor="0xc33700"/> <e:Label id="price1Txt" text="20" y="395.86" x="294.52" size="27" textColor="0xc33700" fontFamily="FZY3JW"/>
<e:Label id="price2Txt" text="20" y="541.44" textColor="0xC33700" x="295.4" size="27"/> <e:Label id="price2Txt" text="20" y="541.44" textColor="0xC33700" x="295.4" size="27" fontFamily="FZY3JW"/>
<e:Label id="price3Txt" text="20" y="680.64" textColor="0xC33700" x="294.76" size="27"/> <e:Label id="price3Txt" text="20" y="680.64" textColor="0xC33700" x="294.76" size="27" fontFamily="FZY3JW"/>
<e:Label id="price4Txt" text="20" y="819.28" textColor="0xC33700" x="297.16" size="27"/> <e:Label id="price4Txt" text="20" y="819.28" textColor="0xC33700" x="297.16" size="27" fontFamily="FZY3JW"/>
<e:Button id="closeBtn" label="" x="614" y="230"> <e:Button id="closeBtn" label="" x="614" y="230">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
...@@ -46,5 +46,5 @@ ...@@ -46,5 +46,5 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Label id="moneyTxt" text="0000" x="421.24" y="886" textColor="0x885037" size="24"/> <e:Label id="moneyTxt" text="0000" x="421.24" y="886" textColor="0x885037" size="24" fontFamily="FZY3JW"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<e:Image id="ruleBg" horizontalCenter="0.5" y="152" source="turnrule抽奖说明_png"/> <e:Image id="ruleBg" horizontalCenter="0.5" y="152" source="turnrule抽奖说明_png"/>
<e:Scroller id="scroller" width="545" x="104.76" height="507" y="377.2"> <e:Scroller id="scroller" width="545" x="104.76" height="507" y="377.2">
<e:Group id="group" width="100%"> <e:Group id="group" width="100%">
<e:Label id="labContent" width="100%" text="" lineSpacing="10" size="30" multiline="true" textColor="0xa54615"/> <e:Label id="labContent" width="100%" text="" lineSpacing="10" size="30" multiline="true" textColor="0xa54615" fontFamily="FZY3JW"/>
<e:layout> <e:layout>
<e:VerticalLayout/> <e:VerticalLayout/>
</e:layout> </e:layout>
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
</e:Button> </e:Button>
<e:Label id="status2" text="(免费次数:1)" x="69.3" y="62.66" size="22" touchEnabled="false" visible="false"/> <e:Label id="status2" text="(免费次数:1)" x="69.3" y="62.66" size="22" touchEnabled="false" visible="false"/>
<e:Group id="status1" x="52" y="60" touchChildren="false" touchEnabled="false"> <e:Group id="status1" x="52" y="60" touchChildren="false" touchEnabled="false">
<e:Label text=")" x="132" y="2" size="22" touchEnabled="false"/> <e:Label text=")" x="132" y="2" size="22" touchEnabled="false" fontFamily="FZY3JW"/>
<e:Label id="nums" text="(-50" x="0" y="3" size="22" textAlign="right" width="82" touchEnabled="false"/> <e:Label id="nums" text="(-50" x="0" y="3" size="22" textAlign="right" width="82" touchEnabled="false" fontFamily="FZY3JW"/>
<e:Image source="common_yuanbao_png" x="91.99" y="1.67"/> <e:Image source="common_yuanbao_png" x="91.99" y="1.67"/>
</e:Group> </e:Group>
</e:Group> </e:Group>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<e:Group id="container" y="-98.45" x="-3"/> <e:Group id="container" y="-98.45" x="-3"/>
<e:Image source="turnprize2bg_png" y="159" horizontalCenter="0"/> <e:Image source="turnprize2bg_png" y="159" horizontalCenter="0"/>
<e:Image y="323" source="scratch_card_bg_png" horizontalCenter="0"/> <e:Image y="323" source="scratch_card_bg_png" horizontalCenter="0"/>
<e:Image id="prizeImg" width="508" height="225" source="" x="121" y="345"/> <e:Image id="prizeImg" width="508" height="225" source="" y="345" x="121"/>
<e:Button id="closeBtn" label="" y="242.88" x="615"> <e:Button id="closeBtn" label="" y="242.88" x="615">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<e:Group id="progressGroup" x="8" verticalCenter="0"> <e:Group id="progressGroup" x="8" verticalCenter="0">
<e:Image id="progressBg" source="scratch_progress_bg_png" anchorOffsetX="0" anchorOffsetY="0" x="0" y="0" width="437" height="22"/> <e:Image id="progressBg" source="scratch_progress_bg_png" anchorOffsetX="0" anchorOffsetY="0" x="0" y="0" width="437" height="22"/>
<e:Rect id="progress" fillColor="0xEB1917" left="0" verticalCenter="0" width="0" top="0" bottom="0"/> <e:Rect id="progress" fillColor="0xEB1917" left="0" verticalCenter="0" width="0" top="0" bottom="0"/>
<e:Label id="progressLabel" text="仅剩90.7%" size="18" bold="true" verticalAlign="middle" textAlign="center" horizontalCenter="0" verticalCenter="0"/> <e:Label id="progressLabel" text="仅剩90.7%" size="18" bold="true" verticalAlign="middle" textAlign="center" horizontalCenter="0" verticalCenter="0" fontFamily="FZY3JW"/>
</e:Group> </e:Group>
<e:Image id="hongbao" source="scratch_hongbao_png" scaleX="1" scaleY="1" verticalCenter="0" horizontalCenter="219"/> <e:Image id="hongbao" source="scratch_hongbao_png" scaleX="1" scaleY="1" verticalCenter="0" horizontalCenter="219"/>
</e:Group> </e:Group>
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Group id="status1" x="52" y="60"> <e:Group id="status1" x="52" y="60">
<e:Label text=")" x="128.96" y="2" size="22" touchEnabled="false"/> <e:Label text=")" x="128.96" y="2" size="22" touchEnabled="false" fontFamily="FZY3JW"/>
<e:Label id="nums" text="(-50" x="3.04" y="1.52" size="22" textAlign="right" width="82" touchEnabled="false"/> <e:Label id="nums" text="(-50" x="3.04" y="1.52" size="22" textAlign="right" width="82" touchEnabled="false" fontFamily="FZY3JW"/>
<e:Image source="common_yuanbao_png" x="91.99" y="1.67"/> <e:Image source="common_yuanbao_png" x="91.99" y="1.67"/>
</e:Group> </e:Group>
</e:Group> </e:Group>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Label id="btnLabel" text="Label" size="20" verticalCenter="30.5" verticalAlign="middle" textAlign="center" bold="true" horizontalCenter="0" touchEnabled="false"/> <e:Label id="btnLabel" text="Label" size="20" verticalCenter="30.5" verticalAlign="middle" textAlign="center" bold="true" horizontalCenter="0" touchEnabled="false" fontFamily="FZY3JW"/>
</e:Group> </e:Group>
<e:Button id="closeBtn" label="" y="292.88" x="565.89"> <e:Button id="closeBtn" label="" y="292.88" x="565.89">
<e:skinName> <e:skinName>
...@@ -49,6 +49,6 @@ ...@@ -49,6 +49,6 @@
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Group id="container2"/> <e:Group id="container2"/>
<e:Label id="nums" text="当前可用元宝:0" y="951" textColor="0xffe9c0" horizontalCenter="0"/> <e:Label id="nums" text="当前可用元宝:0" y="951" textColor="0xffe9c0" horizontalCenter="0" fontFamily="FZY3JW"/>
<e:Image id="rulebtn" source="turntable_rulebtn_png" y="1000" horizontalCenter="0"/> <e:Image id="rulebtn" source="turntable_rulebtn_png" y="1000" horizontalCenter="0"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -62,7 +62,6 @@ export default class ScratchPanel extends Panel { ...@@ -62,7 +62,6 @@ export default class ScratchPanel extends Panel {
this.setGtaphics(this["prizeImg"].x - 30, this["prizeImg"].y + this["prizeImg"].height); this.setGtaphics(this["prizeImg"].x - 30, this["prizeImg"].y + this["prizeImg"].height);
}, 500); }, 500);
const scratchData = DataManager.ins.getData('hc_turnableDojoin');
this['light1'].visible = this['light2'].visible = false; this['light1'].visible = this['light2'].visible = false;
this['con'].addChild(this.data.mv); this['con'].addChild(this.data.mv);
......
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
"success": true, "success": true,
"code": "0000000000", "code": "0000000000",
"desc": "OK", "desc": "OK",
"timestamp": 1572420059060, "timestamp": 1572427313222,
"data": { "data": {
"scratchCardTaskId": 3, "scratchCardTaskId": 9,
"taskStatus": 1, "taskStatus": 1,
"prizeImage": "//yun.dui88.com/images/201910/9u6nk8sjt8.jpg", "prizeImage": "//yun.dui88.com/images/201910/gxqaecxymq.jpg",
"currentTime": 1572420059060, "currentTime": 1572427313215,
"endTime": 1572493282000, "endTime": 1572513706000,
"completePercent": "98", "completePercent": "91.0",
"remainPercent": "0", "remainPercent": "9.0",
"totalNeedCount": 1, "totalNeedCount": 1,
"helpedCount": 1, "helpedCount": 0,
"avatarList": null "avatarList": []
} }
} }
\ No newline at end of file
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
"success": true, "success": true,
"code": "0000000000", "code": "0000000000",
"desc": "OK", "desc": "OK",
"timestamp": 1572327888728, "timestamp": 1572428041912,
"data": { "data": {
"isScratchCard": true, "isScratchCard": true,
"option": { "option": {
"scratchCardTaskId": 7, "scratchCardTaskId": 12,
"prizeImage": "//yun.dui88.com/images/201910/e6pmpk2pne.png", "prizeImage": "//yun.dui88.com/images/201910/dx04j91xfk.gif",
"completePercent": "98", "completePercent": "90",
"remainPercent": null "remainPercent": "10"
}, },
"orderNum": null "orderNum": null
} }
......
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