diff --git a/App.vue b/App.vue index fd7bdeb..3579f38 100644 --- a/App.vue +++ b/App.vue @@ -2,14 +2,18 @@ import { go2 } from '@/utils/hook.js' import store from '@/store/index.js' export default { - onLaunch: function() { - const token = store.state.qnToken - if (!token) { - go2('login') - } - }, - onShow: function() {}, - onHide: function() {} + onLaunch: function () { + const token = store.state.qnToken + let flag = uni.getStorageSync('hasLaunch') + if (flag && !token) { + go2('login') + } + if (flag && token) { + go2('client') + } + }, + onShow: function () {}, + onHide: function () {} } @@ -18,12 +22,12 @@ export default { @import url('./common/css/reset.scss'); @import '@/static/icon/iconfont.css'; page { - height: 100%; + height: 100%; } /* uni-dialog标题样式 */ .uni-dialog-title-text { - font-size: 32rpx !important; - color: #323233 !important; - font-weight: 500 !important; + font-size: 32rpx !important; + color: #323233 !important; + font-weight: 500 !important; } - + diff --git a/pages/contract-manage/index.vue b/pages/contract-manage/index.vue index 1e4115f..4cb537e 100644 --- a/pages/contract-manage/index.vue +++ b/pages/contract-manage/index.vue @@ -1,6 +1,6 @@ diff --git a/static/imgs/start-page/dzqy.png b/static/imgs/start-page/dzqy.png deleted file mode 100644 index a9d006f..0000000 Binary files a/static/imgs/start-page/dzqy.png and /dev/null differ diff --git a/static/imgs/start-page/ht.png b/static/imgs/start-page/ht.png deleted file mode 100644 index 7b01b90..0000000 Binary files a/static/imgs/start-page/ht.png and /dev/null differ diff --git a/static/imgs/start-page/rz.png b/static/imgs/start-page/rz.png deleted file mode 100644 index d804885..0000000 Binary files a/static/imgs/start-page/rz.png and /dev/null differ diff --git a/static/imgs/start-page/zx.png b/static/imgs/start-page/zx.png deleted file mode 100644 index bdc2ae8..0000000 Binary files a/static/imgs/start-page/zx.png and /dev/null differ