Commit e1f8d251 authored by zjz1994's avatar zjz1994

Merge branch 'dev' of http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole into dev

# Conflicts:
#	egret/resource/default.res.json
parents e1b36368 28423b55
...@@ -127,8 +127,8 @@ ...@@ -127,8 +127,8 @@
// localStorage.clear(); // localStorage.clear();
window['imgver'] = '11112'; window['imgver'] = '11112';
//top 8 ,repeat 22 , bottom 3 //top 8 ,repeat 22 , bottom 3
window['total_level'] = 8 + 3 + 22 * 25; window['total_level'] = 8 + 3 + 22 * 26;
window['last_level'] = 550; window['last_level'] = 575;
var sharePic = document.getElementById('pic'); var sharePic = document.getElementById('pic');
sharePic.onclick = function () { sharePic.onclick = function () {
......
...@@ -403,6 +403,7 @@ export default class MainBase extends eui.UILayer { ...@@ -403,6 +403,7 @@ export default class MainBase extends eui.UILayer {
"lionMsgBg", "lionMsgBg",
"guideBox", "guideBox",
"msgTri", "msgTri",
"arrow",
"guideOver", "guideOver",
"guideLove", "guideLove",
"guideLevel", "guideLevel",
......
egret/resource/assets/map/guideOver.png

34.8 KB | W: | H:

egret/resource/assets/map/guideOver.png

15.4 KB | W: | H:

egret/resource/assets/map/guideOver.png
egret/resource/assets/map/guideOver.png
egret/resource/assets/map/guideOver.png
egret/resource/assets/map/guideOver.png
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/map/msgTri.png

919 Bytes | W: | H:

egret/resource/assets/map/msgTri.png

2.99 KB | W: | H:

egret/resource/assets/map/msgTri.png
egret/resource/assets/map/msgTri.png
egret/resource/assets/map/msgTri.png
egret/resource/assets/map/msgTri.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"name": "buy3" "name": "buy3"
}, },
{ {
"keys": "宝箱_png,宝箱1_png,宝箱2_png,宝箱3_png,宝箱bg_png,宝箱btn_png,道具_png,关闭 拷贝_png,光 副本 4_png,设置_png,设置bg_png,声音_png,声音关闭_png,狮子_png,退出_png,问题_png,无星星_png,星星_png,星星bg_png,音乐_png,音乐关闭_png,有星星_png,有星星2_png,有星星3_png,元宝bg_png,ad_icon_png,animal1_png,avatar_png,friend_avatar_png,guideBox_png,guideLevel_png,guideLove_png,guideMoney_png,guideOver_png,icon_png,iconbg_png,icongray_png,invite_icon_png,invite_txtbg_png,lionMsgBg_png,map_signicon_png,map1_jpg,map2_jpg,map2+_png,map2+bg_png,map2红包大作战_png,map2热门引导_png,map2周一红包雨_png,map3_jpg,map大转盘_png,map刮现金红包_png,map今日可领_png,map明日可领_png,maphot_png,msgTri_png,namebg_png,progress1_png,progress2_png,recordbtn_png,taskicon_png,map2+bg2_png,mapredbagicom_png,maplight2_png,taskBtn_png,txtbg_blue_png,txtbg_orange_png,txtbg_purple_png,mapredbagicom2_png,iconnow_png", "keys": "宝箱_png,宝箱1_png,宝箱2_png,宝箱3_png,宝箱bg_png,宝箱btn_png,道具_png,关闭 拷贝_png,光 副本 4_png,设置_png,设置bg_png,声音_png,声音关闭_png,狮子_png,退出_png,问题_png,无星星_png,星星_png,星星bg_png,音乐_png,音乐关闭_png,有星星_png,有星星2_png,有星星3_png,元宝bg_png,ad_icon_png,animal1_png,avatar_png,friend_avatar_png,guideBox_png,guideLevel_png,guideLove_png,guideMoney_png,guideOver_png,icon_png,iconbg_png,icongray_png,invite_icon_png,invite_txtbg_png,lionMsgBg_png,map_signicon_png,map1_jpg,map2_jpg,map2+_png,map2+bg_png,map2红包大作战_png,map2热门引导_png,map2周一红包雨_png,map3_jpg,map大转盘_png,map刮现金红包_png,map今日可领_png,map明日可领_png,maphot_png,msgTri_png,namebg_png,progress1_png,progress2_png,recordbtn_png,taskicon_png,map2+bg2_png,mapredbagicom_png,maplight2_png,taskBtn_png,txtbg_blue_png,txtbg_orange_png,txtbg_purple_png,mapredbagicom2_png,iconnow_png,arrow_png",
"name": "map" "name": "map"
}, },
{ {
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
"name": "friend" "name": "friend"
}, },
{ {
"keys": "invite_invite_png,invite_help_png,invite_btn_png,invite_bg_png,invitePrize_btn_png,invitePrize_bg_png,invitePrize_game_btn_png,invateCut_bg_png,invateCut_btn_png,invite_wx_tip_png,invite_rule_bg_png,invitebg2_png", "keys": "invite_invite_png,invite_help_png,invite_btn_png,invite_bg_png,invitePrize_btn_png,invitePrize_bg_png,invitePrize_game_btn_png,invateCut_btn_png,invite_wx_tip_png,invitebg2_png,invateCut_bg_png,invite_rule_bg_png",
"name": "invite" "name": "invite"
}, },
{ {
...@@ -113,11 +113,7 @@ ...@@ -113,11 +113,7 @@
"name": "inviteprizepanel" "name": "inviteprizepanel"
}, },
{ {
"keys": "invite_rule_bg_png", "keys": "invateCut_btn_png",
"name": "inviterulepanel"
},
{
"keys": "invateCut_btn_png,invateCut_bg_png",
"name": "invitecuttimepanel" "name": "invitecuttimepanel"
}, },
{ {
...@@ -181,7 +177,7 @@ ...@@ -181,7 +177,7 @@
"name": "hbcuttime" "name": "hbcuttime"
}, },
{ {
"keys": "hbPrize_bg_png,hbPrize_btn_png", "keys": "hbPrize_bg_png,hbPrize_btn_png,hbPrize_money_png,hbPrize_blood_png,hbPrize_icon1_png,hbPrize_icon3_png,hbPrize_icon2_png",
"name": "hbprize" "name": "hbprize"
}, },
{ {
...@@ -1155,11 +1151,6 @@ ...@@ -1155,11 +1151,6 @@
"type": "image", "type": "image",
"name": "startpanel通关条件_png" "name": "startpanel通关条件_png"
}, },
{
"url": "assets/invite/rule/invite_rule_bg.png",
"type": "image",
"name": "invite_rule_bg_png"
},
{ {
"url": "assets/invite/prize/invitePrize_btn.png", "url": "assets/invite/prize/invitePrize_btn.png",
"type": "image", "type": "image",
...@@ -1175,11 +1166,6 @@ ...@@ -1175,11 +1166,6 @@
"type": "image", "type": "image",
"name": "invitePrize_game_btn_png" "name": "invitePrize_game_btn_png"
}, },
{
"url": "assets/invite/cutTime/invateCut_bg.png",
"type": "image",
"name": "invateCut_bg_png"
},
{ {
"url": "assets/invite/cutTime/invateCut_btn.png", "url": "assets/invite/cutTime/invateCut_btn.png",
"type": "image", "type": "image",
...@@ -5200,6 +5186,46 @@ ...@@ -5200,6 +5186,46 @@
"name": "blooduanm_png", "name": "blooduanm_png",
"type": "image", "type": "image",
"url": "assets/blood/blooduanm.png" "url": "assets/blood/blooduanm.png"
},
{
"url": "assets/invite/cutTime/invateCut_bg.png",
"type": "image",
"name": "invateCut_bg_png"
},
{
"url": "assets/invite/rule/invite_rule_bg.png",
"type": "image",
"name": "invite_rule_bg_png"
},
{
"url": "assets/map/arrow.png",
"type": "image",
"name": "arrow_png"
},
{
"url": "assets/hbPrize/hbPrize_money.png",
"type": "image",
"name": "hbPrize_money_png"
},
{
"url": "assets/hbPrize/hbPrize_blood.png",
"type": "image",
"name": "hbPrize_blood_png"
},
{
"url": "assets/hbPrize/hbPrize_icon1.png",
"type": "image",
"name": "hbPrize_icon1_png"
},
{
"url": "assets/hbPrize/hbPrize_icon3.png",
"type": "image",
"name": "hbPrize_icon3_png"
},
{
"url": "assets/hbPrize/hbPrize_icon2.png",
"type": "image",
"name": "hbPrize_icon2_png"
} }
] ]
} }
\ No newline at end of file
...@@ -3,13 +3,17 @@ ...@@ -3,13 +3,17 @@
xmlns:w="http://ns.egret.com/wing"> xmlns:w="http://ns.egret.com/wing">
<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="508" height="225" source="{data.url}" y="518.96" horizontalCenter="0"/> <e:Image id="img" width="508" height="225" source="{data.url}" y="518.96" horizontalCenter="0"/>
<e:Image id="prop" scaleX="1" scaleY="1" horizontalCenter="-70.5" source="taskPrize_money_png" verticalCenter="0.5"/>
<e:Group id="numsgroup" x="376.42" anchorOffsetX="0" width="188" anchorOffsetY="0" height="62" verticalCenter="0">
<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: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"/>
<e:Image id="blood" source="singprize体力_png" y="462" horizontalCenter="0" visible="false"/> <e:Image id="blood" source="singprize体力_png" y="462" horizontalCenter="0" visible="false"/>
<e:Group id="numsgroup" x="411.02" y="501.56" scaleX="1.5" scaleY="1.5" visible="false"> <e:Group id="numsgroup111" x="411.02" y="501.56" scaleX="1.5" scaleY="1.5" visible="false">
<e:Image id="numsbg" source="signprize_numsbg_png" x="0" y="0" scaleX="1" scaleY="1"/> <e:Image id="numsbg" source="signprize_numsbg_png" x="0" y="0" scaleX="1" scaleY="1"/>
<e:Label id="propnums" text="X8" size="22" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center"/> <e:Label id="propnums" text="X8" size="22" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center"/>
</e:Group> </e:Group>
<e:Button id="ok_btn" label="" y="834" anchorOffsetX="187" anchorOffsetY="63" horizontalCenter="0"> <e:Button id="ok_btn" label="" y="821.84" anchorOffsetX="187" anchorOffsetY="63" 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="hbPrize_btn_png" source.down="hbPrize_btn_png" source.disabled="hbPrize_btn_png"/> <e:Image width="100%" height="100%" source="hbPrize_btn_png" source.down="hbPrize_btn_png" source.disabled="hbPrize_btn_png"/>
...@@ -17,7 +21,7 @@ ...@@ -17,7 +21,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="closeBtn" label="" x="597" y="282.33"> <e:Button id="closeBtn" label="" x="597" y="277.33">
<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"/>
...@@ -25,6 +29,6 @@ ...@@ -25,6 +29,6 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Label text="不愧是卓越的手速达人!" y="448" textColor="0xf54500" fontFamily="FZY3JW" size="36" horizontalCenter="0"/> <e:Label text="不愧是卓越的手速达人!" y="448" fontFamily="FZY3JW" size="36" horizontalCenter="0" textColor="0xc17343"/>
<e:Label id="tipLabel" text="一共抢到18个红包" y="398" textColor="0xF54500" fontFamily="FZY3JW" size="36" horizontalCenter="0"/> <e:Label id="tipLabel" text="一共抢到18个红包" y="398" fontFamily="FZY3JW" size="36" horizontalCenter="0" textColor="0xc17343"/>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="InviteSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" <e:Skin class="InviteSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui"
xmlns:w="http://ns.egret.com/wing"> xmlns:w="http://ns.egret.com/wing">
<e:Image y="216.33" source="invateCut_bg_png" horizontalCenter="0"/> <e:Image y="239.33" source="invateCut_bg_png" horizontalCenter="0"/>
<e:BitmapLabel id="cutTimeLabel" y="396.33" font="cutTimeFont_fnt" text="00:00:00" letterSpacing="10" horizontalCenter="0"/> <e:BitmapLabel id="cutTimeLabel" y="408.33" text="00时00分00" letterSpacing="10" horizontalCenter="0" font="hbCutTimeFont_fnt"/>
<e:Button id="closeBtn" label="" x="615" y="208.33"> <e:Button id="closeBtn" label="" x="600" y="239.33">
<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" <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png"
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="ok_btn" label="" y="596" anchorOffsetX="150" anchorOffsetY="48" horizontalCenter="0"> <e:Button id="ok_btn" label="" y="595" anchorOffsetX="150" anchorOffsetY="48" 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="invateCut_btn_png"/> <e:Image width="100%" height="100%" source="invateCut_btn_png"/>
...@@ -20,4 +20,5 @@ ...@@ -20,4 +20,5 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Component y="695" skinName="ADSmallSkin" anchorOffsetX="0" anchorOffsetY="0" horizontalCenter="0" visible="false"/>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="InviteSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" <e:Skin class="InviteSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui"
xmlns:w="http://ns.egret.com/wing"> xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*">
<e:Image y="45.33" horizontalCenter="0" source="invitePrize_bg_png"/> <e:Component y="910" skinName="ADSmallSkin" anchorOffsetX="0" anchorOffsetY="0" horizontalCenter="0" visible="false"/>
<e:Image id="prizeImg" y="426.77" source="" horizontalCenter="0" width="510" height="228"/> <e:Image y="-108.73" source="invitePrize_bg_png" horizontalCenter="0"/>
<e:Button id="closeBtn" label="" x="624" y="313.33"> <e:Image id="prizeImg" y="455.77" source="" horizontalCenter="0" width="510" height="228"/>
<e:Button id="closeBtn" label="" x="612" y="311.77">
<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" <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png"
...@@ -12,7 +13,7 @@ ...@@ -12,7 +13,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="ok_btn" label="" y="760" anchorOffsetX="138.5" anchorOffsetY="56.5" x="236.5"> <e:Button id="ok_btn" label="" y="790" anchorOffsetX="138.5" anchorOffsetY="56.5" x="236.5">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="invitePrize_btn_png"/> <e:Image width="100%" height="100%" source="invitePrize_btn_png"/>
...@@ -20,7 +21,7 @@ ...@@ -20,7 +21,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="game_btn" label="" y="760" anchorOffsetX="139" anchorOffsetY="56.5" x="527"> <e:Button id="game_btn" label="" y="790" anchorOffsetX="139" anchorOffsetY="56.5" x="527">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="invitePrize_game_btn_png"/> <e:Image width="100%" height="100%" source="invitePrize_game_btn_png"/>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="RuleSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="RuleSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Rect left="0" bottom="0" top="0" right="0" fillColor="0x000000" fillAlpha="0.7"/> <e:Rect left="0" bottom="0" top="0" right="0" fillColor="0x000000" fillAlpha="0.7"/>
<e:Image id="ruleBg" horizontalCenter="0.5" verticalCenter="-231" source="invite_rule_bg_png"/> <e:Image id="ruleBg" horizontalCenter="0" verticalCenter="-177" source="invite_rule_bg_png"/>
<e:Scroller id="scroller" width="545" height="527" y="398.2" horizontalCenter="0.5" anchorOffsetY="0"> <e:Scroller id="scroller" width="545" height="534" y="391.2" horizontalCenter="0.5" anchorOffsetY="0">
<e:Group id="group" width="100%" x="-1.26" y="36" anchorOffsetY="0" height="515"> <e:Group id="group" width="100%" x="0" y="-8" anchorOffsetY="0" height="535">
<e:Label id="labContent" width="100%" text="" lineSpacing="10" size="30" multiline="true" textColor="0xa54615" fontFamily="FZY3JW"/> <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>
</e:Group> </e:Group>
</e:Scroller> </e:Scroller>
<e:Button id="closeBtn" label="" x="604" y="340"> <e:Button id="closeBtn" label="" x="604.5" y="276">
<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"/>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="InviteRuleSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="InviteRuleSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image id="ruleBg" horizontalCenter="0.5" source="inviterulebg_png" y="152"/> <e:Image id="ruleBg" horizontalCenter="0" source="inviterulebg_png" y="117.2"/>
<e:Scroller id="scroller" width="545" x="104.76" height="507" y="377.2"> <e:Scroller id="scroller" width="545" height="497" y="365.2" anchorOffsetY="0" horizontalCenter="0.5">
<e:Group id="group" width="100%"> <e:Group id="group" width="100%" y="2" x="1" anchorOffsetY="0" height="528">
<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"/>
<e:layout> <e:layout>
<e:VerticalLayout/> <e:VerticalLayout/>
</e:layout> </e:layout>
</e:Group> </e:Group>
</e:Scroller> </e:Scroller>
<e:Button id="closeBtn" label="" x="614" y="301"> <e:Button id="closeBtn" label="" x="601" y="271.7">
<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"/>
......
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
<e:Skin class="InviteSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" <e:Skin class="InviteSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui"
xmlns:w="http://ns.egret.com/wing"> xmlns:w="http://ns.egret.com/wing">
<w:Config id="16dd8f58b77" visible="false"/> <w:Config id="16dd8f58b77" visible="false"/>
<e:Image id="light2" source="invitebg2_png" x="376" y="317" anchorOffsetX="356" anchorOffsetY="296"/> <e:Image id="light2" source="invitebg2_png" x="376" y="317" anchorOffsetX="356" anchorOffsetY="296" visible="false"/>
<e:Image id="light1" source="invitebg2_png" x="376" y="317" anchorOffsetX="356" anchorOffsetY="296"/> <e:Image id="light1" source="invitebg2_png" x="376" y="317" anchorOffsetX="356" anchorOffsetY="296" visible="false"/>
<e:Image y="241.33" horizontalCenter="0" source="invite_bg_png"/> <e:Image y="-103.17" horizontalCenter="0" source="invite_bg_png"/>
<e:Group id="con" y="-67"/> <e:Group id="con" y="-67" visible="false"/>
<e:Label text="邀请新玩家闯关可得现金券!" y="381.33" textColor="0xF54500" size="28" horizontalCenter="0" fontFamily="FZY3JW"/> <e:Label text="邀请新玩家闯关可得现金券!" y="381.33" size="28" horizontalCenter="0" fontFamily="FZY3JW" textColor="0xc17343"/>
<e:Image id="prizeImg" y="439.33" horizontalCenter="0.5" source="" width="510" height="228"/> <e:Image id="prizeImg" y="433.33" source="" width="510" height="228" horizontalCenter="0"/>
<e:Button id="closeBtn" label="" x="605" y="227.33"> <e:Button id="closeBtn" label="" x="604.5" y="312.5">
<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" <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png"
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Label id="numLabel" text="仅差3人可获得" y="679.33" textColor="0xf54500" size="28" horizontalCenter="0" /> <e:Label id="numLabel" text="仅差3人可获得" y="682.33" size="28" horizontalCenter="0" textColor="0xc17343"/>
<e:Label id="cutTimeLabel" text="将在23:43:21后失效" y="883.33" size="28" textColor="0xffffff" horizontalCenter="0" fontFamily="FZY3JW"/> <e:Label id="cutTimeLabel" text="将在23:43:21后失效" y="883.33" size="28" textColor="0xffffff" horizontalCenter="0" fontFamily="FZY3JW"/>
<e:Scroller width="545" height="90" y="766.33" anchorOffsetX="0" anchorOffsetY="0" horizontalCenter="0"> <e:Scroller width="545" height="90" y="766.33" anchorOffsetX="0" anchorOffsetY="0" horizontalCenter="0">
<e:Group anchorOffsetX="0"> <e:Group anchorOffsetX="0">
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<e:Label id="moneyCount" text="×999" x="37.7" size="28" fontFamily="FZY3JW" textColor="0xf25d45" bold="true" verticalCenter="0"/> <e:Label id="moneyCount" text="×999" x="37.7" size="28" fontFamily="FZY3JW" textColor="0xf25d45" bold="true" verticalCenter="0"/>
</e:Group> </e:Group>
<e:Group id="btnGroup" x="441" width="217" height="91" verticalCenter="0"> <e:Group id="btnGroup" x="441" width="217" height="91" verticalCenter="0">
<e:Image id="btnImg" source="TaskCenter_doneBtn_png" horizontalCenter="0" verticalCenter="0"/> <e:Image id="btnImg" horizontalCenter="0" verticalCenter="-1" source="TaskCenter_doneBtn_png"/>
<e:Label id="btnLabel" text="去完成" verticalAlign="middle" textAlign="center" horizontalCenter="0.5" verticalCenter="-4.5" strokeColor="0x7e7e7e" stroke="2" fontFamily="FZY3JW" size="30"/> <e:Label id="btnLabel" text="去完成" verticalAlign="middle" textAlign="center" horizontalCenter="0.5" verticalCenter="-4.5" strokeColor="0x7e7e7e" stroke="2" fontFamily="FZY3JW" size="30"/>
</e:Group> </e:Group>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Image id="img" y="374.77" touchEnabled="true" width="518" height="243" scaleX="1" scaleY="1" source="{data.url}" horizontalCenter="2" anchorOffsetX="0" anchorOffsetY="0"/> <e:Image id="img" y="374.77" touchEnabled="true" width="518" height="243" scaleX="1" scaleY="1" source="{data.url}" horizontalCenter="2" anchorOffsetX="0" anchorOffsetY="0"/>
<e:Image id="money" y="470.02" scaleX="0.7" scaleY="0.7" horizontalCenter="-41.5" source="taskPrize_money_png"/> <e:Image id="money" y="460.77" scaleX="1" scaleY="1" horizontalCenter="-58.5" source="taskPrize_money_png"/>
<e:Label id="propnums2" text="30" textColor="0x885037" bold="true" y="526.64" width="75" textAlign="right" x="287.6" fontFamily="FZY3JW" visible="false"/> <e:Label id="propnums2" text="30" textColor="0x885037" bold="true" y="526.64" width="75" textAlign="right" x="287.6" fontFamily="FZY3JW" visible="false"/>
<e:Image id="blood" y="376.16" source="common_blood_png" scaleX="0.7" scaleY="0.7" horizontalCenter="0" visible="false"/> <e:Image id="blood" y="376.16" source="common_blood_png" scaleX="0.7" scaleY="0.7" horizontalCenter="0" visible="false"/>
<e:Group id="numsgroup" x="380.4" y="468.27" anchorOffsetX="0" width="188" anchorOffsetY="0" height="62"> <e:Group id="numsgroup" x="384.4" y="468.27" anchorOffsetX="0" width="188" anchorOffsetY="0" height="62">
<e:Image id="numsbg" source="signprize_numsbg_png" x="0" y="0" visible="false"/> <e:Image id="numsbg" source="signprize_numsbg_png" x="0" y="0" visible="false"/>
<e:Label id="nums" text="X8" 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:Label id="tipsLabel" text="继续完成任务可以获得更多元宝哦~" y="632.73" textColor="0xF54500" fontFamily="FZY3JW" size="26" horizontalCenter="0"/> <e:Label id="tipsLabel" text="继续完成任务可以获得更多元宝哦~" y="632.73" textColor="0xF54500" fontFamily="FZY3JW" size="26" horizontalCenter="0"/>
<e:Group id="btn" y="690" anchorOffsetX="0" width="332.33" anchorOffsetY="0" height="104.33" horizontalCenter="0"> <e:Group id="btn" y="690" anchorOffsetX="0" width="332.33" anchorOffsetY="0" height="104.33" horizontalCenter="0">
......
...@@ -4,23 +4,25 @@ import { ShowWord } from "../something/uis/ShowWord"; ...@@ -4,23 +4,25 @@ import { ShowWord } from "../something/uis/ShowWord";
let cacheKey = "happyClear" + window["CFG"].consumerId; let cacheKey = "happyClear" + window["CFG"].consumerId;
export const getCacheKey=()=>{ export const getCacheKey = () => {
return cacheKey return cacheKey
} }
/** /**
* 读取缓存 * 读取缓存
*/ */
export function readCache(key: string = cacheKey, type: string = 'localStorage') { export function readCache(key: string = cacheKey, type: string = 'localStorage') {
if (!window[type]) { if(!window[type]) {
return false; return false;
} }
return window[type].getItem(key); return window[type].getItem(key);
} }
/** /**
* 写缓存 * 写缓存
*/ */
export function writeCache(key: string = cacheKey, value: any = 'true', type: string = 'localStorage') { export function writeCache(key: string = cacheKey, value: any = 'true', type: string = 'localStorage') {
if (!window[type]) { if(!window[type]) {
// trace(Func.replace(SysLang.lang_012, [type])); // trace(Func.replace(SysLang.lang_012, [type]));
return; return;
} }
...@@ -33,7 +35,9 @@ const parser = new window["SVGA"].Parser(); ...@@ -33,7 +35,9 @@ const parser = new window["SVGA"].Parser();
/** /**
* 箭头的svga,只加载一次 * 箭头的svga,只加载一次
*/ */
let arrow: egret.DisplayObjectContainer; // let arrow: egret.DisplayObjectContainer;
let arrow: eui.Group;
/** /**
* 地图页面的引导 * 地图页面的引导
* 进地图页面先判断缓存,显示界面 * 进地图页面先判断缓存,显示界面
...@@ -45,13 +49,14 @@ export class GuideCon extends egret.DisplayObjectContainer { ...@@ -45,13 +49,14 @@ export class GuideCon extends egret.DisplayObjectContainer {
groups: any[]; groups: any[];
couldOver: boolean = false; couldOver: boolean = false;
timeoutId: number; timeoutId: number;
tri: egret.Bitmap; // tri: egret.Bitmap;
showWord: ShowWord; showWord: ShowWord;
callback; callback;
constructor(callback) { constructor(callback) {
super(); super();
this.callback=callback; this.callback = callback;
var bg: egret.Shape = new egret.Shape(); var bg: egret.Shape = new egret.Shape();
bg.graphics.beginFill(0x000000, 0.7); bg.graphics.beginFill(0x000000, 0.7);
bg.graphics.drawRect(0, 0, 750, 1624); bg.graphics.drawRect(0, 0, 750, 1624);
...@@ -60,26 +65,26 @@ export class GuideCon extends egret.DisplayObjectContainer { ...@@ -60,26 +65,26 @@ export class GuideCon extends egret.DisplayObjectContainer {
this.addChild(bg); this.addChild(bg);
var board = new egret.Bitmap(RES.getRes("lionMsgBg_png")) var board = new egret.Bitmap(RES.getRes("lionMsgBg_png"))
board.x = 30; board.x = 143;
board.y = 620; board.y = 737;
board.touchEnabled = true; board.touchEnabled = true;
board.addEventListener(egret.TouchEvent.TOUCH_TAP, () => { board.addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
if (this.couldOver) { if(this.couldOver) {
clearTimeout(this.timeoutId); clearTimeout(this.timeoutId);
this.couldOver = false; this.couldOver = false;
this.goNext(); this.goNext();
} }
}, this) }, this)
this.addChild(board); this.addChild(board);
var tri = new egret.Bitmap(RES.getRes("msgTri_png")) // var tri = new egret.Bitmap(RES.getRes("msgTri_png"))
tri.x = 638; // tri.x = 638;
tri.y = 804; // tri.y = 804;
tri.visible = false; // tri.visible = false;
this.tri = tri; // this.tri = tri;
this.addChild(tri); // this.addChild(tri);
this.showWord = new ShowWord(); this.showWord = new ShowWord();
this.showWord.x = 315; this.showWord.x = 165;
this.showWord.y = 742; this.showWord.y = 818;
this.addChild(this.showWord); this.addChild(this.showWord);
this.groups = []; this.groups = [];
...@@ -111,8 +116,8 @@ export class GuideCon extends egret.DisplayObjectContainer { ...@@ -111,8 +116,8 @@ export class GuideCon extends egret.DisplayObjectContainer {
var gg = new egret.DisplayObjectContainer(); var gg = new egret.DisplayObjectContainer();
gg.addChild(new egret.Bitmap(RES.getRes("道具_png"))); gg.addChild(new egret.Bitmap(RES.getRes("道具_png")));
var recordBtn = new egret.Bitmap(RES.getRes("recordbtn_png")); var recordBtn = new egret.Bitmap(RES.getRes("recordbtn_png"));
recordBtn.x = 620.14-615.08; recordBtn.x = 620.14 - 615.08;
recordBtn.y = 255.91-128.01; recordBtn.y = 255.91 - 128.01;
gg.addChild(recordBtn); gg.addChild(recordBtn);
this.addChild(gg); this.addChild(gg);
this.groups.push(gg); this.groups.push(gg);
...@@ -125,38 +130,62 @@ export class GuideCon extends egret.DisplayObjectContainer { ...@@ -125,38 +130,62 @@ export class GuideCon extends egret.DisplayObjectContainer {
guideOver.y = 1024; guideOver.y = 1024;
guideOver.touchEnabled = true; guideOver.touchEnabled = true;
guideOver.addEventListener(egret.TouchEvent.TOUCH_TAP, () => { guideOver.addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
if (this.parent) this.parent.removeChild(this); if(this.parent) this.parent.removeChild(this);
clearTimeout(this.timeoutId); clearTimeout(this.timeoutId);
writeCache(); writeCache();
if(this.callback)this.callback(); if(this.callback) this.callback();
}, this) }, this)
this.addChild(guideOver); this.addChild(guideOver);
//箭头 //箭头
if (!arrow) { // if(!arrow) {
arrow = new window["SVGA"].EgretMovieClip(); // arrow = new window["SVGA"].EgretMovieClip();
arrow["lockStep"] = true; // arrow["lockStep"] = true;
this.addChild(arrow); // this.addChild(arrow);
parser.load(resPath + 'resource/assets/svgas/' + 'guideArrow.svga', (videoItem) => { // parser.load(resPath + 'resource/assets/svgas/' + 'guideArrow.svga', (videoItem) => {
arrow["init"](videoItem) // arrow["init"](videoItem)
}, function (error) { // }, function(error) {
// alert(error.message); // // alert(error.message);
}) // })
} else { // } else {
// this.addChild(arrow);
// }
if(!arrow) {
arrow = new eui.Group();
let arrowImg = new egret.Bitmap(RES.getRes("arrow_png"));
arrow.addChild(arrowImg);
this.addChild(arrow); this.addChild(arrow);
egret.Tween.get(arrowImg, {loop: true})
.set({x: 0, y: 0})
.to({x: 0, y: -40}, 350, egret.Ease.quadInOut)
.to({x: 0, y: 0}, 350, egret.Ease.quadInOut);
// this.groups.push(arrowImg);
} }
//先都隐藏 //先都隐藏
for (var i = 0; i < this.groups.length; i++) { for(var i = 0; i < this.groups.length; i++) {
this.groups[i].visible = false; this.groups[i].visible = false;
} }
} }
// positions: number[][] = [
// [338, 310, 180],
// [530, 310, 180],
// [369, 380, 0],
// [743, 310, 180],
// [440, 350, -90],
// ];
positions: number[][] = [ positions: number[][] = [
[338, 310, 180], [283, 190, 180],
[530, 310, 180], [473, 190, 180],
[369, 380, 0], [445, 500, 0],
[743, 310, 180], [675, 190, 180],
[440, 350, -90], [440, 350, -90],
]; ];
words: string[] = [ words: string[] = [
...@@ -166,6 +195,7 @@ export class GuideCon extends egret.DisplayObjectContainer { ...@@ -166,6 +195,7 @@ export class GuideCon extends egret.DisplayObjectContainer {
"每个关卡收集的星星可用于\n开启宝箱,宝箱里还有更多\n无敌券、品牌券在等你!", "每个关卡收集的星星可用于\n开启宝箱,宝箱里还有更多\n无敌券、品牌券在等你!",
"进入道具商城去兑换道具为\n游戏加分吧~获得的奖励可\n在“我的奖励”中查看哦" "进入道具商城去兑换道具为\n游戏加分吧~获得的奖励可\n在“我的奖励”中查看哦"
]; ];
/** /**
* 1开始 * 1开始
* @param step * @param step
...@@ -182,11 +212,11 @@ export class GuideCon extends egret.DisplayObjectContainer { ...@@ -182,11 +212,11 @@ export class GuideCon extends egret.DisplayObjectContainer {
this.showWord.play(this.words[step - 1], () => { this.showWord.play(this.words[step - 1], () => {
this.couldOver = true; this.couldOver = true;
this.tri.visible = true; // this.tri.visible = true;
egret.Tween.get(this.tri, { loop: true }, null, true) // egret.Tween.get(this.tri, { loop: true }, null, true)
.set({ y: 804 }) // .set({ y: 804 })
.to({ y: 814 }, 300) // .to({ y: 814 }, 300)
.to({ y: 804 }, 300) // .to({ y: 804 }, 300)
this.timeoutId = setTimeout(() => { this.timeoutId = setTimeout(() => {
clearTimeout(this.timeoutId); clearTimeout(this.timeoutId);
this.couldOver = false; this.couldOver = false;
...@@ -197,8 +227,8 @@ export class GuideCon extends egret.DisplayObjectContainer { ...@@ -197,8 +227,8 @@ export class GuideCon extends egret.DisplayObjectContainer {
private toggleVisible(step: number) { private toggleVisible(step: number) {
for (var i = 0; i < this.groups.length; i++) { for(var i = 0; i < this.groups.length; i++) {
if (i + 1 == step) { if(i + 1 == step) {
this.groups[i].visible = true; this.groups[i].visible = true;
} else { } else {
this.groups[i].visible = false this.groups[i].visible = false
...@@ -208,15 +238,15 @@ export class GuideCon extends egret.DisplayObjectContainer { ...@@ -208,15 +238,15 @@ export class GuideCon extends egret.DisplayObjectContainer {
private goNext() { private goNext() {
this.curStep++; this.curStep++;
if (this.curStep > this.steps) { if(this.curStep > this.steps) {
if (this.parent) this.parent.removeChild(this); if(this.parent) this.parent.removeChild(this);
writeCache(); writeCache();
if(this.callback)this.callback(); if(this.callback) this.callback();
} else { } else {
this.play(this.curStep); this.play(this.curStep);
//隐藏三角形 //隐藏三角形
this.tri.visible = false; // this.tri.visible = false;
egret.Tween.removeTweens(this.tri) // egret.Tween.removeTweens(this.tri)
} }
} }
......
...@@ -809,23 +809,25 @@ export default class MapScene extends Scene { ...@@ -809,23 +809,25 @@ export default class MapScene extends Scene {
} }
loadsvga(res) { loadsvga(res) {
if (MapScene['svga']) {
const mv = MapScene['svga']
mv.gotoAndStop(1);
res.data.svga = mv;
PanelCtrl.instance.show('invite', res.data); PanelCtrl.instance.show('invite', res.data);
return;
} // if (MapScene['svga']) {
Loading.instace.show(); // const mv = MapScene['svga']
loadSvga(getResPath() + 'resource/assets/svgas/invite.svga').then(async (mv: any) => { // mv.gotoAndStop(1);
console.log('svga', mv) // res.data.svga = mv;
MapScene['svga'] = mv; // PanelCtrl.instance.show('invite', res.data);
await wait(200); // return;
Loading.instace.hide(); // }
mv.gotoAndStop(1); // Loading.instace.show();
res.data.svga = mv; // loadSvga(getResPath() + 'resource/assets/svgas/invite.svga').then(async (mv: any) => {
PanelCtrl.instance.show('invite', res.data); // console.log('svga', mv)
}) // MapScene['svga'] = mv;
// await wait(200);
// Loading.instace.hide();
// mv.gotoAndStop(1);
// res.data.svga = mv;
// PanelCtrl.instance.show('invite', res.data);
// })
} }
//1234变化的情况 //1234变化的情况
updateIconLayout() { updateIconLayout() {
......
...@@ -24,6 +24,7 @@ export default class ADPanel extends Panel { ...@@ -24,6 +24,7 @@ export default class ADPanel extends Panel {
this.data.img = result.img; this.data.img = result.img;
this['adBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, () => { this['adBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
if(result.url=='0')return;
NetManager.ins.clickLog(getlogItem(25)); NetManager.ins.clickLog(getlogItem(25));
wait(100).then(()=>{ wait(100).then(()=>{
window.location.href = result.url; window.location.href = result.url;
......
...@@ -11,9 +11,18 @@ import { NetManager } from "../../../libs/tw/manager/NetManager"; ...@@ -11,9 +11,18 @@ import { NetManager } from "../../../libs/tw/manager/NetManager";
* 红包雨奖励 * 红包雨奖励
*/ */
export default class HbPrize extends Panel { export default class HbPrize extends Panel {
public ok_btn: eui.Button; public img:eui.Image;
public closeBtn: eui.Button; public prop:eui.Image;
public tipLabel: eui.Label; public numsgroup:eui.Group;
public nums:eui.Label;
public money:eui.Image;
public blood:eui.Image;
public numsgroup111:eui.Group;
public numsbg:eui.Image;
public propnums:eui.Label;
public ok_btn:eui.Button;
public closeBtn:eui.Button;
public tipLabel:eui.Label;
constructor(data) { constructor(data) {
super(); super();
...@@ -33,24 +42,26 @@ export default class HbPrize extends Panel { ...@@ -33,24 +42,26 @@ 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 = 'x1'; this['propnums'].text = '×1';
if (num) if (num)
this['propnums'].text = 'x' + num; this['propnums'].text = '×' + num;
switch (categoryType) { switch (categoryType) {
case 2: case 2:
this['blood'].visible = true; this.prop.source = 'hbPrize_blood_png';
this['numsgroup'].visible = true; this['numsgroup'].visible = true;
// this['blood'].visible = true;
break; break;
case 3: case 3:
this.prop.source = `hbPrize_icon${propType}_png`;
this['numsgroup'].visible = true; this['numsgroup'].visible = true;
this['img'].visible = true; // this['img'].visible = true;
this.data.url = `turnprize_icon${propType}_png`;
break; break;
case 4: case 4:
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 = 'x' + realValue; this['propnums'].text = '×' + realValue;
break; break;
default: default:
this['img'].visible = true; this['img'].visible = true;
......
...@@ -69,7 +69,7 @@ export default class InviteCutTimePanel extends Panel { ...@@ -69,7 +69,7 @@ export default class InviteCutTimePanel extends Panel {
this.timer.addEventListener(egret.TimerEvent.TIMER, this.cutTimer, this); this.timer.addEventListener(egret.TimerEvent.TIMER, this.cutTimer, this);
this.timer.start(); this.timer.start();
this.cutTimer(); this.cutTimer();
addAdComp(84, 726.33, this,38); addAdComp(84, 695, this,38);
} }
private cutTimer() { private cutTimer() {
...@@ -80,7 +80,7 @@ export default class InviteCutTimePanel extends Panel { ...@@ -80,7 +80,7 @@ export default class InviteCutTimePanel extends Panel {
this.timer.stop(); this.timer.stop();
this.hidePanel(); this.hidePanel();
} }
this.cutTimeLabel.text = `${timer.hour}:${timer.min}:${timer.sec}`; this.cutTimeLabel.text = `${timer.hour}${timer.min}${timer.sec}`;
} }
private convertTime(time: number) { private convertTime(time: number) {
......
...@@ -5,7 +5,7 @@ import { NetManager } from "../../libs/tw/manager/NetManager"; ...@@ -5,7 +5,7 @@ import { NetManager } from "../../libs/tw/manager/NetManager";
import { iswx } from "../iswx"; import { iswx } from "../iswx";
import Utils from "../Utils"; import Utils from "../Utils";
import InviteRulePanel from "./InviteRulePanel"; import InviteRulePanel from "./InviteRulePanel";
import wait from "../../libs/new_tc/wait"; // import wait from "../../libs/new_tc/wait";
import { getlogItem } from "../Main"; import { getlogItem } from "../Main";
import { showShareCodePanel, CodeChannels } from "./ShareCodePanel"; import { showShareCodePanel, CodeChannels } from "./ShareCodePanel";
...@@ -30,17 +30,17 @@ export default class InvitePanel extends Panel { ...@@ -30,17 +30,17 @@ export default class InvitePanel extends Panel {
async start(data) { async start(data) {
super.start(); super.start();
this.showlog(); this.showlog();
this['light1'].visible = this['light2'].visible = false; // this['light1'].visible = this['light2'].visible = false;
this['con'].addChild(this.data.svga); // this['con'].addChild(this.data.svga);
this.data.svga.gotoAndPlay(1, true); // this.data.svga.gotoAndPlay(1, true);
this.data.svga.once(egret.Event.COMPLETE, () => { // this.data.svga.once(egret.Event.COMPLETE, () => {
this.data.svga.stop(1); // this.data.svga.stop(1);
}, this); // }, this);
//
setTimeout(() => { // setTimeout(() => {
this.playBgAni(); // this.playBgAni();
}, 500); // }, 500);
// wait(500).then(()=>{ // wait(500).then(()=>{
// loadSvga2( // loadSvga2(
// , // ,
...@@ -51,12 +51,12 @@ export default class InvitePanel extends Panel { ...@@ -51,12 +51,12 @@ export default class InvitePanel extends Panel {
} }
playBgAni() { // playBgAni() {
this['light1'].visible = this['light2'].visible = true; // this['light1'].visible = this['light2'].visible = true;
const time = 7000; // const time = 7000;
egret.Tween.get(this['light1'], { loop: true }).to({ rotation: 360 }, time); // egret.Tween.get(this['light1'], { loop: true }).to({ rotation: 360 }, time);
egret.Tween.get(this['light2'], { loop: true }).to({ rotation: -360 }, time); // egret.Tween.get(this['light2'], { loop: true }).to({ rotation: -360 }, time);
} // }
showlog() { showlog() {
// NetManager.ins.showLog(getlogItem(3)); // NetManager.ins.showLog(getlogItem(3));
......
...@@ -66,7 +66,7 @@ export default class InvitePrizePanel extends Panel { ...@@ -66,7 +66,7 @@ export default class InvitePrizePanel extends Panel {
initUI() { initUI() {
this.prizeImg.source = this.data.prizeImg; this.prizeImg.source = this.data.prizeImg;
addAdComp(84, 845.33, this,38); addAdComp(84, 910, this,38);
} }
protected get closeBtns(): eui.Button[] { protected get closeBtns(): eui.Button[] {
......
import { ChapterData } from "../interface/ChapterData";
//551-575
export const Chapters22: ChapterData[] = [
]
...@@ -23,6 +23,7 @@ import { Chapters18 } from "./Chapter18"; ...@@ -23,6 +23,7 @@ import { Chapters18 } from "./Chapter18";
import { Chapters19 } from "./Chapter19"; import { Chapters19 } from "./Chapter19";
import { Chapters20 } from "./Chapter20"; import { Chapters20 } from "./Chapter20";
import { Chapters21 } from "./Chapter21"; import { Chapters21 } from "./Chapter21";
import { Chapters22 } from "./Chapter22";
//所有的关卡 //所有的关卡
const chapters: ChapterData[] = [].concat( const chapters: ChapterData[] = [].concat(
...@@ -47,6 +48,7 @@ const chapters: ChapterData[] = [].concat( ...@@ -47,6 +48,7 @@ const chapters: ChapterData[] = [].concat(
Chapters19, Chapters19,
Chapters20, Chapters20,
Chapters21, Chapters21,
Chapters22,
) )
// console.log(chapters) // console.log(chapters)
chapters.forEach((chapter,index) => { chapters.forEach((chapter,index) => {
......
...@@ -6,9 +6,9 @@ export class ShowWord extends egret.DisplayObjectContainer { ...@@ -6,9 +6,9 @@ export class ShowWord extends egret.DisplayObjectContainer {
constructor() { constructor() {
super(); super();
this.showText = new egret.TextField(); this.showText = new egret.TextField();
this.showText.size = 28; this.showText.size = 24;
this.showText.textColor = 0x000000; this.showText.textColor = 0xc17343;
this.showText.width = 410; this.showText.width = 380;
this.showText.textAlign = egret.HorizontalAlign.LEFT; this.showText.textAlign = egret.HorizontalAlign.LEFT;
this.showText.lineSpacing = 10; this.showText.lineSpacing = 10;
this.addChild(this.showText); this.addChild(this.showText);
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
"advertList":[ "advertList":[
{ {
"img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg", "img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg",
"url":"Http://www.baidu.com" "url":"0"
}, },
{ {
"img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg", "img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg",
"url":"Http://www.baidu.com" "url":"0"
} }
] ]
}, },
...@@ -22,11 +22,11 @@ ...@@ -22,11 +22,11 @@
"advertList":[ "advertList":[
{ {
"img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg", "img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg",
"url":"Http://www.baidu.com" "url":"0"
}, },
{ {
"img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg", "img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg",
"url":"Http://www.baidu.com" "url":"0"
} }
] ]
}, },
...@@ -35,11 +35,11 @@ ...@@ -35,11 +35,11 @@
"advertList":[ "advertList":[
{ {
"img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg", "img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg",
"url":"Http://www.baidu.com" "url":"0"
}, },
{ {
"img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg", "img":"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg",
"url":"Http://www.baidu.com" "url":"0"
} }
] ]
} }
......
...@@ -2633,8 +2633,262 @@ ...@@ -2633,8 +2633,262 @@
"levelNum": 524, "levelNum": 524,
"maxScore": 47440, "maxScore": 47440,
"stars": 1 "stars": 1
},
{
"levelNum": 525,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 526,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 527,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 528,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 529,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 530,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 531,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 532,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 533,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 534,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 535,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 536,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 537,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 538,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 539,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 540,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 541,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 542,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 543,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 544,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 545,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 546,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 547,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 548,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 549,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 550,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 551,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 552,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 553,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 554,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 555,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 556,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 557,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 558,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 559,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 560,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 561,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 562,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 563,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 564,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 565,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 566,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 567,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 568,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 569,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 570,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 571,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 572,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 573,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 574,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 575,
"maxScore": 47440,
"stars": 1
} }
], ],
"remainProp": [ "remainProp": [
{ {
...@@ -2650,7 +2904,7 @@ ...@@ -2650,7 +2904,7 @@
"num": 3 "num": 3
} }
], ],
"remainEnargy": 1, "remainEnargy": 99,
"askForEnergy": false, "askForEnergy": false,
"canReceiveTreasureBoxNum": 10, "canReceiveTreasureBoxNum": 10,
"nextRangeStarsNum": 150 "nextRangeStarsNum": 150
......
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