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.

71 lines
1.7 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">
2 years ago
行政检查预告
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{*/
/* heighheight: 50px;*/
/*padding-bottom: constant(safe-area-inset-bottom);*/
/*padding-bottom: env(safe-area-inset-bottom);*/
/*box-sizing: content-box;*/
/*background-color: #fff;*/
/*!*box-shadow: 0 0 0.27rem #e5e5e5;*!*/
/* .footer-bar{*/
/* position: absolute;*/
/* bottom: constant(safe-area-inset-bottom);*/
/* bottom: env(safe-area-inset-bottom);*/
/* }*/
/*}*/
.footer_body{
height: 2rem;
}
3 years ago
.footer_nav{
height: 2.0rem;
background-color: #fff;
/*box-shadow: 0 0 0.27rem #e5e5e5;*/
3 years ago
.footer-bar{
position: absolute;
/*bottom: 0.6rem;*/
3 years ago
}
}
2 years ago
2 years ago
.van-hairline--top-bottom:after, .van-hairline-unset--top-bottom:after {
border: 0;
}
2 years ago
/deep/ .van-tabbar-item {
color: #bbb;
}
/deep/ .van-tabbar-item--active{
color: #1989fa;
}
3 years ago
</style>