5c97e8b1f8
- pages.json 全局设置 navigationStyle: custom 移除原生导航栏 - App.vue 全局 page 添加状态栏安全区 padding-top - 综合场馆/冰场馆首页轮播图改为全屏模式(无圆角无边距、去除标题) - 轮播图高度改为 33.33vh 占屏幕三分之一 - VenueSwitchHeader 从轮播图上方移至公告活动板块下方 - 合并 tabBar 页面路由、清理废弃组件 VenueTabBar
28 lines
656 B
Vue
28 lines
656 B
Vue
<template>
|
|
<view class="tab-page">
|
|
<ComprehensiveProfile v-if="isComprehensive" ref="contentRef" />
|
|
<IceProfile v-else ref="contentRef" />
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue'
|
|
import { onShow } from '@dcloudio/uni-app'
|
|
import { getStoredVenue } from '@/utils/venue'
|
|
import ComprehensiveProfile from '@/pages/comprehensive/profile/index.vue'
|
|
import IceProfile from '@/pages/ice/profile/index.vue'
|
|
|
|
const isComprehensive = getStoredVenue() === 'comprehensive'
|
|
const contentRef = ref()
|
|
|
|
onShow(() => {
|
|
contentRef.value?.onPageShow?.()
|
|
})
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.tab-page {
|
|
min-height: 100vh;
|
|
}
|
|
</style>
|