mui.plusReady(function() {
//读取本地存储,检查是否为首次启动
var showGuide = plus.storage.getItem("lauchFlag");
console.log(showGuide);
if(showGuide){
//有值,说明已经显示过了,无需显示;
//关闭splash页面;
console.log("123");
plus.navigator.closeSplashscreen();
plus.navigator.setFullscreen(false);
}else{
console.log("456");
//显示启动导航
mui.openWindow({
id:'guide',
url:'../guidePages/guide.html',
show:{
aniShow:'none'
},
waiting:{
autoShow:false
}
});
}
});
1 个回复
张铁蛋 - hello
qw3rqsdfs