feat:更新tabbar显示
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
<template>
|
||||
<section class="layout-mobile-home">
|
||||
<section class="layout-mobile-home"
|
||||
:class="{ 'hide-tab-bar': appStore.isShowMobileBack }">
|
||||
<title-bar />
|
||||
|
||||
<router-view />
|
||||
|
||||
<tab-bar />
|
||||
<tab-bar v-if="!appStore.isShowMobileBack"/>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import TitleBar from '@/layout/TitleBar.vue'
|
||||
import TabBar from '@/layout/TabBar.vue'
|
||||
import { useAppStore } from '@/store/app.ts'
|
||||
|
||||
const appStore = useAppStore()
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user