透明状态栏
var d1 = require("deviceone");
var app = d1.sm("do_App");
app.on("loaded", function () {
app.openPage({
source:"source://view/index.ui",
statusBarState:"transparent", a
nimationType: "fade"
});
});
启动图
var app = sm("do_App");
var times = mm("do_Timer");
times.delay = 5000;//延时5秒后执行
//times.interval = 1000; times.start();
times.on("tick", function() {
app.openPage("source://view/index2.ui");
times.stop();
});