Commit 92c9c8dd authored by home's avatar home

zxh

parent a80bf90a
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
//app关闭默认的启动 方法关闭启动图。但是这个时间不能太晚,6s 超时后依旧会主动关闭。 //app关闭默认的启动 方法关闭启动图。但是这个时间不能太晚,6s 超时后依旧会主动关闭。
setTimeout(()=>{ setTimeout(()=>{
plus.navigator.closeSplashscreen(); plus.navigator.closeSplashscreen();
},100) },100)
uni.getNetworkType({ //查看是否有网络 uni.getNetworkType({ //查看是否有网络
...@@ -34,6 +35,7 @@ ...@@ -34,6 +35,7 @@
setTimeout(()=>{ setTimeout(()=>{
this.getnewsRemind();//不要一上来就提示 this.getnewsRemind();//不要一上来就提示
},1000*15) },1000*15)
...@@ -41,12 +43,16 @@ ...@@ -41,12 +43,16 @@
}, },
onShow: function() { onShow: function() {
console.log(this.userInfo);
//console.log('App Show') //console.log('App Show')
}, },
onHide: function() { onHide: function() {
//console.log('App Hide') //console.log('App Hide')
}, },
methods:{ methods:{
//获取 语音消息 //获取 语音消息
async getnewsRemind(){ async getnewsRemind(){
var date = new Date(); var date = new Date();
......
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