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
ab07cf77
Commit
ab07cf77
authored
Aug 22, 2025
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 替换http
parent
b810c7ca
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
39 deletions
+18
-39
wechat_2025-08-21_213128_182.png
.../pages/gamecenter/assets/wechat_2025-08-21_213128_182.png
+0
-0
wechat_2025-08-21_213128_182.png.meta
...s/gamecenter/assets/wechat_2025-08-21_213128_182.png.meta
+0
-36
gamecenter.fire
...middleLayer_for_jxw_demo/pages/gamecenter/gamecenter.fire
+2
-2
gamecenter.ts
...s/middleLayer_for_jxw_demo/pages/gamecenter/gamecenter.ts
+16
-1
No files found.
assets/middleLayer_for_jxw_demo/pages/gamecenter/assets/wechat_2025-08-21_213128_182.png
deleted
100644 → 0
View file @
b810c7ca
This diff is collapsed.
Click to expand it.
assets/middleLayer_for_jxw_demo/pages/gamecenter/assets/wechat_2025-08-21_213128_182.png.meta
deleted
100644 → 0
View file @
b810c7ca
{
"ver": "2.3.5",
"uuid": "f659072a-d990-4b34-a789-5e076f7e8817",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2562,
"height": 1444,
"platformSettings": {},
"subMetas": {
"wechat_2025-08-21_213128_182": {
"ver": "1.0.4",
"uuid": "3d3cb355-7e07-40a6-9242-7eebccb8d494",
"rawTextureUuid": "f659072a-d990-4b34-a789-5e076f7e8817",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2562,
"height": 1444,
"rawWidth": 2562,
"rawHeight": 1444,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/middleLayer_for_jxw_demo/pages/gamecenter/gamecenter.fire
View file @
ab07cf77
...
...
@@ -17,7 +17,7 @@
"__id__": 2
}
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [],
"_prefab": null,
"_opacity": 255,
...
...
@@ -1471,7 +1471,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
100
0,
"width": 0,
"height": 50.4
},
"_anchorPoint": {
...
...
assets/middleLayer_for_jxw_demo/pages/gamecenter/gamecenter.ts
View file @
ab07cf77
...
...
@@ -274,7 +274,22 @@ export default class GameCenter extends cc.Component {
console
.
log
(
'
rows数组长度:
'
,
data
.
rows
.
length
);
console
.
log
(
'
rows数据:
'
,
data
.
rows
);
this
.
gameDataList
=
data
.
rows
;
this
.
gameDataList
=
[];
data
.
rows
.
forEach
(
item
=>
{
console
.
log
(
'
item:
'
,
item
);
if
(
item
.
cover
)
{
item
.
cover
=
item
.
cover
.
replace
(
'
http://
'
,
'
https://
'
);
}
if
(
item
.
data
)
{
item
.
data
=
item
.
data
.
replace
(
'
http://
'
,
'
https://
'
);
}
this
.
gameDataList
.
push
(
item
);
console
.
log
(
'
item:
'
,
item
);
return
item
;
});
console
.
log
(
'
保存到gameDataList:
'
,
this
.
gameDataList
);
this
.
createGameList
();
...
...
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