2021-08-19 06:40:59 +00:00
|
|
|
<script>
|
|
|
|
import toolAll from '@/jsFile/tools.js';
|
2021-08-22 08:53:12 +00:00
|
|
|
// import {checkSwip} from '@/jsFile/publicAPI.js'
|
2021-08-19 06:40:59 +00:00
|
|
|
export default {
|
|
|
|
onLaunch: function() {
|
|
|
|
toolAll.tools.clearClog()//去除体验版和正式版的所有输出日志
|
|
|
|
},
|
|
|
|
onShow: function() {
|
2021-08-22 08:53:12 +00:00
|
|
|
toolAll.tools.zhuColorT()
|
2021-08-19 06:40:59 +00:00
|
|
|
// uni.clearStorageSync()
|
|
|
|
if(uni.getStorageSync('token')!='') {
|
|
|
|
toolAll.tools.daoTime()
|
|
|
|
toolAll.tools.networkStatus()//检查当前网络状态
|
|
|
|
toolAll.tools.updaX()//检测版本更新
|
2021-10-11 10:21:06 +00:00
|
|
|
}
|
2021-08-26 01:50:19 +00:00
|
|
|
setTimeout(()=>{
|
|
|
|
toolAll.tools.overdue()//查询是否第一次授权
|
|
|
|
},3000)
|
2021-08-22 08:53:12 +00:00
|
|
|
// checkSwip()//查询轮播图位置
|
2021-08-19 06:40:59 +00:00
|
|
|
},
|
|
|
|
onHide: function() {
|
|
|
|
toolAll.tools.closeTimer()//清空埋点倒计时
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
/*每个页面公共css */
|
|
|
|
@import url("./commons/hengmei.css");
|
|
|
|
@import url("./commons/animate.min.css");
|
|
|
|
page {background-color: rgba(244, 244, 244, 1);}
|
|
|
|
</style>
|