You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.1 KiB

3 years ago
<template>
<div class="footer_nav">
<van-tabbar class="footer-bar" v-model="data.footerActive" :route="true" safe-area-inset-bottom>
2 years ago
<van-tabbar-item name="Home" replace icon="wap-home" to="/home">{{
3 years ago
$t("common.lang_home")
}}</van-tabbar-item>
2 years ago
<van-tabbar-item name="Classify" replace icon="bell" to="/enterprise/enterpriseInspectionNotice">
行政检查通知
3 years ago
</van-tabbar-item>
2 years ago
<van-tabbar-item name="Classify" replace icon="todo-list" to="/enterprise/complaintList">
投诉进度查询
</van-tabbar-item>
2 years ago
<!-- <van-tabbar-item name="My" replace icon="manager-o" to="">{{
3 years ago
$t("common.lang_my")
2 years ago
}}</van-tabbar-item> -->
3 years ago
</van-tabbar>
</div>
</template>
<script setup name="footerNav">
// const { useCommon } = $globalStore
3 years ago
let data = reactive({
footerActive: "Home",
dot: false,
});
</script>
<style lang="less" scoped>
.footer_nav{
2 years ago
height: 1.33rem;
2 years ago
box-shadow: 0 0 0.27rem #e5e5e5;
3 years ago
.footer-bar{
position: absolute;
bottom: 0;
}
}
2 years ago
/deep/ .van-tabbar-item {
color: #bbb;
}
/deep/ .van-tabbar-item--active{
color: #1989fa;
}
3 years ago
</style>