Commit 7b76a58d authored by 邱旭's avatar 邱旭

1

parent 9445fb50
...@@ -2287,7 +2287,7 @@ export class NetManager extends ABNetManager { ...@@ -2287,7 +2287,7 @@ export class NetManager extends ABNetManager {
const net: INetData = { const net: INetData = {
name: NetName.GET_TASKINFO, name: NetName.GET_TASKINFO,
uri: window['duiba'] +'/customActivity/happyclear/taskSystem/award', uri: window['duiba'] +'/customActivity/happyclear/taskSystem/award',
type: 'get', type: 'post',
dataType: 'json', dataType: 'json',
hideMsg: true, hideMsg: true,
param: { param: {
......
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/宝箱.png","../assets/map/宝箱1.png","../assets/map/宝箱2.png","../assets/map/宝箱3.png","../assets/map/宝箱bg.png","../assets/map/宝箱btn.png","../assets/map/道具.png","../assets/map/关闭 拷贝.png","../assets/map/光 副本 4.png","../assets/map/设置.png","../assets/map/设置bg.png","../assets/map/声音.png","../assets/map/声音关闭.png","../assets/map/狮子.png","../assets/map/退出.png","../assets/map/问题.png","../assets/map/无星星.png","../assets/map/星星.png","../assets/map/星星bg.png","../assets/map/音乐.png","../assets/map/音乐关闭.png","../assets/map/有星星.png","../assets/map/有星星2.png","../assets/map/有星星3.png","../assets/map/元宝bg.png","../assets/map/ad_icon.png","../assets/map/animal1.png","../assets/map/avatar.png","../assets/map/friend_avatar.png","../assets/map/guideBox.png","../assets/map/guideLevel.png","../assets/map/guideLove.png","../assets/map/guideMoney.png","../assets/map/guideOver.png","../assets/map/icon.png","../assets/map/iconbg.png","../assets/map/icongray.png","../assets/map/invite_icon.png","../assets/map/invite_txtbg.png","../assets/map/lionMsgBg.png","../assets/map/map_signicon.png","../assets/map/map2+.png","../assets/map/map2+bg.png","../assets/map/map2红包大作战.png","../assets/map/map2热门引导.png","../assets/map/map2周一红包雨.png","../assets/map/map大转盘.png","../assets/map/map刮现金红包.png","../assets/map/map今日可领.png","../assets/map/map明日可领.png","../assets/map/maphot.png","../assets/map/msgTri.png","../assets/map/namebg.png","../assets/map/progress1.png","../assets/map/progress2.png","../assets/map/recordbtn.png","../assets/map/taskicon.png","../assets/map/map2+bg2.png","../assets/map/mapredbagicom.png","../assets/map/maplight2.png"]} {"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/宝箱.png","../assets/map/宝箱1.png","../assets/map/宝箱2.png","../assets/map/宝箱3.png","../assets/map/宝箱bg.png","../assets/map/宝箱btn.png","../assets/map/道具.png","../assets/map/关闭 拷贝.png","../assets/map/光 副本 4.png","../assets/map/设置.png","../assets/map/设置bg.png","../assets/map/声音.png","../assets/map/声音关闭.png","../assets/map/狮子.png","../assets/map/退出.png","../assets/map/问题.png","../assets/map/无星星.png","../assets/map/星星.png","../assets/map/星星bg.png","../assets/map/音乐.png","../assets/map/音乐关闭.png","../assets/map/有星星.png","../assets/map/有星星2.png","../assets/map/有星星3.png","../assets/map/元宝bg.png","../assets/map/ad_icon.png","../assets/map/animal1.png","../assets/map/avatar.png","../assets/map/friend_avatar.png","../assets/map/guideBox.png","../assets/map/guideLevel.png","../assets/map/guideLove.png","../assets/map/guideMoney.png","../assets/map/guideOver.png","../assets/map/icon.png","../assets/map/iconbg.png","../assets/map/icongray.png","../assets/map/invite_icon.png","../assets/map/invite_txtbg.png","../assets/map/lionMsgBg.png","../assets/map/map_signicon.png","../assets/map/map2+.png","../assets/map/map2+bg.png","../assets/map/map2红包大作战.png","../assets/map/map2热门引导.png","../assets/map/map2周一红包雨.png","../assets/map/map大转盘.png","../assets/map/map刮现金红包.png","../assets/map/map今日可领.png","../assets/map/map明日可领.png","../assets/map/maphot.png","../assets/map/msgTri.png","../assets/map/namebg.png","../assets/map/progress1.png","../assets/map/progress2.png","../assets/map/recordbtn.png","../assets/map/taskicon.png","../assets/map/map2+bg2.png","../assets/map/mapredbagicom.png","../assets/map/maplight2.png","../assets/map/taskBtn.png","../assets/map/txtbg_blue.png","../assets/map/txtbg_orange.png","../assets/map/txtbg_purple.png"]}
\ No newline at end of file \ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"sign","version":5,"files":["../assets/sign/signitem.png","../assets/sign/signicon6.png","../assets/sign/signicon5.png","../assets/sign/signicon4.png","../assets/sign/signicon3.png","../assets/sign/signicon2.png","../assets/sign/signicon_blood.png","../assets/sign/signbtn4.png","../assets/sign/signbtn3.png","../assets/sign/signbtn2.png","../assets/sign/signbtn1.png","../assets/sign/signbg.png","../assets/sign/sign_quan88.png","../assets/sign/sign_quan8.png","../assets/sign/sign_quan58.png","../assets/sign/sign_quan38.png","../assets/sign/sign_quan28.png","../assets/sign/sign_quan16.png","../assets/sign/sign_quan15.png","../assets/sign/sign_quan12.png","../assets/sign/sign_line2.png","../assets/sign/sign_line.png","../assets/sign/sign_light.png","../assets/sign/sign_icon1.png"]} {"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"sign","version":5,"files":["../assets/sign/signitem.png","../assets/sign/signicon6.png","../assets/sign/signicon5.png","../assets/sign/signicon4.png","../assets/sign/signicon3.png","../assets/sign/signicon2.png","../assets/sign/signicon_blood.png","../assets/sign/signbtn4.png","../assets/sign/signbtn3.png","../assets/sign/signbtn2.png","../assets/sign/signbtn1.png","../assets/sign/signbg.png","../assets/sign/sign_quan88.png","../assets/sign/sign_quan8.png","../assets/sign/sign_quan58.png","../assets/sign/sign_quan38.png","../assets/sign/sign_quan28.png","../assets/sign/sign_quan16.png","../assets/sign/sign_quan15.png","../assets/sign/sign_quan12.png","../assets/sign/sign_line2.png","../assets/sign/sign_line.png","../assets/sign/sign_light.png","../assets/sign/sign_icon1.png","../assets/sign/sign_quan10.png","../assets/sign/sign_quan23.png","../assets/sign/sign_quan36.png"]}
\ No newline at end of file \ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"taskcenter","version":5,"files":["../assets/TaskCenterPanel/TaskCenter_getPrizeBtn.png","../assets/TaskCenterPanel/TaskCenter_goTaskBtn.png","../assets/TaskCenterPanel/TaskCenter_bg.png","../assets/TaskCenterPanel/TaskCenter_taskBg.png","../assets/TaskCenterPanel/TaskCenter_doneBtn.png","../assets/TaskCenterPanel/TaskCenter_btn.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"taskcenternoprize","version":5,"files":["../assets/TaskCenterNoPrize/TaskCenterNoPrizebg.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"preload","version":5,"files":["../assets/redbombalert/redbombalert文案.png"]} {"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"taskcenterprize","version":5,"files":["../assets/TaskCenterPrize/TaskCenterPrize_bg.png"]}
\ No newline at end of file \ No newline at end of file
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
"name": "redbombtips" "name": "redbombtips"
}, },
{ {
"keys": "TaskCenter_getPrizeBtn_png,TaskCenter_goTaskBtn_png,TaskCenter_bg_png,TaskCenter_taskBg_png,TaskCenterBuy_png,TaskCenterShop_png,TaskCenterGame_png,TaskCenterWatch_png,TaskCenter_doneBtn_png,TaskCenter_btn_png", "keys": "TaskCenter_getPrizeBtn_png,TaskCenter_goTaskBtn_png,TaskCenter_bg_png,TaskCenter_taskBg_png,TaskCenter_doneBtn_png,TaskCenter_btn_png",
"name": "taskcenter" "name": "taskcenter"
}, },
{ {
...@@ -3621,26 +3621,6 @@ ...@@ -3621,26 +3621,6 @@
"type": "image", "type": "image",
"name": "TaskCenter_taskBg_png" "name": "TaskCenter_taskBg_png"
}, },
{
"url": "assets/TaskCenterPanel/TaskCenterBuy.png",
"type": "image",
"name": "TaskCenterBuy_png"
},
{
"url": "assets/TaskCenterPanel/TaskCenterShop.png",
"type": "image",
"name": "TaskCenterShop_png"
},
{
"url": "assets/TaskCenterPanel/TaskCenterGame.png",
"type": "image",
"name": "TaskCenterGame_png"
},
{
"url": "assets/TaskCenterPanel/TaskCenterWatch.png",
"type": "image",
"name": "TaskCenterWatch_png"
},
{ {
"url": "assets/TaskCenterPrize/TaskCenterPrize_bg.png", "url": "assets/TaskCenterPrize/TaskCenterPrize_bg.png",
"type": "image", "type": "image",
......
{ {
"skins": {}, "skins": {},
"autoGenerateExmlsList": true, "autoGenerateExmlsList": true,
"exmls": [ "exmls": [
"resource/skins/ADSkin.exml", "resource/skins/ADSkin.exml",
"resource/skins/ADSmallSkin.exml", "resource/skins/ADSmallSkin.exml",
"resource/skins/AlertSkin.exml", "resource/skins/AlertSkin.exml",
"resource/skins/AvatarSkin.exml", "resource/skins/AvatarSkin.exml",
"resource/skins/BackSkin.exml", "resource/skins/BackSkin.exml",
"resource/skins/BagItem2Skin.exml", "resource/skins/BagItem2Skin.exml",
"resource/skins/BagItemSkin.exml", "resource/skins/BagItemSkin.exml",
"resource/skins/BagQuitSkin.exml", "resource/skins/BagQuitSkin.exml",
"resource/skins/BagSkin.exml", "resource/skins/BagSkin.exml",
"resource/skins/Blood2Skin.exml", "resource/skins/Blood2Skin.exml",
"resource/skins/BloodSkin.exml", "resource/skins/BloodSkin.exml",
"resource/skins/Box2Skin.exml", "resource/skins/Box2Skin.exml",
"resource/skins/BoxSkin.exml", "resource/skins/BoxSkin.exml",
"resource/skins/Buy1Skin.exml", "resource/skins/Buy1Skin.exml",
"resource/skins/Buy2Skin.exml", "resource/skins/Buy2Skin.exml",
"resource/skins/Buy3Skin.exml", "resource/skins/Buy3Skin.exml",
"resource/skins/ExchangeSkin.exml", "resource/skins/ExchangeSkin.exml",
"resource/skins/FailSkin.exml", "resource/skins/FailSkin.exml",
"resource/skins/FriendItem2Skin.exml", "resource/skins/FriendItem2Skin.exml",
"resource/skins/FriendItemSkin.exml", "resource/skins/FriendItemSkin.exml",
"resource/skins/FriendShareSkin.exml", "resource/skins/FriendShareSkin.exml",
"resource/skins/FriendSkin.exml", "resource/skins/FriendSkin.exml",
"resource/skins/H52Skin.exml", "resource/skins/H52Skin.exml",
"resource/skins/H5Skin.exml", "resource/skins/H5Skin.exml",
"resource/skins/HbCutTimeSkin.exml", "resource/skins/HbCutTimeSkin.exml",
"resource/skins/HbGameSkin.exml", "resource/skins/HbGameSkin.exml",
"resource/skins/HbNoPrizeSkin.exml", "resource/skins/HbNoPrizeSkin.exml",
"resource/skins/HbPrizeSkin.exml", "resource/skins/HbPrizeSkin.exml",
"resource/skins/HbRuleSkin.exml", "resource/skins/HbRuleSkin.exml",
"resource/skins/IconButtonSkin.exml", "resource/skins/IconButtonSkin.exml",
"resource/skins/InviteCutTimePanelSkin.exml", "resource/skins/InviteCutTimePanelSkin.exml",
"resource/skins/InviteItemSkin.exml", "resource/skins/InviteItemSkin.exml",
"resource/skins/InvitePrizePanelSkin.exml", "resource/skins/InvitePrizePanelSkin.exml",
"resource/skins/InviteRulePanelSkin.exml", "resource/skins/InviteRulePanelSkin.exml",
"resource/skins/InviteRuleSkin.exml", "resource/skins/InviteRuleSkin.exml",
"resource/skins/InviteSkin.exml", "resource/skins/InviteSkin.exml",
"resource/skins/Main2Skin.exml", "resource/skins/Main2Skin.exml",
"resource/skins/MapBottomSkin.exml", "resource/skins/MapBottomSkin.exml",
"resource/skins/MapRepeatSkin.exml", "resource/skins/MapRepeatSkin.exml",
"resource/skins/MapSkin.exml", "resource/skins/MapSkin.exml",
"resource/skins/MapTopSkin.exml", "resource/skins/MapTopSkin.exml",
"resource/skins/NoPrizeSkin.exml", "resource/skins/NoPrizeSkin.exml",
"resource/skins/OptionItemSkin.exml", "resource/skins/OptionItemSkin.exml",
"resource/skins/OptionsSkin.exml", "resource/skins/OptionsSkin.exml",
"resource/skins/PlaySkin.exml", "resource/skins/PlaySkin.exml",
"resource/skins/Prize2Skin.exml", "resource/skins/Prize2Skin.exml",
"resource/skins/PrizeSkin.exml", "resource/skins/PrizeSkin.exml",
"resource/skins/QuitSkin.exml", "resource/skins/QuitSkin.exml",
"resource/skins/RankFriendListSkin.exml", "resource/skins/RankFriendListSkin.exml",
"resource/skins/RankItemSkin.exml", "resource/skins/RankItemSkin.exml",
"resource/skins/RankSkin.exml", "resource/skins/RankSkin.exml",
"resource/skins/RedBagActivitySkin.exml", "resource/skins/RedBagActivitySkin.exml",
"resource/skins/RedBagAlertSkin.exml", "resource/skins/RedBagAlertSkin.exml",
"resource/skins/RedBombAlertSkin.exml", "resource/skins/RedBombAlertSkin.exml",
"resource/skins/RedBombRuleSkin.exml", "resource/skins/RedBombRuleSkin.exml",
"resource/skins/RedBombTipsSkin.exml", "resource/skins/RedBombTipsSkin.exml",
"resource/skins/ReliveSkin.exml", "resource/skins/ReliveSkin.exml",
"resource/skins/RuleSkin.exml", "resource/skins/RuleSkin.exml",
"resource/skins/ScratchItemSkin.exml", "resource/skins/ScratchItemSkin.exml",
"resource/skins/ScratchPrizeSkin.exml", "resource/skins/ScratchPrizeSkin.exml",
"resource/skins/ScratchRuleSkin.exml", "resource/skins/ScratchRuleSkin.exml",
"resource/skins/ScratchSkin.exml", "resource/skins/ScratchSkin.exml",
"resource/skins/Share2Skin.exml", "resource/skins/Share2Skin.exml",
"resource/skins/Share3Skin.exml", "resource/skins/Share3Skin.exml",
"resource/skins/ShareSkin.exml", "resource/skins/ShareSkin.exml",
"resource/skins/ShareTipsSkin.exml", "resource/skins/ShareTipsSkin.exml",
"resource/skins/ShopSkin.exml", "resource/skins/ShopSkin.exml",
"resource/skins/ShowOffSkin.exml", "resource/skins/ShowOffSkin.exml",
"resource/skins/SignItemSkin.exml", "resource/skins/SignItemSkin.exml",
"resource/skins/SignPrizeSkin.exml", "resource/skins/SignPrizeSkin.exml",
"resource/skins/SignSkin.exml", "resource/skins/SignSkin.exml",
"resource/skins/StarSkin.exml", "resource/skins/StarSkin.exml",
"resource/skins/StartPanelSkin.exml", "resource/skins/StartPanelSkin.exml",
"resource/skins/StartSkin.exml", "resource/skins/StartSkin.exml",
"resource/skins/TaskCenterSkin.exml", "resource/skins/TargetItemSkin.exml",
"resource/skins/TaskCenterItemSkin.exml", "resource/skins/TaskCenterItemSkin.exml",
"resource/skins/TaskCenterPrizeSkin.exml", "resource/skins/TaskCenterNoPrizeSkin.exml",
"resource/skins/TaskCenterNoPrizeSkin.exml", "resource/skins/TaskCenterPrizeSkin.exml",
"resource/skins/TargetItemSkin.exml", "resource/skins/TaskCenterSkin.exml",
"resource/skins/TaskItemSkin.exml", "resource/skins/TaskItemSkin.exml",
"resource/skins/TaskPrizeSkin.exml", "resource/skins/TaskPrizeSkin.exml",
"resource/skins/TaskSkin.exml", "resource/skins/TaskSkin.exml",
"resource/skins/Toast2Skin.exml", "resource/skins/Toast2Skin.exml",
"resource/skins/ToastSkin.exml", "resource/skins/ToastSkin.exml",
"resource/skins/TurnRuleSkin.exml", "resource/skins/TurnRuleSkin.exml",
"resource/skins/TurntableNoPrizeSkin.exml", "resource/skins/TurntableNoPrizeSkin.exml",
"resource/skins/TurntablePrize2Skin.exml", "resource/skins/TurntablePrize2Skin.exml",
"resource/skins/TurntablePrizeSkin.exml", "resource/skins/TurntablePrizeSkin.exml",
"resource/skins/TurntableSkin.exml", "resource/skins/TurntableSkin.exml",
"resource/skins/VScrollBarSkin.exml" "resource/skins/VScrollBarSkin.exml"
], ],
"path": "resource/default.thm.json" "path": "resource/default.thm.json"
} }
\ No newline at end of file
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<e:Component y="779.37" skinName="ADSmallSkin" x="84" visible="false"/> <e:Component y="779.37" skinName="ADSmallSkin" x="84" visible="false"/>
<e:Image source="singprizebg_png" y="54.85" horizontalCenter="0"/> <e:Image source="singprizebg_png" y="54.85" horizontalCenter="0"/>
<e:Image id="img" y="375.77" touchEnabled="true" source="{data.img}" width="512" height="240" scaleX="1" scaleY="1" horizontalCenter="0"/> <e:Image id="img" y="375.77" touchEnabled="true" source="{data.img}" width="512" height="240" scaleX="1" scaleY="1" horizontalCenter="0"/>
<e:Image id="money" y="366.4" horizontalCenter="0.5" scaleX="0.7" scaleY="0.7" source="common_money_png" visible="false"/> <e:Image id="money" y="366.4" horizontalCenter="0.5" scaleX="0.7" scaleY="0.7" source="signprize元宝_png" visible="false"/>
<e:Label id="propnums2" text="30" textColor="0x885037" bold="true" y="523.64" width="75" textAlign="right" x="282.6" fontFamily="FZY3JW" visible="false"/> <e:Label id="propnums2" text="30" textColor="0x885037" bold="true" y="525.64" width="75" textAlign="right" x="282.6" fontFamily="FZY3JW" visible="false"/>
<e:Image id="blood" y="368.16" horizontalCenter="0" source="common_blood_png" scaleX="0.7" scaleY="0.7" visible="false"/> <e:Image id="blood" y="368.16" horizontalCenter="0" source="common_blood_png" scaleX="0.7" scaleY="0.7" visible="false"/>
<e:Group id="numsgroup" x="396.38" y="367.12"> <e:Group id="numsgroup" x="396.38" y="367.12">
<e:Image id="numsbg" source="signprize_numsbg_png" x="0" y="0"/> <e:Image id="numsbg" source="signprize_numsbg_png" x="0" y="0"/>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="SignPrizeSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="SignPrizeSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16d5c2563cb"/> <w:Config id="16d5c2563cb"/>
<e:Component y="1014" skinName="ADSmallSkin" x="84" visible="false"/> <e:Component y="867.5" skinName="ADSmallSkin" x="84" visible="false"/>
<e:Image y="248" horizontalCenter="0" source="TaskCenterNoPrizebg_png"/> <e:Image y="101.5" horizontalCenter="-0.5" source="TaskCenterNoPrizebg_png"/>
<e:Button id="closeBtn" label="" x="615" y="272"> <e:Button id="closeBtn" label="" x="613.5" y="125.5">
<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"/>
...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Group id="duibaGroup" horizontalCenter="0" top="360" visible="false"> <e:Group id="duibaGroup" horizontalCenter="-1" top="214" visible="false">
<e:Label text="啊哦,奖励擦肩而过…" y="0" textColor="0xf54500" fontFamily="FZY3JW" size="40" horizontalCenter="0"/> <e:Label text="啊哦,奖励擦肩而过…" y="0" textColor="0xf54500" fontFamily="FZY3JW" size="40" horizontalCenter="0"/>
</e:Group> </e:Group>
<e:Group id="suningGroup" horizontalCenter="0" top="360"> <e:Group id="suningGroup" horizontalCenter="-1" top="214" visible="false">
<e:Label id="suningLabel" text="继续完成任务,还可以获得更多奖励哦~" y="20" fontFamily="FZY3JW" size="28" horizontalCenter="0" x="10" textColor="0xfb6300"/> <e:Label id="suningLabel" text="继续完成任务,还可以获得更多奖励哦~" y="20" fontFamily="FZY3JW" size="28" horizontalCenter="0" x="10" textColor="0xfb6300"/>
<e:Label text="换个姿势,再来一次!" y="-40" textColor="0xF54500" fontFamily="FZY3JW" size="46" horizontalCenter="0" x="-30" scaleX="1" scaleY="1"/> <e:Label text="换个姿势,再来一次!" y="-40" textColor="0xF54500" fontFamily="FZY3JW" size="46" horizontalCenter="0" x="-30" scaleX="1" scaleY="1"/>
</e:Group> </e:Group>
<e:Group id="btn" x="196" y="875" width="358" height="113"> <e:Group id="btn" x="194.5" y="728.5" width="358" height="113">
<e:Button label="" y="0" x="0"> <e:Button label="" y="0" x="0">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
......
...@@ -12,16 +12,16 @@ ...@@ -12,16 +12,16 @@
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Image id="img" y="375.77" touchEnabled="true" width="512" height="240" scaleX="1" scaleY="1" horizontalCenter="0" source="{data.url}" visible="false"/> <e:Image id="img" y="375.77" touchEnabled="true" width="512" height="240" scaleX="1" scaleY="1" horizontalCenter="0" source="{data.url}" visible="false"/>
<e:Image id="money" y="366.4" horizontalCenter="5.5" scaleX="0.7" scaleY="0.7" source="common_money_png"/> <e:Image id="money" y="376.4" scaleX="0.7" scaleY="0.7" source="signprize元宝_png" horizontalCenter="0"/>
<e:Label id="propnums2" text="30" textColor="0x885037" bold="true" y="526.64" width="75" textAlign="right" x="287.6" fontFamily="FZY3JW"/> <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="368.16" horizontalCenter="0" source="common_blood_png" scaleX="0.7" scaleY="0.7" 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="396.38" y="378.12" visible="false"> <e:Group id="numsgroup" x="396.38" y="378.12">
<e:Image id="numsbg" source="signprize_numsbg_png" x="0" y="0"/> <e:Image id="numsbg" source="signprize_numsbg_png" x="0" y="0"/>
<e:Label id="nums" text="X8" size="22" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center" fontFamily="FZY3JW"/> <e:Label id="nums" text="X8" size="22" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center" fontFamily="FZY3JW"/>
</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" x="214" y="690"> <e:Group id="btn" x="214" y="690">
<e:Image y="0" source="TaskCenter_btn_png" scaleX="0.9" scaleY="0.9" x="0"/> <e:Image y="0" source="TaskCenter_btn_png" scaleX="0.9" scaleY="0.9" x="0"/>
<e:Label id="btnLabel" text="继续闯关" y="27" size="35" strokeColor="0x2091e9" stroke="3" fontFamily="FZY3JW" x="91"/> <e:Label id="btnLabel" text="继续闯关" y="27" size="35" strokeColor="0x2091e9" stroke="3" fontFamily="FZY3JW" horizontalCenter="0"/>
</e:Group> </e:Group>
</e:Skin> </e:Skin>
...@@ -208,6 +208,7 @@ export default class MapScene extends Scene { ...@@ -208,6 +208,7 @@ export default class MapScene extends Scene {
for(let i = 0; i < taskInfoRes.data.length; i++){ for(let i = 0; i < taskInfoRes.data.length; i++){
if(taskInfoRes.data[i].count > 0){ if(taskInfoRes.data[i].count > 0){
panels.push('task'); panels.push('task');
break;
} }
} }
} }
......
...@@ -15,6 +15,7 @@ export default class TaskCenterIcon extends IconBase { ...@@ -15,6 +15,7 @@ export default class TaskCenterIcon extends IconBase {
NetManager.ins.getTaskInfo((success, res) => { NetManager.ins.getTaskInfo((success, res) => {
if(!success) { if(!success) {
this.visible = false; this.visible = false;
GDispatcher.dispatchEvent('updateTurnTablePosition');
return; return;
} }
const data = res.data; const data = res.data;
......
...@@ -11,7 +11,7 @@ export default class SignPrizePanel extends Panel { ...@@ -11,7 +11,7 @@ export default class SignPrizePanel extends Panel {
this['money'].visible=false; this['money'].visible=false;
this['blood'].visible=false; this['blood'].visible=false;
this['numsgroup'].visible=true; this['numsgroup'].visible=true;
//奖品类型,none无奖励, object实物,virtual虚拟商品,coupon券,道具prop,元宝coin,体力times, //奖品类型,none无奖励, object实物,virtual虚拟商品,coupon券,道具prop,元宝coin,体力times,
const {customInfo} =DataManager.ins.getData('dosign'); const {customInfo} =DataManager.ins.getData('dosign');
const prizeType= customInfo.prizeType ; const prizeType= customInfo.prizeType ;
...@@ -31,11 +31,11 @@ export default class SignPrizePanel extends Panel { ...@@ -31,11 +31,11 @@ export default class SignPrizePanel extends Panel {
this['img'].visible = prizeType!= 'times' && prizeType!= 'coin'; this['img'].visible = prizeType!= 'times' && prizeType!= 'coin';
this['money'].visible = prizeType=='coin'; this['money'].visible = prizeType=='coin';
this['propnums2'].visible = prizeType=='coin'; // this['propnums2'].visible = prizeType=='coin';
this['blood'].visible = prizeType=='times'; this['blood'].visible = prizeType=='times';
if(prizeType=='coin') { // if(prizeType=='coin') {
this['numsgroup'].visible=false; // this['numsgroup'].visible=false;
} // }
addAdComp(84,779.37,this,24); addAdComp(84,779.37,this,24);
this.showlog(); this.showlog();
} }
......
...@@ -88,7 +88,7 @@ class TaskCenterItem extends eui.ItemRenderer { ...@@ -88,7 +88,7 @@ class TaskCenterItem extends eui.ItemRenderer {
const count = this.data.count; // 领取奖励*count const count = this.data.count; // 领取奖励*count
const done = this.data.done; const done = this.data.done;
const limit = this.data.limit; // done/limit const limit = this.data.limit; // done/limit
const appCompletelText = this.data.appCompletelText; // 已完成文案 const appCompleteText = this.data.appCompleteText; // 已完成文案
const appIncompleteText = this.data.appIncompleteText; // 未完成文案 const appIncompleteText = this.data.appIncompleteText; // 未完成文案
this.btnLabel.stroke = 2; this.btnLabel.stroke = 2;
...@@ -98,6 +98,8 @@ class TaskCenterItem extends eui.ItemRenderer { ...@@ -98,6 +98,8 @@ class TaskCenterItem extends eui.ItemRenderer {
this.btnLabel.strokeColor = 0xf99f45; this.btnLabel.strokeColor = 0xf99f45;
this.btnGroup.addEventListener(egret.TouchEvent.TOUCH_TAP, () => { this.btnGroup.addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
// 领奖 // 领奖
this.btnGroup.touchEnabled = false;
this.btnGroup.touchChildren = false;
NetManager.ins.taskAward((success, res) => { NetManager.ins.taskAward((success, res) => {
if(!success) { if(!success) {
PanelCtrl.instance.show('taskCenterNoPrize', {prizeData: res, taskData: this.data}); PanelCtrl.instance.show('taskCenterNoPrize', {prizeData: res, taskData: this.data});
...@@ -122,7 +124,7 @@ class TaskCenterItem extends eui.ItemRenderer { ...@@ -122,7 +124,7 @@ class TaskCenterItem extends eui.ItemRenderer {
}, this); }, this);
} else { // 已完成 } else { // 已完成
this.btnImg.source = 'TaskCenter_' + 'done' + 'Btn_png'; this.btnImg.source = 'TaskCenter_' + 'done' + 'Btn_png';
this.btnLabel.text = `${appCompletelText}`; this.btnLabel.text = `${appCompleteText}`;
this.btnLabel.strokeColor = 0x7e7e7e; this.btnLabel.strokeColor = 0x7e7e7e;
} }
} }
......
...@@ -67,7 +67,7 @@ export default class TaskCenterNoPrize extends Panel { ...@@ -67,7 +67,7 @@ export default class TaskCenterNoPrize extends Panel {
break; break;
} }
addAdComp(84, 1014, this); addAdComp(84, 867.5, this);
} }
onTouchTap_closeBtn() { onTouchTap_closeBtn() {
......
...@@ -70,10 +70,11 @@ export default class TaskCenterPrize extends Panel { ...@@ -70,10 +70,11 @@ export default class TaskCenterPrize extends Panel {
this.tipsLabel.text = '继续完成任务可以获得更多道具哦~'; this.tipsLabel.text = '继续完成任务可以获得更多道具哦~';
break; break;
case 4: case 4:
this['numsgroup'].visible = false; this['numsgroup'].visible = true;
this['nums'].text = 'x' + realValue;
this['money'].visible = true; this['money'].visible = true;
this['propnums2'].visible = true; // this['propnums2'].visible = true;
this['propnums2'].text = realValue; // this['propnums2'].text = realValue;
this.tipsLabel.text = '继续完成任务可以获得更多元宝哦~'; this.tipsLabel.text = '继续完成任务可以获得更多元宝哦~';
break; break;
default: default:
......
This diff is collapsed.
{ {
"success": false, "success": true,
"code": "600064", "code": "600064",
"desc": "OK", "desc": "OK",
"timestamp": 1572958024679, "timestamp": 1572958024679,
...@@ -7,14 +7,14 @@ ...@@ -7,14 +7,14 @@
"option": { "option": {
"id": "224", "id": "224",
"day": null, "day": null,
"categoryType": 4, "categoryType": 3,
"title": "炸弹", "title": "炸弹",
"rate": "50", "rate": "50",
"minValue": null, "minValue": null,
"maxValue": null, "maxValue": null,
"coinType": null, "coinType": null,
"realValue": 30, "realValue": 30,
"propType": 3, "propType": 2,
"num": null, "num": null,
"img": "", "img": "",
"appItemId": null, "appItemId": 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