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.
 
 

55 lines
1.2 KiB

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