| 12345678910111213141516171819202122232425262728293031323334 |
- <script setup>
- import { onShow } from '@dcloudio/uni-app'
- import { useUserStore } from '@/stores/user'
- import { PAGE_PATHS } from '@/config/api'
- import { getSafeAreaStyle } from '@/utils/safeArea'
- const safeAreaStyle = getSafeAreaStyle()
- const userStore = useUserStore()
- onShow(() => {
- userStore.checkLoginStatus()
- if (!userStore.isLoggedIn) {
- uni.reLaunch({ url: PAGE_PATHS.login })
- }
- })
- </script>
- <template>
- <view class="mp-page mp-page--tab">
- <view class="sq-nav-header" :style="safeAreaStyle">
- <view class="sq-nav-header__nav">
- <view class="sq-nav-header__left">
- <text class="sq-nav-header__title">待办</text>
- </view>
- <view /><!-- 胶囊占位 -->
- </view>
- </view>
- <view class="mp-placeholder">
- <view class="mp-placeholder__icon" />
- <text class="mp-placeholder__title">待办功能建设中</text>
- <text class="mp-placeholder__desc">本期请从「工作台」进入各业务模块办理;全局待办将在后续阶段开放。</text>
- </view>
- </view>
- </template>
|