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
f5b9f01d
Commit
f5b9f01d
authored
Jun 15, 2019
by
liurufeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
907eed3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
28 deletions
+48
-28
game.html
babyswimming-weixin/h5/web_v0.1/game.html
+33
-0
index.html
babyswimming-weixin/h5/web_v0.1/index.html
+15
-28
No files found.
babyswimming-weixin/h5/web_v0.1/game.html
0 → 100644
View file @
f5b9f01d
<html>
<head>
<title>
www.layabox.com
</title>
<meta
charset=
'utf-8'
/>
<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
name=
'laya'
screenorientation=
'landscape'
/>
<meta
http-equiv=
'expires'
content=
'0'
/>
<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>
<script
type=
"text/javascript"
>
function
loadLib
(
url
)
{
var
script
=
document
.
createElement
(
"script"
);
script
.
async
=
false
;
script
.
src
=
url
;
document
.
body
.
appendChild
(
script
);
}
</script>
<script
type=
"text/javascript"
src=
"index.js"
></script>
</body>
</html>
\ No newline at end of file
babyswimming-weixin/h5/web_v0.1/index.html
View file @
f5b9f01d
<html>
<head></head>
<body
style=
"margin: 0;text-align: center;"
>
<iframe
style=
"border: none;"
id=
"box"
src=
"./game.html"
height=
"100%"
>
<head>
<title>
www.layabox.com
</title>
<meta
charset=
'utf-8'
/>
<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
name=
'laya'
screenorientation=
'landscape'
/>
<meta
http-equiv=
'expires'
content=
'0'
/>
<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>
<script
type=
"text/javascript"
>
function
loadLib
(
url
)
{
var
script
=
document
.
createElement
(
"script"
);
script
.
async
=
false
;
script
.
src
=
url
;
document
.
body
.
appendChild
(
script
);
}
</script>
<script
type=
"text/javascript"
src=
"index.js"
></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