Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mui
Project overview
Project overview
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
Administrator
mui
Commits
9341852e
Commit
9341852e
authored
Jun 27, 2015
by
hbcui1984
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hello mui的splash界面变为全屏模式
parent
7f4c814f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
examples/hello-mui/examples/guide.html
examples/hello-mui/examples/guide.html
+1
-7
examples/hello-mui/list.html
examples/hello-mui/list.html
+1
-0
examples/hello-mui/manifest.json
examples/hello-mui/manifest.json
+1
-0
No files found.
examples/hello-mui/examples/guide.html
View file @
9341852e
...
@@ -239,13 +239,7 @@
...
@@ -239,13 +239,7 @@
<script>
<script>
mui
.
back
=
function
()
{};
mui
.
back
=
function
()
{};
mui
.
plusReady
(
function
()
{
mui
.
plusReady
(
function
()
{
//设置宽高
plus
.
navigator
.
closeSplashscreen
();
plus
.
navigator
.
setFullscreen
(
true
);
//关闭splash页面;
setTimeout
(
function
()
{
plus
.
navigator
.
closeSplashscreen
();
},
10
);
});
});
//立即体验按钮点击事件
//立即体验按钮点击事件
document
.
getElementById
(
"
close
"
).
addEventListener
(
'
tap
'
,
function
(
event
)
{
document
.
getElementById
(
"
close
"
).
addEventListener
(
'
tap
'
,
function
(
event
)
{
...
...
examples/hello-mui/list.html
View file @
9341852e
...
@@ -480,6 +480,7 @@
...
@@ -480,6 +480,7 @@
//有值,说明已经显示过了,无需显示;
//有值,说明已经显示过了,无需显示;
//关闭splash页面;
//关闭splash页面;
plus
.
navigator
.
closeSplashscreen
();
plus
.
navigator
.
closeSplashscreen
();
plus
.
navigator
.
setFullscreen
(
false
);
//初始化模板
//初始化模板
initTemplates
();
initTemplates
();
//预加载
//预加载
...
...
examples/hello-mui/manifest.json
View file @
9341852e
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
"icons"
:
{
"icons"
:
{
"72"
:
"icon.png"
"72"
:
"icon.png"
},
},
"fullscreen"
:
true
,
"launch_path"
:
"index.html"
,
/*必选,应用的入口页面,默认为根目录下的index.html;也可以是网络地址,网络地址必须以http://或https://开头*/
"launch_path"
:
"index.html"
,
/*必选,应用的入口页面,默认为根目录下的index.html;也可以是网络地址,网络地址必须以http://或https://开头*/
"developer"
:
{
"developer"
:
{
"email"
:
""
,
/*可选,开发者名称*/
"email"
:
""
,
/*可选,开发者名称*/
...
...
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