Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
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
MingSnake_241120
Commits
1d7efa68
Commit
1d7efa68
authored
Dec 10, 2024
by
王杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 排行榜
parent
54e0bd53
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
34 deletions
+33
-34
HomeScene.scene
assets/Bundles/HomeScene/HomeScene.scene
+15
-15
HomeScene.ts
assets/Scripts/Scenes/HomeScene.ts
+2
-4
RankScene.ts
assets/Scripts/Scenes/RankScene.ts
+1
-0
index.html
build/web-mobile/index.html
+12
-12
builder.json
profiles/v2/packages/builder.json
+3
-3
No files found.
assets/Bundles/HomeScene/HomeScene.scene
View file @
1d7efa68
...
...
@@ -478,7 +478,7 @@
"y": -180,
"z": -12.000012657215834
},
"_id": "
0112kOClBFDpciSOV36KjS
"
"_id": "
20SDgLOGJEG6ZS5NaS5Kpa
"
},
{
"__type__": "cc.UITransform",
...
...
@@ -500,7 +500,7 @@
"x": 0,
"y": 1
},
"_id": "
e2QafOY/tEe5pGplu3uW4U
"
"_id": "
9cdGkWydJM7q5466fnoYP0
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -536,7 +536,7 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "
75BsWWRZ1MBJ7bTLLD3iq0
"
"_id": "
ffQ9utWPFNQoOvAW0geaOe
"
},
{
"__type__": "cc.Node",
...
...
@@ -584,7 +584,7 @@
"y": -180,
"z": -11.00000220913452
},
"_id": "
3d/8l31JFH1YAxcYCEglfF
"
"_id": "
ed1/XGtnhJOb11IDuO+1qT
"
},
{
"__type__": "cc.UITransform",
...
...
@@ -606,7 +606,7 @@
"x": 0,
"y": 1
},
"_id": "
f0/7NMbsFKP5b2+0dTDtSQ
"
"_id": "
d3aNkznE1G3KIzWTYMzDBc
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -642,7 +642,7 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "
1260JXmtNCNKEsauknE0Xw
"
"_id": "
37LWwBUEpKJ6nQIS2Uz/3c
"
},
{
"__type__": "cc.Node",
...
...
@@ -690,7 +690,7 @@
"y": -180,
"z": -64.00000614258742
},
"_id": "
38FNqT1K1J85TZIwbxsWbK
"
"_id": "
50HNZa3VtKe5Z95Fa81B96
"
},
{
"__type__": "cc.UITransform",
...
...
@@ -712,7 +712,7 @@
"x": 0,
"y": 1
},
"_id": "
dcbMFRdVZN97zPDu30yYEZ
"
"_id": "
b2SZmh+cRDn7E5Z8fo2tn2
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -748,7 +748,7 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "
8f8tHulZBHS66T66czUjfF
"
"_id": "
7aKVgNGu5GMo1i0JtPaQ0K
"
},
{
"__type__": "cc.Node",
...
...
@@ -796,7 +796,7 @@
"y": 180,
"z": 25.99999385741257
},
"_id": "
434eC0fiFKybpiYz4NH3Of
"
"_id": "
d2wV0sApFHfbe6PhZ+yYfL
"
},
{
"__type__": "cc.UITransform",
...
...
@@ -818,7 +818,7 @@
"x": 0,
"y": 1
},
"_id": "
bfmlzoL5hMIqL4pqqqWoFw
"
"_id": "
c78F8q8WVE45101y8ttaHA
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -854,7 +854,7 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "
e4cC1+7OJNbpc9wYzsCmS
u"
"_id": "
c6VdNpbt1NcLvj+YAuz5G
u"
},
{
"__type__": "cc.UITransform",
...
...
@@ -1040,7 +1040,7 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x":
0
,
"x":
-7.113000000000028
,
"y": -0.6999999999999886,
"z": 0
},
...
...
@@ -1364,7 +1364,7 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x":
0
,
"x":
-8.53600000000003
,
"y": -78.077,
"z": 0
},
...
...
@@ -3144,7 +3144,7 @@
"__prefab": null,
"_alignFlags": 9,
"_target": null,
"_left": -
95
,
"_left": -
103.53600000000003
,
"_right": 0,
"_top": 198.577,
"_bottom": 218,
...
...
assets/Scripts/Scenes/HomeScene.ts
View file @
1d7efa68
...
...
@@ -100,13 +100,11 @@ export class HomeScene extends Scene {
continueSignDays
=
0
,
}
=
store
.
homeInfo
||
{};
this
.
userName
.
string
=
strFormat
(
nickname
,
8
)
;
this
.
pointNum
.
string
=
`
${
creditsNum
>
9999999
?
"9999999+"
:
creditsNum
}
`
;
this
.
userName
.
string
=
strFormat
(
nickname
||
"鸣鸣很忙用户"
,
8
)
;
this
.
pointNum
.
string
=
`
${
creditsNum
>
9999999
?
"9999999+"
:
creditsNum
}
`
;
// this.fuDaiText.string = `${store.homeInfo?.fuDaiNum || 0}`;
this
.
signTxt
.
string
=
`连续签到
${
continueSignDays
||
0
}
天`
;
console
.
log
(
rankInfos
.
length
,
"rankInfos"
);
if
(
rankInfos
.
length
>
0
)
{
this
.
rankList
.
active
=
true
;
this
.
rankNone
.
active
=
false
;
...
...
assets/Scripts/Scenes/RankScene.ts
View file @
1d7efa68
...
...
@@ -251,6 +251,7 @@ export class RankScence extends Scene {
}
onCellDisplay
=
(
cell
:
Node
,
data
)
=>
{
if
(
!
data
)
return
let
{
index
=
0
,
province
=
""
,
score
=
0
,
nickname
=
""
}
=
data
;
let
rankTxt
=
index
;
...
...
build/web-mobile/index.html
View file @
1d7efa68
...
...
@@ -98,13 +98,13 @@
</style>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/src/assets/plugin/rem.min.js"
></script>
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/custom.css" />-->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/src/assets/plugin/rem.min.js"
></script>
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/custom.css" />-->
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script>eruda.init()</script>-->
...
...
@@ -117,20 +117,20 @@
</div>
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/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/1733
799144168
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/cocos-js/cc.js"
}}
</script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
799144168
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1733
800417579
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
profiles/v2/packages/builder.json
View file @
1d7efa68
...
...
@@ -45,8 +45,8 @@
"progress"
:
1
,
"state"
:
"success"
,
"stage"
:
"build"
,
"message"
:
"2024-12-10 1
0:56:17 build success in 3 min 53
s!"
,
"detailMessage"
:
"
Asset DB is resume!
\r
"
,
"message"
:
"2024-12-10 1
1:15:11 build success in 1 min 34
s!"
,
"detailMessage"
:
"
builder:build-project-total (93984ms)
\r
"
,
"options"
:
{
"name"
:
"cocos-template-3d"
,
"server"
:
""
,
...
...
@@ -109,7 +109,7 @@
"__version__"
:
"1.3.8"
,
"logDest"
:
"project://temp/builder/log/web-mobile2024-11-6 15-39.log"
},
"time"
:
"2024-12-10 1
0:52:24
"
,
"time"
:
"2024-12-10 1
1:13:37
"
,
"dirty"
:
false
}
}
...
...
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