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.
47 lines
1.0 KiB
47 lines
1.0 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-o" to="/enforceHome">{{
|
|
$t("common.lang_home")
|
|
}}</van-tabbar-item>
|
|
<van-tabbar-item name="Classify" replace icon="warn-o" to="/earlyWarning">预警</van-tabbar-item>
|
|
<van-tabbar-item
|
|
name="plan"
|
|
replace
|
|
icon="clock-o"
|
|
to="/appointmentList"
|
|
>预约</van-tabbar-item
|
|
>
|
|
<van-tabbar-item
|
|
name="Shop"
|
|
replace
|
|
icon="records-o"
|
|
to="/enforce/enforcementPlan"
|
|
>计划</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_nav{
|
|
height: 1.33rem;
|
|
.footer-bar{
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
</style>
|
|
|