修改自适应

This commit is contained in:
2026-08-19 08:53:50 +08:00
parent 0e797c39f4
commit ec5cf96d0b
14 changed files with 941 additions and 48 deletions
+24
View File
@@ -484,6 +484,30 @@ onUnmounted(() => {
}
}
// 手机端(≤768px):隐藏左侧折叠按钮区(侧栏抽屉由 Main.vue 的 .mobile-menu-btn 控制)
@media (max-width: 768px) {
.l-content {
display: none;
}
// 顶栏左侧为汉堡按钮预留空间,右侧收紧间距,避免空洞与拥挤
.header {
padding: 0 12px 0 60px;
}
.r-content {
gap: 10px;
.el-dropdown-link {
gap: 8px;
.user-name {
max-width: 72px;
}
}
}
}
.r-content {
position: relative;
// z-index: 1000;