V0.1.2.20250718
——————————————— 1.路由重定向 2.Home页面头部完成 ———————————————
This commit is contained in:
parent
ad1dcacd08
commit
92285a7f0b
@ -21,6 +21,7 @@ body{
|
||||
flex-wrap: nowrap;
|
||||
max-height: 70px;
|
||||
--el-menu-horizontal-height: 65%;
|
||||
min-height: 40px;
|
||||
}
|
||||
/* 使用 Flex 布局控制菜单 */
|
||||
.el-menu-demo {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import "@/assets/ordinary/Home.css"
|
||||
import {ref} from 'vue'
|
||||
|
||||
import { UserFilled } from '@element-plus/icons-vue'
|
||||
const activeIndex = ref('1')
|
||||
const handleSelect = (key: string, keyPath: string[]) => {
|
||||
console.log(key, keyPath)
|
||||
@ -28,9 +28,7 @@ const handleSelect = (key: string, keyPath: string[]) => {
|
||||
<div class="flex-grow"></div>
|
||||
<!-- 头像-->
|
||||
<div style="margin: auto 0;">
|
||||
<el-avatar
|
||||
src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
|
||||
/>
|
||||
<el-avatar src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" :icon="UserFilled"/>
|
||||
</div>
|
||||
<el-menu-item index="5">读者登录</el-menu-item>
|
||||
</el-menu>
|
||||
|
Loading…
x
Reference in New Issue
Block a user