Commit 59a842c5 authored by zjz1994's avatar zjz1994

调整资源,签到

parent cae7c42c
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
"name": "exchange" "name": "exchange"
}, },
{ {
"keys": "signitem_png,signicon6_png,signicon5_png,signicon4_png,signicon3_png,signicon2_png,signicon_blood_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_quan88_png,sign_quan8_png,sign_quan58_png,sign_quan38_png,sign_quan28_png,sign_quan16_png,sign_quan15_png,sign_quan12_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1_png,sign_quan10_png,sign_quan23_png,sign_quan36_png,sign_quan25_png,sign_quan35_png,sign_quan30_png,sign_mask_png,signitemno_png,signitemyes_png,unsignbtn_png", "keys": "signitem_png,signicon6_png,signicon5_png,signicon4_png,signicon3_png,signicon2_png,signicon_blood_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_quan88_png,sign_quan8_png,sign_quan58_png,sign_quan38_png,sign_quan28_png,sign_quan16_png,sign_quan15_png,sign_quan12_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1_png,sign_quan10_png,sign_quan23_png,sign_quan36_png,sign_quan25_png,sign_quan35_png,sign_quan30_png,sign_mask_png,signitemno_png,signitemyes_png,unsignbtn_png,virprizebg_png",
"name": "sign" "name": "sign"
}, },
{ {
...@@ -239,6 +239,10 @@ ...@@ -239,6 +239,10 @@
{ {
"keys": "help_blood_1_btn_png,help_blood_1_text_png,help_blood_fail_btn_png,help_blood_fail_text_png,help_blood_fail_text2_png,help_blood_fail_text3_png,help_blood_fail_text4_png,help_blood_success_text_png,help_blood_success_text2_png,help_card_bg_png,help_card_prize_png,help_closebtn1_png,help_invite2_btn_png,help_invite2_btn2_png,help_invite2_text_png,help_invite2_text2_png,help_invite2_text3_png,help_invite2_text4_png,help_invite_bg_png,help_invite_btn1_png,help_invite_fail_btn_png,help_invite_fail_text1_png,help_invite_fail_text2_png,help_invite_fail_text3_png,help_invite_fail_text4_png,help_invite_success_btn_png,help_invite_success_txt_png,help_invite_text_png,help_light_png", "keys": "help_blood_1_btn_png,help_blood_1_text_png,help_blood_fail_btn_png,help_blood_fail_text_png,help_blood_fail_text2_png,help_blood_fail_text3_png,help_blood_fail_text4_png,help_blood_success_text_png,help_blood_success_text2_png,help_card_bg_png,help_card_prize_png,help_closebtn1_png,help_invite2_btn_png,help_invite2_btn2_png,help_invite2_text_png,help_invite2_text2_png,help_invite2_text3_png,help_invite2_text4_png,help_invite_bg_png,help_invite_btn1_png,help_invite_fail_btn_png,help_invite_fail_text1_png,help_invite_fail_text2_png,help_invite_fail_text3_png,help_invite_fail_text4_png,help_invite_success_btn_png,help_invite_success_txt_png,help_invite_text_png,help_light_png",
"name": "helpGroup" "name": "helpGroup"
},
{
"keys": "virprizebg_png",
"name": "preload"
} }
], ],
"resources": [ "resources": [
...@@ -5382,6 +5386,11 @@ ...@@ -5382,6 +5386,11 @@
"url": "assets/sign/unsignbtn.png", "url": "assets/sign/unsignbtn.png",
"type": "image", "type": "image",
"name": "unsignbtn_png" "name": "unsignbtn_png"
},
{
"url": "assets/sign/virprizebg.png",
"type": "image",
"name": "virprizebg_png"
} }
] ]
} }
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="BagSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="BagSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image id="combglight" source="combglight_png" y="371.64" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight" source="combglight_png" y="414.06" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image id="combglight1" source="combglight_png" y="371.64" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight1" source="combglight_png" y="414.06" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image source="bagbg_png" horizontalCenter="0" verticalCenter="-71.5"/> <e:Image source="bagbg_png" horizontalCenter="0" verticalCenter="-71.5"/>
<e:Group id="group1" y="377" horizontalCenter="0" visible="false"> <e:Group id="group1" y="377" horizontalCenter="0" visible="false">
<e:Image source="bag我的道具_png" y="0" x="0"/> <e:Image source="bag我的道具_png" y="0" x="0"/>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="BloodSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="BloodSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image id="combglight" source="combglight_png" y="341.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight" source="combglight_png" y="398.89" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image id="combglight1" source="combglight_png" y="341.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight1" source="combglight_png" y="398.89" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image id="bg2" fillMode="clip" y="-75.58" source="blooduanm_png" horizontalCenter="0" scale9Grid="140,498,445,80"/> <e:Image id="bg2" fillMode="clip" y="-75.58" source="blooduanm_png" horizontalCenter="0" scale9Grid="140,498,445,80"/>
<e:Group id="topinfo" width="750" height="50" y="355.57" horizontalCenter="0"> <e:Group id="topinfo" width="750" height="50" y="355.57" horizontalCenter="0">
<e:Image source="bloodhert_png" x="293.98" scaleX="0.4" scaleY="0.4" verticalCenter="2.5"/> <e:Image source="bloodhert_png" x="293.98" scaleX="0.4" scaleY="0.4" verticalCenter="2.5"/>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<e:Skin class="BoxSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="BoxSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16cc233ca3b"/> <w:Config id="16cc233ca3b"/>
<e:Component y="854.52" skinName="ADSmallSkin" horizontalCenter="0.5" visible="false"/> <e:Component y="854.52" skinName="ADSmallSkin" horizontalCenter="0.5" visible="false"/>
<e:Image id="combglight" source="combglight_png" y="241" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight" source="combglight_png" y="380.39" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image id="combglight1" source="combglight_png" y="241" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight1" source="combglight_png" y="380.39" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image source="boxbg_png" y="-147.9" scale9Grid="93,413,564,43" x="0"/> <e:Image source="boxbg_png" y="-147.9" scale9Grid="93,413,564,43" x="0"/>
<e:Image id="bg" source="commom_prop_bg_png" x="113.02" y="403.62"/> <e:Image id="bg" source="commom_prop_bg_png" x="113.02" y="403.62"/>
<e:Label id="propnums" text="X8" size="50" horizontalCenter="59" verticalCenter="-86" verticalAlign="middle" textAlign="center" textColor="0xC17343" fontFamily="FZY3JW" x="510.38" y="534.4" bold="true" visible="false"/> <e:Label id="propnums" text="X8" size="50" horizontalCenter="59" verticalCenter="-86" verticalAlign="middle" textAlign="center" textColor="0xC17343" fontFamily="FZY3JW" x="510.38" y="534.4" bold="true" visible="false"/>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="Buy1Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="Buy1Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16c95475a4e"/> <w:Config id="16c95475a4e"/>
<e:Image id="combglight" source="combglight_png" y="407.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight" source="combglight_png" y="413.38" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image id="combglight1" source="combglight_png" y="407.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight1" source="combglight_png" y="413.38" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image y="-62" source="购买锤子_png" horizontalCenter="0"/> <e:Image y="-62" source="购买锤子_png" horizontalCenter="0"/>
<e:Button id="closeBtn" label="" x="608" y="289"> <e:Button id="closeBtn" label="" x="608" y="289">
<e:skinName> <e:skinName>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="Buy2Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="Buy2Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image id="combglight" source="combglight_png" y="407.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight" source="combglight_png" y="413.38" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image id="combglight1" source="combglight_png" y="407.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight1" source="combglight_png" y="413.38" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image y="-62" horizontalCenter="0" source="购买炸弹_png"/> <e:Image y="-62" horizontalCenter="0" source="购买炸弹_png"/>
<e:Button id="closeBtn" label="" x="597.39" y="278.7"> <e:Button id="closeBtn" label="" x="597.39" y="278.7">
<e:skinName> <e:skinName>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="Buy3Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="Buy3Skin" 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 id="combglight" source="combglight_png" y="404.98" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight" source="combglight_png" y="411.04" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image id="combglight1" source="combglight_png" y="404.98" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight1" source="combglight_png" y="411.04" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image y="-62" horizontalCenter="0" source="购买步数增加_png"/> <e:Image y="-62" horizontalCenter="0" source="购买步数增加_png"/>
<e:Button id="closeBtn" label="" x="592" y="289"> <e:Button id="closeBtn" label="" x="592" y="289">
<e:skinName> <e:skinName>
......
...@@ -36,13 +36,18 @@ ...@@ -36,13 +36,18 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Group id="prizegroup" width="750" height="1206" x="0" y="0" visible="false"> <e:Group id="prizegroup" width="750" height="1206" x="0" y="0">
<e:Rect id="mask1" fillAlpha="0.8" x="0" y="0" scaleX="1" scaleY="1" width="750" height="1206"/> <e:Rect id="mask1" fillAlpha="0.8" x="0" y="0" scaleX="1" scaleY="1" width="750" height="1206"/>
<e:Group id="lightbot" width="750" height="1206" x="0" y="0"/> <e:Group id="lightbot" width="750" height="1206" x="0" y="0"/>
<e:Group id="giftbox" width="750" height="1206"/> <e:Group id="giftbox" width="750" height="1206"/>
<e:Group id="contmid" width="750" height="1206" anchorOffsetX="375" x="375" anchorOffsetY="603" y="603"> <e:Group id="contmid" width="750" height="1206" anchorOffsetX="375" x="375" anchorOffsetY="603" y="603">
<e:Image id="prizeimg" scaleX="2" scaleY="2" y="537" source="" horizontalCenter="0"/> <e:Image id="prizeimg" scaleX="2" scaleY="2" y="537" source="" horizontalCenter="0"/>
<e:Image id="prizeimg1" scaleX="1" scaleY="1" y="480" source="" horizontalCenter="0.5"/> <e:Group id="prize1" width="606" height="286" y="526.39" scaleX="1" scaleY="1" horizontalCenter="0">
<e:Image source="virprizebg_png" scaleX="1" scaleY="1" horizontalCenter="0" verticalCenter="0"/>
<e:Image id="prizeimg1" scaleX="1" scaleY="1" source="" width="585" height="273" anchorOffsetX="0" verticalCenter="0" horizontalCenter="0"/>
<e:Image id="maskimg" source="virprizebg_png" scaleX="1" scaleY="1" horizontalCenter="0" verticalCenter="0" x="10" y="10" width="585" height="273"/>
</e:Group>
<e:Image id="prizeimg2" source="turnprize_icon2_png" scaleX="1" scaleY="1" x="317" y="545" visible="false"/> <e:Image id="prizeimg2" source="turnprize_icon2_png" scaleX="1" scaleY="1" x="317" y="545" visible="false"/>
<e:Group id="numsgroup" anchorOffsetX="0" width="188" anchorOffsetY="0" height="62" x="281" y="684"> <e:Group id="numsgroup" anchorOffsetX="0" width="188" anchorOffsetY="0" height="62" x="281" y="684">
<e:Label id="nums" text="×8" size="48" verticalAlign="middle" fontFamily="FZY3JW" textColor="0xC17343" bold="true" y="7" x="68"/> <e:Label id="nums" text="×8" size="48" verticalAlign="middle" fontFamily="FZY3JW" textColor="0xC17343" bold="true" y="7" x="68"/>
......
...@@ -28,7 +28,7 @@ export default class SignPanel extends Panel { ...@@ -28,7 +28,7 @@ export default class SignPanel extends Panel {
sevenIsGift:boolean = false; sevenIsGift:boolean = false;
async start(data) { async start(data) {
super.start(); super.start();
this["prizeimg1"].mask = this["maskimg"];
const { signInfoVO } = DataManager.ins.getData('getSignInfo'); const { signInfoVO } = DataManager.ins.getData('getSignInfo');
let todayIndex = signInfoVO.continueDay - 1; let todayIndex = signInfoVO.continueDay - 1;
...@@ -368,7 +368,7 @@ export default class SignPanel extends Panel { ...@@ -368,7 +368,7 @@ export default class SignPanel extends Panel {
// virtual虚拟商品,coupon券, // virtual虚拟商品,coupon券,
// 道具prop,元宝coin,体力times, // 道具prop,元宝coin,体力times,
if(logo && prizeType!= 'times' && prizeType!= 'coin'&& prizeType!= 'prop'){ if(logo && prizeType!= 'times' && prizeType!= 'coin'&& prizeType!= 'prop'){
this["prizeimg1"].visible = true; this["prize1"].visible = true;
this["prizeimg1"].source = logo; this["prizeimg1"].source = logo;
this['numsgroup'].visible=false; this['numsgroup'].visible=false;
}else{ }else{
...@@ -406,8 +406,8 @@ export default class SignPanel extends Panel { ...@@ -406,8 +406,8 @@ export default class SignPanel extends Panel {
this['prizeimg'].visible = showprizeimg; this['prizeimg'].visible = showprizeimg;
if(showprizeimg){ if(showprizeimg){
if(this["prizeimg1"].visible){ if(this["prize1"].visible){
this["prizeimg1"].visible = false; this["prize1"].visible = false;
} }
if(this['prizeimg2'].visible){ if(this['prizeimg2'].visible){
this["prizeimg2"].visible = false; this["prizeimg2"].visible = false;
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
"success":true, "success":true,
"errorMsg":null, "errorMsg":null,
"code":"", "code":"",
"prizeType":"vir", "prizeType":"times",
"prizeName":"奖品名称", "prizeName":"奖品名称",
"logo":"http://yun.duiba.com.cn/db_games/activity/game/guideImage/guide2.png", "logo":"http://yun.dui88.com/images/202003/6n6am25t08.jpg",
"prizeCount":11, "prizeCount":11,
"itemId":33257 "itemId":33257
} }
......
{ {
"success": true, "success": true,
"signInfoVO": { "signInfoVO": {
"continueDay": 0, "continueDay": 1,
"todaySigned": 0 "todaySigned": 0
} }
} }
\ 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