Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdn
Project
Project
Details
Activity
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
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
llewan
cdn
Commits
77094383
Commit
77094383
authored
May 08, 2019
by
liurufeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
28dbf5ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
38 deletions
+58
-38
game.html
zuiqiangtanliqiu/h5/0.1/game.html
+43
-0
index.html
zuiqiangtanliqiu/h5/0.1/index.html
+15
-38
No files found.
zuiqiangtanliqiu/h5/0.1/game.html
0 → 100644
View file @
77094383
<html>
<head>
<meta
charset=
'utf-8'
/>
<title>
www.layabox.com
</title>
<meta
name=
'renderer'
content=
'webkit'
>
<meta
name=
'viewport'
content=
'width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no'
/>
<meta
name=
'apple-mobile-web-app-capable'
content=
'yes'
/>
<meta
name=
'full-screen'
content=
'true'
/>
<meta
name=
'x5-fullscreen'
content=
'true'
/>
<meta
name=
'360-fullscreen'
content=
'true'
/>
<meta
http-equiv=
'expires'
content=
'0'
/>
<meta
name=
'laya'
screenorientation=
'landscape'
/>
<meta
http-equiv=
'X-UA-Compatible'
content=
'IE=edge,chrome=1'
>
<meta
http-equiv=
'expires'
content=
'0'
/>
<meta
http-equiv=
'Cache-Control'
content=
'no-siteapp'
/>
</head>
<body
style=
'margin:0;overflow:none;overflow-x:hidden;overflow-y:hidden;background-color: #000;'
>
<!--
<script type="text/javascript">
console.log("当前地址:" + window.location);
alert("当前地址:" + window.location);
</script>
-->
<!--SDK-->
<script
src=
'js/uni.js'
></script>
<!---->
<script
src=
"js/md5.min.js"
></script>
<!-- <script src='LayaAir3D.max.js' loader='laya'></script> -->
<script
type=
"text/javascript"
>
console
.
log
(
"wait document loaded."
);
window
.
onload
=
function
()
{
console
.
log
(
"document loaded."
);
var
obj
=
document
.
createElement
(
"script"
);
obj
.
src
=
"LayaAir3D.max.js?r="
+
new
Date
().
getTime
();
obj
.
loader
=
'laya'
;
document
.
body
.
appendChild
(
obj
);
}
</script>
</body>
</html>
\ No newline at end of file
zuiqiangtanliqiu/h5/0.1/index.html
View file @
77094383
<html>
<head>
<meta
charset=
'utf-8'
/>
<title>
www.layabox.com
</title>
<meta
name=
'renderer'
content=
'webkit'
>
<meta
name=
'viewport'
content=
'width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no'
/>
<meta
name=
'apple-mobile-web-app-capable'
content=
'yes'
/>
<meta
name=
'full-screen'
content=
'true'
/>
<meta
name=
'x5-fullscreen'
content=
'true'
/>
<meta
name=
'360-fullscreen'
content=
'true'
/>
<meta
http-equiv=
'expires'
content=
'0'
/>
<meta
name=
'laya'
screenorientation=
'landscape'
/>
<meta
http-equiv=
'X-UA-Compatible'
content=
'IE=edge,chrome=1'
>
<meta
http-equiv=
'expires'
content=
'0'
/>
<meta
http-equiv=
'Cache-Control'
content=
'no-siteapp'
/>
</head>
<body
style=
'margin:0;overflow:none;overflow-x:hidden;overflow-y:hidden;background-color: #000;'
>
<!--
<script type="text/javascript">
console.log("当前地址:" + window.location);
alert("当前地址:" + window.location);
</script>
-->
<!--SDK-->
<script
src=
'js/uni.js'
></script>
<!---->
<script
src=
"js/md5.min.js"
></script>
<!-- <script src='LayaAir3D.max.js' loader='laya'></script> -->
<head></head>
<body
style=
"margin: 0;text-align: center;"
>
<iframe
style=
"border: none;"
id=
"box"
src=
"./index.html"
height=
"100%"
>
<script
type=
"text/javascript"
>
console
.
log
(
"wait document loaded."
);
window
.
onload
=
function
()
{
console
.
log
(
"document loaded."
);
var
obj
=
document
.
createElement
(
"script"
);
obj
.
src
=
"LayaAir3D.max.js?r="
+
new
Date
().
getTime
();
obj
.
loader
=
'laya'
;
document
.
body
.
appendChild
(
obj
);
}
</script>
</iframe>
</body>
<script
type=
"text/javascript"
>
window
.
onresize
=
function
(){
var
height
=
document
.
body
.
clientHeight
;
var
width
=
1080
*
height
/
1920
;
box
=
document
.
getElementById
(
'box'
);
box
.
style
.
width
=
width
+
"px"
;
box
.
style
.
height
=
height
+
"px"
;
}
window
.
onresize
();
</script>
</html>
\ No newline at end of file
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