Commit 78654516 authored by wildfirecode's avatar wildfirecode

1

parent 719f5be8
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
"name": "prize2" "name": "prize2"
}, },
{ {
"keys": "startpanel通关条件_png,startpanel数量_png,startpanel数量 副本 3_png,startpanel目标33_png,startpanel目标3_png,startpanel按钮_png,startpanel_icon3_png,startpanel_icon2_png,startpanel_icon1_png,startpanel_icon_png,startpanel_ele9_png,startpanel_ele8_png,startpanel_ele7_png,startpanel_ele6_png,startpanel_ele5_png,startpanel_ele4_png,startpanel_ele3_png,startpanel_ele2_png,startpanel_ele1_png,startpanel_ele0_png,startpanel_block2_png,startpanel_bg2_png,startpanel_avatar_png,startpanel_ele10_png", "keys": "startpanel通关条件_png,startpanel数量_png,startpanel数量 副本 3_png,startpanel目标33_png,startpanel目标3_png,startpanel按钮_png,startpanel_icon3_png,startpanel_icon2_png,startpanel_icon1_png,startpanel_icon_png,startpanel_ele9_png,startpanel_ele8_png,startpanel_ele7_png,startpanel_ele6_png,startpanel_ele5_png,startpanel_ele4_png,startpanel_ele3_png,startpanel_ele2_png,startpanel_ele1_png,startpanel_ele0_png,startpanel_block2_png,startpanel_bg2_png,startpanel_avatar_png,startpanel_ele10_png,startpanel_numsbg_png",
"name": "startpanel" "name": "startpanel"
}, },
{ {
...@@ -3583,6 +3583,11 @@ ...@@ -3583,6 +3583,11 @@
"url": "assets/mainScene/rectLatWhite.png", "url": "assets/mainScene/rectLatWhite.png",
"type": "image", "type": "image",
"name": "rectLatWhite_png" "name": "rectLatWhite_png"
},
{
"url": "assets/startpanel2/startpanel_numsbg.png",
"type": "image",
"name": "startpanel_numsbg_png"
} }
] ]
} }
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="Box2Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="Box2Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16ccc954c14"/> <w:Config id="16ccc954c14"/>
<e:Component id="ad" y="739.52" skinName="ADSmallSkin" x="84" visible="false"/> <e:Component id="ad" y="921.52" skinName="ADSmallSkin" x="84" visible="false"/>
<e:Image y="33.76" horizontalCenter="0" source="box2_bg_png"/> <e:Image y="163.76" horizontalCenter="0" source="box2_bg_png"/>
<e:Button id="closeBtn" label="" x="601.94" y="195.3"> <e:Button id="closeBtn" label="" x="615.94" y="163.3">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing"> <e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/> <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="close2Btn" label="" y="602" horizontalCenter="0"> <e:Button id="close2Btn" label="" y="781" scaleX="1.1" scaleY="1.1" horizontalCenter="0">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="commmon_okbtn1_png" source.down="commmon_okbtn1_png" source.disabled="commmon_okbtn1_png"/> <e:Image width="100%" height="100%" source="按钮 副本 4_png" source.down="按钮 副本 4_png" source.disabled="按钮 副本 4_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/> <e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
<e:Label id="empty" text="该关卡没有好友通关" y="97" textColor="0xc33700" size="26" x="174"/> <e:Label id="empty" text="该关卡没有好友通关" y="97" textColor="0xc33700" size="26" x="174"/>
</e:Group> </e:Group>
<e:Image y="52" horizontalCenter="0" source="startpanel通关条件_png"/> <e:Image y="52" horizontalCenter="0" source="startpanel通关条件_png"/>
<e:Label id="levelTxt" text="第一关" y="204" horizontalCenter="0" size="42"/> <e:Label id="levelTxt" text="第一关" y="204" horizontalCenter="0" size="45" fontFamily="FZY3JW" bold="true"/>
<e:Label id="targetTxt" text="在规定的步数内\n消除足够数量目标" y="332" width="444" x="157" textAlign="center" lineSpacing="15" verticalAlign="middle" height="156" anchorOffsetX="0" textColor="0xa32020" visible="false"/> <e:Label id="targetTxt" text="在规定的步数内\n消除足够数量目标" y="332" width="444" x="157" textAlign="center" lineSpacing="15" verticalAlign="middle" height="156" anchorOffsetX="0" textColor="0xa32020" visible="false"/>
<e:Button id="startBtn" label="" y="787" horizontalCenter="0"> <e:Button id="startBtn" label="" y="769" horizontalCenter="0.5">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="startpanel按钮_png" source.down="startpanel按钮_png" source.disabled="startpanel按钮_png"/> <e:Image width="100%" height="100%" source="startpanel按钮_png" source.down="startpanel按钮_png" source.disabled="startpanel按钮_png"/>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="buy2btn" label="" y="683" x="240"> <e:Button id="buy2btn" label="" y="663" x="252">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="startpanel数量 副本 3_png" source.down="startpanel数量 副本 3_png" source.disabled="startpanel数量 副本 3_png"/> <e:Image width="100%" height="100%" source="startpanel数量 副本 3_png" source.down="startpanel数量 副本 3_png" source.disabled="startpanel数量 副本 3_png"/>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="buy1btn" label="" y="683" x="403"> <e:Button id="buy1btn" label="" y="663" x="397">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="startpanel数量 副本 3_png" source.down="startpanel数量 副本 3_png" source.disabled="startpanel数量 副本 3_png"/> <e:Image width="100%" height="100%" source="startpanel数量 副本 3_png" source.down="startpanel数量 副本 3_png" source.disabled="startpanel数量 副本 3_png"/>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="buy3btn" label="" y="683" x="566"> <e:Button id="buy3btn" label="" y="663" x="540">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="startpanel数量 副本 3_png" source.down="startpanel数量 副本 3_png" source.disabled="startpanel数量 副本 3_png"/> <e:Image width="100%" height="100%" source="startpanel数量 副本 3_png" source.down="startpanel数量 副本 3_png" source.disabled="startpanel数量 副本 3_png"/>
...@@ -54,10 +54,13 @@ ...@@ -54,10 +54,13 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Label id="nums2Txt" text="888" size="26" bold="true" x="189.03" y="728.04" width="52" textAlign="center" textColor="0xc33700" verticalAlign="middle"/> <e:Label id="price2" text="-300元宝" size="22" bold="true" y="715.33" textAlign="center" verticalAlign="middle" fontFamily="FZY3JW" horizontalCenter="-136.5" textColor="0xc87230"/>
<e:Label id="nums1Txt" text="888" size="26" bold="true" x="358.99" y="728.04" width="52" textAlign="center" textColor="0xc33700" verticalAlign="middle"/> <e:Label id="price3" text="-3元宝" size="22" bold="true" y="715.33" textAlign="center" verticalAlign="middle" fontFamily="FZY3JW" horizontalCenter="5.5" textColor="0xc87230"/>
<e:Label id="nums3Txt" text="888" size="26" bold="true" x="518.15" y="728.04" textAlign="center" width="52" textColor="0xc33700" verticalAlign="middle"/> <e:Label id="price4" text="-30元宝" size="22" bold="true" y="717.33" textAlign="center" verticalAlign="middle" fontFamily="FZY3JW" horizontalCenter="148.5" textColor="0xc87230"/>
<e:Button id="closeBtn" label="" x="614" y="252"> <e:Label id="nums2Txt" text="888" size="26" bold="true" y="596.04" textAlign="center" verticalAlign="middle" textColor="0xc87230" fontFamily="FZY3JW" horizontalCenter="-101.5"/>
<e:Label id="nums1Txt" text="8" size="26" bold="true" y="596.04" textAlign="center" verticalAlign="middle" textColor="0xc87230" fontFamily="FZY3JW" horizontalCenter="40.5"/>
<e:Label id="nums3Txt" text="88" size="26" bold="true" y="596.04" textAlign="center" verticalAlign="middle" textColor="0xc87230" fontFamily="FZY3JW" horizontalCenter="180"/>
<e:Button id="closeBtn" label="" x="620" y="252">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/> <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
...@@ -69,13 +72,13 @@ ...@@ -69,13 +72,13 @@
<e:Image source="startpanel目标3_png" x="0" verticalCenter="0"/> <e:Image source="startpanel目标3_png" x="0" verticalCenter="0"/>
<e:BitmapLabel id="targetScoreTxt" x="76" y="0" text="0" font="nums2_fnt"/> <e:BitmapLabel id="targetScoreTxt" x="76" y="0" text="0" font="nums2_fnt"/>
</e:Group> </e:Group>
<e:Group id="targetGroup" y="356.06" width="405" horizontalCenter="0"> <e:Group id="targetGroup" y="356.06" width="405" horizontalCenter="0" height="169">
<e:List id="list" y="43.94" anchorOffsetX="0" anchorOffsetY="0" horizontalCenter="0" > <e:List id="list" y="80.94" anchorOffsetX="0" anchorOffsetY="0" horizontalCenter="0" scaleX="1.3" scaleY="1.3">
<e:layout> <e:layout>
<e:HorizontalLayout gap="19"/> <e:HorizontalLayout gap="19"/>
</e:layout> </e:layout>
</e:List> </e:List>
<e:Label id="tips" text="在指定步数内消灭目标元素" y="7" size="23" textColor="0x885037" bold="true" horizontalCenter="0"/> <e:Label id="tips" text="在指定步数内消灭目标元素" y="23" size="28" horizontalCenter="0.5" fontFamily="FZY3JW" textAlign="center" textColor="0x885037" bold="true"/>
</e:Group> </e:Group>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -11,7 +11,7 @@ export default class Box2Panel extends Panel { ...@@ -11,7 +11,7 @@ export default class Box2Panel extends Panel {
// }, this); // }, this);
this.showlog(); this.showlog();
// this.data.img = DataManager.ins.getData('getPlugOrderStatus').lottery.imgurl; // this.data.img = DataManager.ins.getData('getPlugOrderStatus').lottery.imgurl;
addAdComp(84,739,this,27) addAdComp(84,921.52,this,27)
} }
showlog() { showlog() {
NetManager.ins.showLog(getlogItem(27)); NetManager.ins.showLog(getlogItem(27));
......
...@@ -31,6 +31,9 @@ showlog(){ ...@@ -31,6 +31,9 @@ showlog(){
start(data) { start(data) {
this.showlog() this.showlog()
super.start(); super.start();
this['price2'].text = `-${window['price2']}元宝`;
this['price3'].text = `-${window['price3']}元宝`;
this['price4'].text = `-${window['price4']}元宝`;
const homedata = getHomeData(); const homedata = getHomeData();
if (data > homedata.levels.length) { if (data > homedata.levels.length) {
......
{ {
"success": true, "success": 0,
"code": "0000000000", "code": "0000000000",
"desc": "OK", "desc": "OK",
"timestamp": 1572332426229, "timestamp": 1572332426229,
"data": { "data": {
"canReceiveTreasureBoxNum": 1110, "canReceiveTreasureBoxNum": 1110,
"nextRangeStarsNum": 200, "nextRangeStarsNum": 200,
"totalStars": 300, "totalStars": 100,
"isGetAllTreasureBox": false, "isGetAllTreasureBox": false,
"orderNum": null, "orderNum": null,
"option": { "option": {
......
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