Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZheShangBank_TaoQuan_20240612
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
ZheShangBank_TaoQuan_20240612
Commits
997fdc5c
Commit
997fdc5c
authored
Jul 13, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理一下代码
parent
5fd5ee06
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
25 deletions
+25
-25
ChangeEquipPanel.ts
assets/Scripts/Panels/ChangeEquipPanel/ChangeEquipPanel.ts
+3
-3
index.html
build/web-mobile/index.html
+5
-5
queryTasks.do.json
preview-template/mock/task_1/queryTasks.do.json
+17
-17
No files found.
assets/Scripts/Panels/ChangeEquipPanel/ChangeEquipPanel.ts
View file @
997fdc5c
...
...
@@ -9,7 +9,7 @@ import {
}
from
'cc'
;
import
Panel
from
'../../../Module/Panel'
;
import
TaskCenter
from
'../../TaskCenter'
;
import
{
strFormat
}
from
'../../Utils/Utils'
;
import
{
_asyncThrottle
,
strFormat
}
from
'../../Utils/Utils'
;
import
{
sendWebNet
,
sendWebNetWithToken
,
WebNetName
}
from
'../../Utils/WebNet/WebNet'
;
import
{
CircleItem
}
from
'./CircleItem'
;
import
{
HandItem
}
from
'./HandItem'
;
...
...
@@ -360,7 +360,7 @@ export class ChangeEquipPanel extends Panel {
}
/** 更换套圈 */
async
changeLoop
()
{
changeLoop
=
_asyncThrottle
(
async
()
=>
{
const
data
=
this
.
loopList
?.[
this
.
middleIndex
];
const
{
loopType
}
=
data
||
{};
this
.
btnEnable
(
this
.
mainBtn
,
false
);
...
...
@@ -370,7 +370,7 @@ export class ChangeEquipPanel extends Panel {
}
this
.
taskRender
();
this
.
btnEnable
(
this
.
mainBtn
,
true
);
}
}
)
/** 关闭弹窗 */
closePannel
()
{
...
...
build/web-mobile/index.html
View file @
997fdc5c
...
...
@@ -39,7 +39,7 @@
<script
src=
"//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js"
crossorigin=
"anonymous"
></script>
<script
src=
"//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
598408858
/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
758851523
/style.css"
/>
<style>
.sui-captcha
{
...
...
@@ -101,16 +101,16 @@
</script>
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
598408858
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
758851523
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
598408858
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
758851523
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
598408858
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
758851523
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
598408858
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1720
758851523
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
preview-template/mock/task_1/queryTasks.do.json
View file @
997fdc5c
...
...
@@ -6,7 +6,7 @@
{
"buttonText"
:
"请邀请好友给你助力"
,
"code"
:
"it"
,
"completedSize"
:
0
,
"completedSize"
:
2
,
"desc"
:
"{
\"
taskType
\"
:2}"
,
"extra"
:
null
,
"icon"
:
null
,
...
...
@@ -37,13 +37,13 @@
"ruleId"
:
"spPrize@sp_challenge_times@1"
,
"sendPrize"
:
null
,
"subTitle"
:
"挑战次数*1/人,可邀请10人挑战次数*1/人,可邀请10人"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"请好友助力挑战次"
},
{
"buttonText"
:
"/"
,
"code"
:
"login_3"
,
"completedSize"
:
1
,
"completedSize"
:
3
,
"desc"
:
"{
\"
taskType
\"
:1}"
,
"extra"
:
null
,
"icon"
:
null
,
...
...
@@ -60,13 +60,13 @@
"ruleId"
:
"spPrize@undefined@1"
,
"sendPrize"
:
null
,
"subTitle"
:
"/"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"累计登录3天获得"
},
{
"buttonText"
:
"/"
,
"code"
:
"join_3"
,
"completedSize"
:
1
,
"completedSize"
:
3
,
"desc"
:
"{
\"
taskType
\"
:1}"
,
"extra"
:
null
,
"icon"
:
null
,
...
...
@@ -83,13 +83,13 @@
"ruleId"
:
"spPrize@undefined@undefined"
,
"sendPrize"
:
null
,
"subTitle"
:
"/"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"累计参与3次获得"
},
{
"buttonText"
:
"/"
,
"code"
:
"score_300"
,
"completedSize"
:
0
,
"completedSize"
:
30
0
,
"desc"
:
"{
\"
taskType
\"
:1}"
,
"extra"
:
null
,
"icon"
:
null
,
...
...
@@ -106,13 +106,13 @@
"ruleId"
:
"spPrize@undefined@undefined"
,
"sendPrize"
:
null
,
"subTitle"
:
"/"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"累计达到300积分获得"
},
{
"buttonText"
:
"/"
,
"code"
:
"score_400"
,
"completedSize"
:
0
,
"completedSize"
:
40
0
,
"desc"
:
"{
\"
taskType
\"
:2}"
,
"extra"
:
null
,
"icon"
:
null
,
...
...
@@ -129,13 +129,13 @@
"ruleId"
:
"spPrize@undefined@undefined"
,
"sendPrize"
:
null
,
"subTitle"
:
"/"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"累计达到400积分获得"
},
{
"buttonText"
:
"去完成"
,
"code"
:
"bt_1"
,
"completedSize"
:
0
,
"completedSize"
:
10
0
,
"desc"
:
"{
\"
jumpInfoList
\"
:[{
\"
subTitle
\"
:
\"
百度1副标题
\"
,
\"
title
\"
:
\"
百度1
\"
,
\"
url
\"
:
\"
https://www.baidu.com1
\"
},{
\"
subTitle
\"
:
\"
百度2副标题
\"
,
\"
title
\"
:
\"
百度2
\"
,
\"
url
\"
:
\"
https://www.baidu.com2
\"
},{
\"
subTitle
\"
:
\"
百度3副标题
\"
,
\"
title
\"
:
\"
百度3
\"
,
\"
url
\"
:
\"
https://www.baidu.com3
\"
},{
\"
subTitle
\"
:
\"
百度4副标题
\"
,
\"
title
\"
:
\"
百度4
\"
,
\"
url
\"
:
\"
https://www.baidu.com4
\"
}],
\"
taskType
\"
:2}"
,
"extra"
:
null
,
"icon"
:
null
,
...
...
@@ -205,7 +205,7 @@
"ruleId"
:
"ru_loop"
,
"sendPrize"
:
null
,
"subTitle"
:
"百度1副标题"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"百度1"
},
{
...
...
@@ -242,7 +242,7 @@
"ruleId"
:
"spPrize@sp_challenge_times@1"
,
"sendPrize"
:
null
,
"subTitle"
:
"/"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"手机话费充值"
},
{
...
...
@@ -318,7 +318,7 @@
"ruleId"
:
"ru_loop"
,
"sendPrize"
:
null
,
"subTitle"
:
"/"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"开通生物识别登录方式"
},
{
...
...
@@ -355,7 +355,7 @@
"ruleId"
:
"spPrize@sp_challenge_times@1"
,
"sendPrize"
:
null
,
"subTitle"
:
"/"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"开通消息通知通知权限"
},
{
...
...
@@ -378,7 +378,7 @@
"ruleId"
:
"spPrize@undefined@undefined"
,
"sendPrize"
:
null
,
"subTitle"
:
"/"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"【圈圈】资产提升10000元任务"
},
{
...
...
@@ -420,7 +420,7 @@
"ruleId"
:
"spPrize@sp_challenge_times@3"
,
"sendPrize"
:
true
,
"subTitle"
:
"/"
,
"taskStatus"
:
0
,
"taskStatus"
:
2
,
"title"
:
"资产每提升1000元得次数*1"
}
],
...
...
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