<template>
  <van-tabbar
    v-model="index"
    inactive-color="#bfc8db"
    active-color="#ff4b08"
    fixed
    placeholder
    safe-area-inset-bottom
  >
    <van-tabbar-item icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item icon="search">境外旅游</van-tabbar-item>
    <van-tabbar-item icon="friends-o">出国劳务</van-tabbar-item>
    <van-tabbar-item icon="friends-o">写游记</van-tabbar-item>
  </van-tabbar>
</template>

<script setup>
const tabbarStore = useTabbarStore()
const { index } = storeToRefs(tabbarStore)
</script>

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