123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <template>
- <view class="box">
- <image class="img" src="https://minio.menduner.com/dev/fe9890be9b1176f84f2aa282b0f6adce300b133f65eb3d7b45ae057aa5698324.png"></image>
- <view class="color-primary font-size-20 font-weight-bold">我是大女主</view>
- <view class="icons">
- <uni-icons type="spinner-cycle" size="24" />
- </view>
- </view>
- </template>
- <script setup>
- import { onShow } from '@dcloudio/uni-app'
- // import { getAccessToken } from '@/utils/request'
- // import { showAuthModal } from '@/hooks/useModal'
- // import { userStore } from '@/store/user'
- // const useUserStore = userStore()
- // const tabBarControl = (show = false) => { // 显示/隐藏 TabBar
- // const currentPage = getCurrentPages()
- // if (!currentPage) return
- // const currentTabBar = currentPage[0]?.getTabBar?.()
- // currentTabBar?.setData({ show })
- // }
- onShow(async() => {
- // tabBarControl(false) // 隐藏页面底部导航
-
- // if (!getAccessToken()) showAuthModal()
- uni.reLaunch({ url: 'pages/drawLots/index' })
- })
- </script>
- <style lang="scss" scoped>
- .box {
- text-align: center;
- .img {
- width: 105px;
- height: 45px;
- margin-top: 30vh;
- margin-bottom: 16px;
- }
- .icons {
- position: fixed;
- bottom: 20vh;
- width: 100%;
- margin: 0 auto;
- }
- }
- </style>
|