Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_jxw_demo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
middleLayer_for_jxw_demo
Commits
59e8be24
Commit
59e8be24
authored
Aug 23, 2025
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更新模板名称
parent
2f213b43
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
gamecenter.ts
...s/middleLayer_for_jxw_demo/pages/gamecenter/gamecenter.ts
+23
-1
game-card.prefab
...er_for_jxw_demo/pages/gamecenter/prefabs/game-card.prefab
+1
-1
No files found.
assets/middleLayer_for_jxw_demo/pages/gamecenter/gamecenter.ts
View file @
59e8be24
...
...
@@ -274,7 +274,24 @@ export default class GameCenter extends cc.Component {
console
.
log
(
'
rows数组长度:
'
,
data
.
rows
.
length
);
console
.
log
(
'
rows数据:
'
,
data
.
rows
);
const
nameMap
=
{
"
229602
"
:
"
火力小炮台
"
,
"
229604
"
:
"
钓鱼大作战
"
,
"
229606
"
:
"
急速滑雪
"
,
"
229593
"
:
"
单词泡泡
"
,
"
229594
"
:
"
疯狂拍苍蝇
"
,
"
229595
"
:
"
魔法福袋
"
,
"
229596
"
:
"
发音闪卡
"
,
"
229597
"
:
"
看图选词
"
,
"
229598
"
:
"
视频
"
,
"
229599
"
:
"
情景连线
"
,
"
229600
"
:
"
听音选择
"
,
"
229605
"
:
"
弹珠大作战
"
,
"
229603
"
:
"
欢乐卡牌机
"
,
"
229601
"
:
"
热气球大战
"
,
"
229580
"
:
"
翻卡
"
,
"
229579
"
:
"
打企鹅
"
}
this
.
gameDataList
=
[];
const
notClickableGameIds
=
[
229603
,
229605
,
229601
,
229580
,
229579
];
...
...
@@ -292,6 +309,11 @@ export default class GameCenter extends cc.Component {
}
else
{
this
.
gameDataList
.
push
(
item
);
}
if
(
nameMap
[
item
.
id
])
{
item
.
template_description
=
nameMap
[
item
.
id
];
}
console
.
log
(
'
item:
'
,
item
);
return
item
;
});
...
...
assets/middleLayer_for_jxw_demo/pages/gamecenter/prefabs/game-card.prefab
View file @
59e8be24
...
...
@@ -338,7 +338,7 @@
"ctor": "Float64Array",
"array": [
-1.089,
-10
1
.039,
-10
3
.039,
0,
0,
0,
...
...
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