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.
59 lines
1.5 KiB
59 lines
1.5 KiB
|
7 months ago
|
<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">
|
||
|
7 months ago
|
法律查询
|
||
|
7 months ago
|
</van-tabbar-item>
|
||
|
|
<van-tabbar-item name="Classify" replace icon="todo-list" to="/enterprise/complaintList">
|
||
|
7 months ago
|
消息
|
||
|
7 months ago
|
</van-tabbar-item>
|
||
|
|
<van-tabbar-item name="Classify" replace icon="todo-list" to="/enterprise/systemNotice">
|
||
|
7 months ago
|
我的
|
||
|
7 months ago
|
</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.15rem #d7d7d7;
|
||
|
|
.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>
|