<script setup lang="ts">
import { useTabbarStore } from './mj-tabbar'

const { list, current, switchTab } = useTabbarStore()
</script>

<template>
    <tui-tabbar
        :current="current"
        :unlined="true"
        :tabBar="list"
        color="#777"
        selectedColor="#4575f5"
        @click="switchTab"
    ></tui-tabbar>
</template>
<style lang="scss">
/* 修复bug */
.tui-unlined::before {
    border: 0;
}
</style>
<style lang="scss" scoped></style>
