uni-ticket-system/src/pages/index/index.vue

17 lines
454 B
Vue
Raw Normal View History

2023-12-05 02:11:10 +00:00
<template>
<div>
2023-12-05 12:00:53 +00:00
<!-- <div :style="{height:`${ztHehight}px`}"></div>-->
2023-12-05 10:53:17 +00:00
<home v-if="acc===0"/>
<mine v-if="acc===1"/>
2023-12-05 02:11:10 +00:00
<self-tabbar v-model="acc"></self-tabbar>
</div>
</template>
<script setup>
2023-12-05 10:53:17 +00:00
import home from '../home/index.vue'
import mine from '../mine/index.vue'
2023-12-05 02:11:10 +00:00
import selfTabbar from '../../components/self-tabbar/index.vue'
import {ref} from "vue";
2023-12-05 12:00:53 +00:00
const acc=ref(1)
2023-12-05 11:06:19 +00:00
const ztHehight=uni.getSystemInfoSync().statusBarHeight
2023-12-05 02:11:10 +00:00
</script>