2025-02-28 22:57:26 +08:00
|
|
|
<script lang="ts" setup>
|
2025-03-02 22:49:11 +08:00
|
|
|
import { ref } from 'vue';
|
2025-02-28 22:57:26 +08:00
|
|
|
import { useRouter } from 'vue-router';
|
|
|
|
|
|
|
|
const router = useRouter();
|
2025-03-01 22:18:18 +08:00
|
|
|
|
2025-03-02 22:49:11 +08:00
|
|
|
const list = ref([
|
|
|
|
{ icon: 'i-material-symbols:home-and-garden', name: '园区', target: '/' },
|
|
|
|
{ icon: 'i-fa:building', name: '园区', target: '/' },
|
|
|
|
{ icon: 'i-fa-solid:chart-line', name: '经营', target: '/manage-forms' },
|
|
|
|
{ icon: 'i-ri:community-fill', name: '园区', target: '/' },
|
|
|
|
]);
|
2025-02-28 22:57:26 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<footer class="flex-y-around">
|
|
|
|
<ul class="flex-x-between">
|
2025-03-01 23:10:44 +08:00
|
|
|
<li v-for="(item, index) in list" :key="index" @click="router.push(item.target)">
|
2025-03-02 22:49:11 +08:00
|
|
|
<i :class="`${item.icon}`" />
|
2025-03-01 22:18:18 +08:00
|
|
|
<span class="hover">{{ item.name }}</span>
|
2025-02-28 22:57:26 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</footer>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
footer {
|
|
|
|
margin: 190px 0 0 0;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
width: 431px;
|
|
|
|
height: 90px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: 90px;
|
|
|
|
height: 90px;
|
|
|
|
color: #7cc1ff;
|
2025-03-02 22:49:11 +08:00
|
|
|
background: url('@/assets/images/common/bg/bg-main-2.png') no-repeat center;
|
2025-03-01 20:52:06 +08:00
|
|
|
background-size: cover;
|
|
|
|
|
2025-03-01 22:18:18 +08:00
|
|
|
i {
|
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
|
|
|
font-size: 26px;
|
|
|
|
}
|
|
|
|
|
2025-03-01 20:52:06 +08:00
|
|
|
img {
|
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
|
|
|
}
|
2025-02-28 22:57:26 +08:00
|
|
|
|
|
|
|
span {
|
|
|
|
margin: 4px 0 0 0;
|
2025-03-01 20:52:06 +08:00
|
|
|
font-size: 13px;
|
|
|
|
cursor: pointer;
|
2025-02-28 22:57:26 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|