Files
pqs-9100_client/frontend/src/layouts/components/Footer/index.vue

47 lines
1.3 KiB
Vue
Raw Normal View History

2024-08-22 11:27:06 +08:00
<template>
2024-08-27 16:17:42 +08:00
<div class="footer flx-align-center pl10">
<el-dropdown>
2024-08-27 18:37:46 +08:00
<!-- <span class="el-dropdown-link">
2024-08-27 16:17:42 +08:00
{{ title }}
<el-icon class="el-icon--right">
<arrow-down />
</el-icon>
</span> -->
2024-08-27 18:37:46 +08:00
<el-button type="primary">
{{ title }}<el-icon class="el-icon--right"><arrow-down /></el-icon>
2024-08-27 16:17:42 +08:00
</el-button>
2024-08-27 18:37:46 +08:00
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item @click="title = '模拟式模式'"
>模拟式模块</el-dropdown-item
>
<el-dropdown-item @click="title = '数字式模式'"
>数字式模块</el-dropdown-item
>
<el-dropdown-item @click="title = '对比式模式'"
>对比式模块</el-dropdown-item
>
</el-dropdown-menu>
</template>
</el-dropdown>
<p> <a href="http://www.shining-electric.com/" target="_blank"> 2024 © 南京灿能电力自动化股份有限公司 </a></p>
2024-08-22 11:27:06 +08:00
</div>
</template>
2024-08-27 16:17:42 +08:00
<script lang="ts" setup>
import { ref, reactive, computed } from "vue";
2024-08-27 18:37:46 +08:00
const title = ref("模拟式模块");
2024-08-27 16:17:42 +08:00
</script>
2024-08-22 11:27:06 +08:00
<style scoped lang="scss">
@import "./index.scss";
2024-08-27 18:37:46 +08:00
.footer{
position: relative;
p{
position: absolute;
width: 100%;
height: 100%;
text-align: center;
line-height: 40px;
}
}
2024-08-22 11:27:06 +08:00
</style>