<script setup lang="ts">
import home from './components/home.vue'
import order from './components/order.vue'

definePage({
  name: 'video-rights-tabbar',
  islogin: true,
  style: {
    navigationBarTitleText: '',
    navigationStyle: 'custom',
  },
})
const tabbar = ref(0)
</script>

<template>
  <home v-if="tabbar === 0" />
  <order v-if="tabbar === 1" />
  <view class="">
    <wd-tabbar v-model="tabbar" safe-area-inset-bottom placeholder fixed :bordered="false" :z-index="99999">
      <wd-tabbar-item title="商品" icon="goods" />
      <wd-tabbar-item title="订单记录" icon="list" />
    </wd-tabbar>
  </view>
</template>

<style lang="scss" scoped></style>
