uni-ticket-system/src/pages/index/index.vue
2023-12-05 19:06:19 +08:00

17 lines
447 B
Vue

<template>
<div>
<div :style="{height:`${ztHehight}px`}"></div>
<home v-if="acc===0"/>
<mine v-if="acc===1"/>
<self-tabbar v-model="acc"></self-tabbar>
</div>
</template>
<script setup>
import home from '../home/index.vue'
import mine from '../mine/index.vue'
import selfTabbar from '../../components/self-tabbar/index.vue'
import {ref} from "vue";
const acc=ref(0)
const ztHehight=uni.getSystemInfoSync().statusBarHeight
</script>