Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hzlh-beautifulFunFestival-snake-20241222
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
hzlh-beautifulFunFestival-snake-20241222
Commits
fc3569a5
Commit
fc3569a5
authored
Dec 30, 2024
by
俞嘉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 任务标题副标题长度
parent
16ba3f5f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
TaskItem.prefab
...l-snake-20241222/assets/Bundles/TaskPanel/TaskItem.prefab
+3
-3
TaskItem.ts
...nake-20241222/assets/Scripts/Panels/TaskPanel/TaskItem.ts
+1
-1
index.html
...fulFunFestival-snake-20241222/build/web-mobile/index.html
+11
-11
queryTasks.do.json
...1222/preview-template/mock/branch_task/queryTasks.do.json
+2
-2
No files found.
hzlh-beautifulFunFestival-snake-20241222/assets/Bundles/TaskPanel/TaskItem.prefab
View file @
fc3569a5
...
...
@@ -473,7 +473,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
127.923828125
,
"width":
450
,
"height": 37.8
},
"_anchorPoint": {
...
...
@@ -502,7 +502,7 @@
"_alignFlags": 40,
"_target": null,
"_left": 63,
"_right":
525.076171875
,
"_right":
203
,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
...
...
@@ -547,7 +547,7 @@
"b": 160,
"a": 255
},
"_maxWidth": 0,
"_maxWidth":
45
0,
"_fontFamily": "Arial",
"_font": null,
"_isSystemFontUsed": true,
...
...
hzlh-beautifulFunFestival-snake-20241222/assets/Scripts/Panels/TaskPanel/TaskItem.ts
View file @
fc3569a5
...
...
@@ -46,7 +46,7 @@ export class TaskItem extends ScrollListItem {
const
{
taskStatus
,
title
,
subTitle
,
options
,
completedSize
,
intervalLimitSize
}
=
data
;
const
titleStr
=
`
${
title
}
(
${
completedSize
}
/
${
intervalLimitSize
}
)`
this
.
title
.
string
=
strFormat
(
titleStr
,
2
5
);
this
.
title
.
string
=
strFormat
(
titleStr
,
2
7
);
this
.
subTitle
.
string
=
`
${
subTitle
||
''
}
<color=#e63323><b><size=28>+
${
options
[
0
]?.
sendCount
||
0
}
<
/size></
b
><
/color>`
;
this
.
doComplete
.
active
=
false
;
...
...
hzlh-beautifulFunFestival-snake-20241222/build/web-mobile/index.html
View file @
fc3569a5
...
...
@@ -106,12 +106,12 @@
}
</style>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/custom.css"
/>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/custom.css"
/>
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script>eruda.init()</script>-->
...
...
@@ -125,20 +125,20 @@
</div>
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"https://yun.duiba.com.cn/aurora/assets/03cc8b25df7f900745f5db17effa0eccc2ae724e.js"
></script>
<!-- Import map -->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<script
type=
"systemjs-importmap"
charset=
"utf-8"
>
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/cocos-js/cc.js"
}}
</script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
197746264
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
568298656
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
hzlh-beautifulFunFestival-snake-20241222/preview-template/mock/branch_task/queryTasks.do.json
View file @
fc3569a5
...
...
@@ -152,9 +152,9 @@
"prizePendingCodeList"
:
null
,
"ruleId"
:
"spPrize@sp_join_cgbd_high@3"
,
"sendPrize"
:
null
,
"subTitle"
:
null
,
"subTitle"
:
"可提升中奖概率,活动期间上限3次,每次游戏机会"
,
"taskStatus"
:
1
,
"title"
:
"
单笔购买自营类理财产品,金额1万元-5万元
"
"title"
:
"
完成市民贷/市民e贷测额或用信1万元及以上
"
},
{
"buttonText"
:
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