Commit 9341852e authored by hbcui1984's avatar hbcui1984

hello mui的splash界面变为全屏模式

parent 7f4c814f
......@@ -239,13 +239,7 @@
<script>
mui.back = function() {};
mui.plusReady(function() {
//设置宽高
plus.navigator.setFullscreen(true);
//关闭splash页面;
setTimeout(function() {
plus.navigator.closeSplashscreen();
}, 10);
});
//立即体验按钮点击事件
document.getElementById("close").addEventListener('tap', function(event) {
......
......@@ -480,6 +480,7 @@
//有值,说明已经显示过了,无需显示;
//关闭splash页面;
plus.navigator.closeSplashscreen();
plus.navigator.setFullscreen(false);
//初始化模板
initTemplates();
//预加载
......
......@@ -10,6 +10,7 @@
"icons": {
"72": "icon.png"
},
"fullscreen":true,
"launch_path": "index.html",/*必选,应用的入口页面,默认为根目录下的index.html;也可以是网络地址,网络地址必须以http://或https://开头*/
"developer": {
"email": "",/*可选,开发者名称*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment