Commit 5fca5d3d authored by wildfirecode's avatar wildfirecode

1

parent 3a78b881
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
"name": "prize2" "name": "prize2"
}, },
{ {
"keys": "startpanel通关条件_png,startpanel数量_png,startpanel数量 副本 3_png,startpanel目标33_png,startpanel目标3_png,startpanel按钮_png,startpanel_ice1_png,startpanel_ele6_png,startpanel_block2_png,startpanel_xxxx_png", "keys": "startpanel通关条件_png,startpanel数量_png,startpanel数量 副本 3_png,startpanel目标33_png,startpanel目标3_png,startpanel按钮_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",
"name": "startpanel" "name": "startpanel"
}, },
{ {
...@@ -1495,11 +1495,6 @@ ...@@ -1495,11 +1495,6 @@
"type": "image", "type": "image",
"name": "startpanel_ele6_png" "name": "startpanel_ele6_png"
}, },
{
"url": "assets/startpanel2/startpanel_ice1.png",
"type": "image",
"name": "startpanel_ice1_png"
},
{ {
"url": "assets/mainScene/main_mapbottom.png", "url": "assets/mainScene/main_mapbottom.png",
"type": "image", "type": "image",
...@@ -1971,9 +1966,49 @@ ...@@ -1971,9 +1966,49 @@
"name": "eggPiece5_png" "name": "eggPiece5_png"
}, },
{ {
"url": "assets/startpanel2/startpanel_xxxx.png", "url": "assets/startpanel2/startpanel_ele7.png",
"type": "image",
"name": "startpanel_ele7_png"
},
{
"url": "assets/startpanel2/startpanel_ele5.png",
"type": "image",
"name": "startpanel_ele5_png"
},
{
"url": "assets/startpanel2/startpanel_ele9.png",
"type": "image",
"name": "startpanel_ele9_png"
},
{
"url": "assets/startpanel2/startpanel_ele8.png",
"type": "image",
"name": "startpanel_ele8_png"
},
{
"url": "assets/startpanel2/startpanel_ele4.png",
"type": "image",
"name": "startpanel_ele4_png"
},
{
"url": "assets/startpanel2/startpanel_ele3.png",
"type": "image",
"name": "startpanel_ele3_png"
},
{
"url": "assets/startpanel2/startpanel_ele2.png",
"type": "image",
"name": "startpanel_ele2_png"
},
{
"url": "assets/startpanel2/startpanel_ele1.png",
"type": "image",
"name": "startpanel_ele1_png"
},
{
"url": "assets/startpanel2/startpanel_ele0.png",
"type": "image", "type": "image",
"name": "startpanel_xxxx_png" "name": "startpanel_ele0_png"
} }
] ]
} }
\ No newline at end of file
...@@ -2,8 +2,15 @@ ...@@ -2,8 +2,15 @@
<e:Skin class="TargetItemSkin" width="60" height="81" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="TargetItemSkin" width="60" height="81" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16cfafb2357"/> <w:Config id="16cfafb2357"/>
<e:Image source="startpanel_block2_png" x="0" y="0"/> <e:Image source="startpanel_block2_png" x="0" y="0"/>
<e:Image id="icon_LOLLIPOP" source="startpanel_ele6_png" width="60" height="60"/> <e:Image id="icon0" width="60" height="60" source="startpanel_ele0_png"/>
<e:Image id="icon_ICE" source="startpanel_ice1_png" width="60" height="60"/> <e:Image id="icon1" width="60" height="60" source="startpanel_ele1_png"/>
<e:Image id="icon_xxx" width="60" height="60" source="startpanel_xxxx_png"/> <e:Image id="icon2" width="60" height="60" source="startpanel_ele2_png"/>
<e:Image id="icon3" width="60" height="60" source="startpanel_ele3_png"/>
<e:Image id="icon4" width="60" height="60" source="startpanel_ele4_png"/>
<e:Image id="icon5" width="60" height="60" source="startpanel_ele5_png"/>
<e:Image id="icon6" width="60" height="60" source="startpanel_ele6_png"/>
<e:Image id="icon7" width="60" height="60" source="startpanel_ele7_png"/>
<e:Image id="icon8" width="60" height="60" source="startpanel_ele8_png"/>
<e:Image id="icon9" width="60" height="60" source="startpanel_ele9_png"/>
<e:BitmapLabel id="txt" text="X0" font="nums2_fnt" scaleX="0.4" scaleY="0.4" y="46" horizontalCenter="0"/> <e:BitmapLabel id="txt" text="X0" font="nums2_fnt" scaleX="0.4" scaleY="0.4" y="46" horizontalCenter="0"/>
</e:Skin> </e:Skin>
\ No newline at end of file
import getSkinPath from "../../libs/new_wx/utils/getSkinPath"; import getSkinPath from "../../libs/new_wx/utils/getSkinPath";
import { ElementType } from "../something/enum/ElementType";
export default class TargetItemRenderer extends eui.ItemRenderer { export default class TargetItemRenderer extends eui.ItemRenderer {
constructor() { constructor() {
super(); super();
...@@ -7,9 +6,14 @@ export default class TargetItemRenderer extends eui.ItemRenderer { ...@@ -7,9 +6,14 @@ export default class TargetItemRenderer extends eui.ItemRenderer {
} }
dataChanged(){ dataChanged(){
this['icon_LOLLIPOP'].visible=this.data.type == ElementType.LOLLIPOP; for (let i = 0; i <10; i++) {
this['icon_ICE'].visible=this.data.type == ElementType.ICE; this['icon' + i].visible=false;
this['icon_xxx'].visible=this.data.type == ElementType.ROCK;
}
this['icon' + this.data.type].visible=true;
this['txt'].text = `X${this.data.count }`; this['txt'].text = `X${this.data.count }`;
} }
} }
\ No newline at end of file
...@@ -11,361 +11,6 @@ ...@@ -11,361 +11,6 @@
"levelNum": 1, "levelNum": 1,
"maxScore": 36320, "maxScore": 36320,
"stars": 3 "stars": 3
},
{
"levelNum": 2,
"maxScore": 18680,
"stars": 3
},
{
"levelNum": 3,
"maxScore": 19530,
"stars": 3
},
{
"levelNum": 4,
"maxScore": 20230,
"stars": 3
},
{
"levelNum": 5,
"maxScore": 10710,
"stars": 3
},
{
"levelNum": 6,
"maxScore": 42580,
"stars": 3
},
{
"levelNum": 7,
"maxScore": 23700,
"stars": 3
},
{
"levelNum": 8,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 9,
"maxScore": 70330,
"stars": 3
},
{
"levelNum": 10,
"maxScore": 27710,
"stars": 3
},
{
"levelNum": 11,
"maxScore": 19410,
"stars": 3
},
{
"levelNum": 12,
"maxScore": 23650,
"stars": 3
},
{
"levelNum": 13,
"maxScore": 34150,
"stars": 1
},
{
"levelNum": 14,
"maxScore": 37110,
"stars": 1
},
{
"levelNum": 15,
"maxScore": 99999,
"stars": 2
},
{
"levelNum": 16,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 17,
"maxScore": 42420,
"stars": 3
},
{
"levelNum": 18,
"maxScore": 99999,
"stars": 2
},
{
"levelNum": 19,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 20,
"maxScore": 47520,
"stars": 3
},
{
"levelNum": 21,
"maxScore": 14080,
"stars": 3
},
{
"levelNum": 22,
"maxScore": 75790,
"stars": 1
},
{
"levelNum": 23,
"maxScore": 50340,
"stars": 3
},
{
"levelNum": 24,
"maxScore": 83590,
"stars": 3
},
{
"levelNum": 25,
"maxScore": 45570,
"stars": 3
},
{
"levelNum": 26,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 27,
"maxScore": 44540,
"stars": 2
},
{
"levelNum": 28,
"maxScore": 112230,
"stars": 3
},
{
"levelNum": 29,
"maxScore": 67810,
"stars": 3
},
{
"levelNum": 30,
"maxScore": 43530,
"stars": 2
},
{
"levelNum": 31,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 32,
"maxScore": 18450,
"stars": 1
},
{
"levelNum": 33,
"maxScore": 28560,
"stars": 1
},
{
"levelNum": 34,
"maxScore": 99999,
"stars": 1
},
{
"levelNum": 35,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 36,
"maxScore": 14860,
"stars": 0
},
{
"levelNum": 37,
"maxScore": 22300,
"stars": 0
},
{
"levelNum": 38,
"maxScore": 43380,
"stars": 3
},
{
"levelNum": 39,
"maxScore": 27610,
"stars": 0
},
{
"levelNum": 40,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 41,
"maxScore": 30890,
"stars": 2
},
{
"levelNum": 42,
"maxScore": 15660,
"stars": 3
},
{
"levelNum": 43,
"maxScore": 48170,
"stars": 1
},
{
"levelNum": 44,
"maxScore": 18080,
"stars": 1
},
{
"levelNum": 45,
"maxScore": 29170,
"stars": 1
},
{
"levelNum": 46,
"maxScore": 37980,
"stars": 1
},
{
"levelNum": 47,
"maxScore": 37800,
"stars": 3
},
{
"levelNum": 48,
"maxScore": 19950,
"stars": 1
},
{
"levelNum": 49,
"maxScore": 36190,
"stars": 0
},
{
"levelNum": 50,
"maxScore": 42610,
"stars": 2
},
{
"levelNum": 51,
"maxScore": 34300,
"stars": 1
},
{
"levelNum": 52,
"maxScore": 31650,
"stars": 3
},
{
"levelNum": 53,
"maxScore": 5140,
"stars": 0
},
{
"levelNum": 54,
"maxScore": 49630,
"stars": 3
},
{
"levelNum": 55,
"maxScore": 99999,
"stars": 1
},
{
"levelNum": 56,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 57,
"maxScore": 34090,
"stars": 2
},
{
"levelNum": 58,
"maxScore": 13030,
"stars": 3
},
{
"levelNum": 59,
"maxScore": 72760,
"stars": 1
},
{
"levelNum": 60,
"maxScore": 16250,
"stars": 1
},
{
"levelNum": 61,
"maxScore": 81870,
"stars": 3
},
{
"levelNum": 62,
"maxScore": 36110,
"stars": 1
},
{
"levelNum": 63,
"maxScore": 28240,
"stars": 3
},
{
"levelNum": 64,
"maxScore": 23910,
"stars": 1
},
{
"levelNum": 65,
"maxScore": 47990,
"stars": 1
},
{
"levelNum": 66,
"maxScore": 60740,
"stars": 3
},
{
"levelNum": 67,
"maxScore": 33670,
"stars": 1
},
{
"levelNum": 68,
"maxScore": 25370,
"stars": 3
},
{
"levelNum": 69,
"maxScore": 11650,
"stars": 0
},
{
"levelNum": 70,
"maxScore": 15910,
"stars": 1
},
{
"levelNum": 71,
"maxScore": 15910,
"stars": 1
},
{
"levelNum": 72,
"maxScore": 15910,
"stars": 1
} }
], ],
"remainProp": [ "remainProp": [
...@@ -382,9 +27,9 @@ ...@@ -382,9 +27,9 @@
"num": 0 "num": 0
} }
], ],
"remainEnargy": 9979, "remainEnargy": 99,
"askForEnergy": false, "askForEnergy": false,
"canReceiveTreasureBoxNum": 0, "canReceiveTreasureBoxNum": 10,
"nextRangeStarsNum": 150 "nextRangeStarsNum": 150
} }
} }
\ No newline at end of file
{
"success": true,
"code": "0000000000",
"desc": "OK",
"timestamp": 1566885811031,
"data": {
"wealth": 7960,
"totalStars": 145,
"levels": [
{
"levelNum": 1,
"maxScore": 36320,
"stars": 3
}
],
"remainProp": [
{
"type": 2,
"num": 0
},
{
"type": 3,
"num": 0
},
{
"type": 4,
"num": 0
}
],
"remainEnargy": 99,
"askForEnergy": false,
"canReceiveTreasureBoxNum": 10,
"nextRangeStarsNum": 150
}
}
\ No newline at end of file
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