feat:添加admin相关接口

This commit is contained in:
2025-11-13 15:05:54 +08:00
parent 11cb40c86a
commit 067e0539ba
58 changed files with 18736 additions and 273 deletions
+30 -2
View File
@@ -5,7 +5,7 @@
<div class="logo-container">
<h1 class="title">零零七云计算后台控制面板</h1>
</div>
<el-scrollbar>
<el-scrollbar class="sidebar-scrollbar">
<el-menu
:default-active="activeMenu"
class="sidebar-menu"
@@ -176,9 +176,13 @@ const handleLogout = () => {
color: #1890ff;
}
.sidebar-scrollbar {
height: calc(100vh - 60px);
}
.sidebar-menu {
border-right: none;
height: calc(100vh - 60px);
min-height: 100%;
}
/* 主容器样式 */
@@ -279,4 +283,28 @@ const handleLogout = () => {
:deep(.el-dropdown-menu__item i) {
margin-right: 8px;
}
/* 侧边栏滚动条样式优化 */
:deep(.sidebar-scrollbar .el-scrollbar__wrap) {
overflow-x: hidden;
}
:deep(.sidebar-scrollbar .el-scrollbar__view) {
height: 100%;
}
/* Element Plus 菜单项样式优化 */
:deep(.el-menu) {
border-right: none;
}
:deep(.el-sub-menu__title) {
height: 48px;
line-height: 48px;
}
:deep(.el-menu-item) {
height: 48px;
line-height: 48px;
}
</style>