feat: 初始化音乐项目后台管理系统- 新增后台管理相关页面和功能组件
- 实现管理员评论管理、数据统计等功能 - 添加后台布局和路由管理 -配置数据库和Redis连接 - 实现文件上传和访问路径配置 - 添加Sa-Token安全配置
This commit is contained in:
76
music-qianduan/src/assets/css/global.css
Normal file
76
music-qianduan/src/assets/css/global.css
Normal file
@@ -0,0 +1,76 @@
|
||||
/* 全局样式 */
|
||||
|
||||
/* 确保所有菜单项显示在同一层级 */
|
||||
.el-menu--horizontal {
|
||||
display: flex !important;
|
||||
flex-wrap: nowrap !important;
|
||||
overflow: visible !important;
|
||||
border-bottom: none !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.el-menu--horizontal > .el-menu-item {
|
||||
display: block !important;
|
||||
visibility: visible !important;
|
||||
opacity: 1 !important;
|
||||
pointer-events: auto !important;
|
||||
flex-shrink: 0 !important;
|
||||
border-bottom: none !important;
|
||||
height: 70px !important;
|
||||
line-height: 70px !important;
|
||||
}
|
||||
|
||||
/* 菜单项样式 */
|
||||
.el-menu-demo.main-nav {
|
||||
border-bottom: none !important;
|
||||
background-color: transparent !important;
|
||||
height: 70px !important;
|
||||
}
|
||||
|
||||
/* 确保所有菜单项都显示 */
|
||||
.el-menu-item[index="/"],
|
||||
.el-menu-item[index="/music"],
|
||||
.el-menu-item[index="/playlist"],
|
||||
.el-menu-item[index="/singer"] {
|
||||
display: block !important;
|
||||
visibility: visible !important;
|
||||
opacity: 1 !important;
|
||||
height: 70px !important;
|
||||
line-height: 70px !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: 500 !important;
|
||||
padding: 0 20px !important;
|
||||
min-width: 80px !important;
|
||||
}
|
||||
|
||||
/* 移除更多菜单按钮,但保留菜单项 */
|
||||
.el-menu--horizontal .el-sub-menu__icon-more,
|
||||
.el-menu--horizontal .el-icon--more {
|
||||
display: none !important;
|
||||
visibility: hidden !important;
|
||||
opacity: 0 !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
/* 防止双滚动条 */
|
||||
html, body {
|
||||
overflow: hidden; /* 禁止整个页面滚动 */
|
||||
}
|
||||
|
||||
/* 确保内容区域只有一个滚动条 */
|
||||
.el-main {
|
||||
overflow-y: hidden !important;
|
||||
overflow-x: hidden !important;
|
||||
}
|
||||
|
||||
/* 确保所有页面内容区域适应高度 */
|
||||
.home-container,
|
||||
.music-page,
|
||||
.playlist-container,
|
||||
.singer-container,
|
||||
.search-container,
|
||||
.user-container,
|
||||
.singer-detail-container,
|
||||
.playlist-detail-container {
|
||||
height: 100%;
|
||||
}
|
||||
1
music-qianduan/src/assets/vue.svg
Normal file
1
music-qianduan/src/assets/vue.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 496 B |
Reference in New Issue
Block a user