Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TNGD_CaveCruiser
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
TNGD_CaveCruiser
Commits
8b659169
Commit
8b659169
authored
Sep 11, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传
parent
61e33d94
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
12 deletions
+15
-12
Start.ts
assets/Start/Start.ts
+3
-0
index.ejs
build-templates/web-mobile/index.ejs
+1
-1
index.html
build/web-mobile/index.html
+10
-10
index.ejs
preview-template/index.ejs
+1
-1
No files found.
assets/Start/Start.ts
View file @
8b659169
...
@@ -38,6 +38,9 @@ export class Start extends Component {
...
@@ -38,6 +38,9 @@ export class Start extends Component {
UIMgr
.
ins
.
setup
(
this
.
uiPrefab
);
UIMgr
.
ins
.
setup
(
this
.
uiPrefab
);
document
.
body
.
style
.
visibility
=
"visible"
;
}
}
onDestroy
()
{
onDestroy
()
{
...
...
build-templates/web-mobile/index.ejs
View file @
8b659169
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
</head>
</head>
<body
style=
"overflow: hidden;"
>
<body
style=
"overflow: hidden;
visibility: hidden
"
>
<div
id=
"GameDiv"
cc_exact_fit_screen=
"true"
style=
"overflow: hidden;"
>
<div
id=
"GameDiv"
cc_exact_fit_screen=
"true"
style=
"overflow: hidden;"
>
<div
id=
"Cocos3dGameContainer"
>
<div
id=
"Cocos3dGameContainer"
>
<canvas
id=
"GameCanvas"
oncontextmenu=
"event.preventDefault()"
tabindex=
"99"
></canvas>
<canvas
id=
"GameCanvas"
oncontextmenu=
"event.preventDefault()"
tabindex=
"99"
></canvas>
...
...
build/web-mobile/index.html
View file @
8b659169
...
@@ -33,17 +33,17 @@
...
@@ -33,17 +33,17 @@
<!--<link rel="apple-touch-icon" href=".png" />-->
<!--<link rel="apple-touch-icon" href=".png" />-->
<!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
<!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
4780491
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
6900233
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
4780491
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
6900233
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
4780491
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
6900233
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
4780491
/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
6900233
/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
4780491
/custom.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
6900233
/custom.css"
/>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
</head>
</head>
<body
style=
"overflow: hidden;"
>
<body
style=
"overflow: hidden;
visibility: hidden
"
>
<div
id=
"GameDiv"
cc_exact_fit_screen=
"true"
style=
"overflow: hidden;"
>
<div
id=
"GameDiv"
cc_exact_fit_screen=
"true"
style=
"overflow: hidden;"
>
<div
id=
"Cocos3dGameContainer"
>
<div
id=
"Cocos3dGameContainer"
>
<canvas
id=
"GameCanvas"
oncontextmenu=
"event.preventDefault()"
tabindex=
"99"
></canvas>
<canvas
id=
"GameCanvas"
oncontextmenu=
"event.preventDefault()"
tabindex=
"99"
></canvas>
...
@@ -51,16 +51,16 @@
...
@@ -51,16 +51,16 @@
</div>
</div>
<!-- Polyfills bundle. -->
<!-- Polyfills bundle. -->
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
4780491
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
6900233
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<!-- SystemJS support. -->
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
4780491
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
6900233
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!-- Import map -->
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
4780491
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
6900233
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script>
<script>
System
.
import
(
'//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
4780491
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/172602
6900233
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
console
.
error
(
err
);
})
})
</script>
</script>
...
...
preview-template/index.ejs
View file @
8b659169
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
</head>
</head>
<body
style=
"overflow: hidden;"
>
<body
style=
"overflow: hidden;
visibility: hidden
"
>
<
%
-
include
(
cocosToolBar
,
{
config:
config
})
%
>
<
%
-
include
(
cocosToolBar
,
{
config:
config
})
%
>
<div
id=
"content"
class=
"content"
style=
"overflow: hidden;"
>
<div
id=
"content"
class=
"content"
style=
"overflow: hidden;"
>
<div
class=
"contentWrap"
>
<div
class=
"contentWrap"
>
...
...
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