Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
7b76a58d
Commit
7b76a58d
authored
Dec 02, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9445fb50
Changes
20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
250 additions
and
297 deletions
+250
-297
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+1
-1
map.tmproject
egret/resource/TextureMerger/map.tmproject
+1
-1
sign.tmproject
egret/resource/TextureMerger/sign.tmproject
+1
-1
taskcenter.tmproject
egret/resource/TextureMerger/taskcenter.tmproject
+1
-0
taskcenternoprize.tmproject
egret/resource/TextureMerger/taskcenternoprize.tmproject
+1
-0
taskcenterprize.tmproject
egret/resource/TextureMerger/taskcenterprize.tmproject
+1
-0
signprize元宝.png
egret/resource/assets/signprize/signprize元宝.png
+0
-0
default.res.json
egret/resource/default.res.json
+1
-21
default.thm.json
egret/resource/default.thm.json
+95
-95
SignPrizeSkin.exml
egret/resource/skins/SignPrizeSkin.exml
+2
-2
TaskCenterNoPrizeSkin.exml
egret/resource/skins/TaskCenterNoPrizeSkin.exml
+6
-6
TaskCenterPrizeSkin.exml
egret/resource/skins/TaskCenterPrizeSkin.exml
+5
-5
MapScene.ts
egret/src/mapScene/MapScene.ts
+1
-0
TaskCenterIcon.ts
egret/src/mapScene/icon/TaskCenterIcon.ts
+1
-0
SignPrizePanel.ts
egret/src/panels/SignPrizePanel.ts
+5
-5
TaskCenter.ts
egret/src/panels/TaskCenter/TaskCenter.ts
+4
-2
TaskCenterNoPrize.ts
egret/src/panels/TaskCenter/TaskCenterNoPrize.ts
+1
-1
TaskCenterPrize.ts
egret/src/panels/TaskCenter/TaskCenterPrize.ts
+4
-3
getTaskInfo.json
mock/happyclear/getTaskInfo.json
+116
-151
taskAward.json
mock/happyclear/taskAward.json
+3
-3
No files found.
egret/libs/tw/manager/NetManager.ts
View file @
7b76a58d
...
@@ -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
:
'
ge
t'
,
type
:
'
pos
t'
,
dataType
:
'json'
,
dataType
:
'json'
,
hideMsg
:
true
,
hideMsg
:
true
,
param
:
{
param
:
{
...
...
egret/resource/TextureMerger/map.tmproject
View file @
7b76a58d
{"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
egret/resource/TextureMerger/sign.tmproject
View file @
7b76a58d
{"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
egret/resource/TextureMerger/taskcenter.tmproject
0 → 100644
View file @
7b76a58d
{"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
egret/resource/TextureMerger/taskcenternoprize.tmproject
0 → 100644
View file @
7b76a58d
{"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
egret/resource/TextureMerger/
preload
.tmproject
→
egret/resource/TextureMerger/
taskcenterprize
.tmproject
View file @
7b76a58d
{"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
egret/resource/assets/signprize/signprize元宝.png
View replaced file @
9445fb50
View file @
7b76a58d
47.4 KB
|
W:
|
H:
44.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/default.res.json
View file @
7b76a58d
...
@@ -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,TaskCenter
Buy_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"
,
...
...
egret/resource/default.thm.json
View file @
7b76a58d
{
{
"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/TaskCenter
Skin.exml"
,
"resource/skins/TargetItem
Skin.exml"
,
"resource/skins/TaskCenterItemSkin.exml"
,
"resource/skins/TaskCenterItemSkin.exml"
,
"resource/skins/TaskCenter
PrizeSkin.exml"
,
"resource/skins/TaskCenterNo
PrizeSkin.exml"
,
"resource/skins/TaskCenterNo
PrizeSkin.exml"
,
"resource/skins/TaskCenter
PrizeSkin.exml"
,
"resource/skins/TargetItem
Skin.exml"
,
"resource/skins/TaskCenter
Skin.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
egret/resource/skins/SignPrizeSkin.exml
View file @
7b76a58d
...
@@ -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=
"52
3
.64"
width=
"75"
textAlign=
"right"
x=
"282.6"
fontFamily=
"FZY3JW"
visible=
"false"
/>
<e:Label
id=
"propnums2"
text=
"30"
textColor=
"0x885037"
bold=
"true"
y=
"52
5
.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"
/>
...
...
egret/resource/skins/TaskCenterNoPrizeSkin.exml
View file @
7b76a58d
<?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=
"61
5"
y=
"272
"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"61
3.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=
"19
6"
y=
"87
5"
width=
"358"
height=
"113"
>
<e:Group
id=
"btn"
x=
"19
4.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"
>
...
...
egret/resource/skins/TaskCenterPrizeSkin.exml
View file @
7b76a58d
...
@@ -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=
"3
66.4"
horizontalCenter=
"5.5"
scaleX=
"0.7"
scaleY=
"0.7"
source=
"common_money_png
"
/>
<e:Image
id=
"money"
y=
"3
76.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=
"3
68.16"
horizontalCenter=
"0"
source=
"common_blood_png"
scaleX=
"0.7"
scaleY=
"0.7
"
visible=
"false"
/>
<e:Image
id=
"blood"
y=
"3
76.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>
egret/src/mapScene/MapScene.ts
View file @
7b76a58d
...
@@ -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
;
}
}
}
}
}
}
...
...
egret/src/mapScene/icon/TaskCenterIcon.ts
View file @
7b76a58d
...
@@ -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
;
...
...
egret/src/panels/SignPrizePanel.ts
View file @
7b76a58d
...
@@ -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
();
}
}
...
...
egret/src/panels/TaskCenter/TaskCenter.ts
View file @
7b76a58d
...
@@ -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
appComplete
lText
=
this
.
data
.
appCompletel
Text
;
// 已完成文案
const
appComplete
Text
=
this
.
data
.
appComplete
Text
;
// 已完成文案
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
=
`
${
appComplete
l
Text
}
`
;
this
.
btnLabel
.
text
=
`
${
appCompleteText
}
`
;
this
.
btnLabel
.
strokeColor
=
0x7e7e7e
;
this
.
btnLabel
.
strokeColor
=
0x7e7e7e
;
}
}
}
}
...
...
egret/src/panels/TaskCenter/TaskCenterNoPrize.ts
View file @
7b76a58d
...
@@ -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
()
{
...
...
egret/src/panels/TaskCenter/TaskCenterPrize.ts
View file @
7b76a58d
...
@@ -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
:
...
...
mock/happyclear/getTaskInfo.json
View file @
7b76a58d
This diff is collapsed.
Click to expand it.
mock/happyclear/taskAward.json
View file @
7b76a58d
{
{
"success"
:
fals
e
,
"success"
:
tru
e
,
"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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment