.vol-aside { position: absolute; float: left; overflow: hidden; top: 54px; bottom: 0; border-right: 1px solid #e7edf6; background: #fff; } .vol-menu{ border: 0 !important; } // ====== 顶部一级导航栏 ====== .vol-top-header { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; z-index: 200; background: linear-gradient(135deg, #176be7 0%, #2f8dff 52%, #28b4ff 100%); box-shadow: 0 8px 24px rgba(23, 107, 231, 0.22); } .top-logo { display: flex; align-items: center; padding: 0 18px 0 16px; min-width: 200px; height: 100%; flex-shrink: 0; border-radius: 0; border-right: 1px solid rgba(255, 255, 255, 0.18); img { height: 32px; margin-right: 10px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); } span { color: #fff; font-size: 18px; font-weight: 700; white-space: nowrap; letter-spacing: 0; text-shadow: 0 1px 3px rgba(58, 40, 40, 0.15); font-family: "PingFangSC", sans-serif; } } .top-nav-menus { flex: 1; display: flex; align-items: center; height: 100%; padding: 0 10px 0 18px; gap: 8px; overflow-x: auto; overflow-y: hidden; min-width: 0; // 隐藏滚动条但保留滚动功能 scrollbar-width: none; -ms-overflow-style: none; &::-webkit-scrollbar { display: none; } } // 测量容器(全部菜单项不可见渲染,用于获取宽度) .top-nav-measure { position: absolute; top: -9999px; left: 0; display: flex; gap: 6px; visibility: hidden; pointer-events: none; white-space: nowrap; z-index: -1; } // 溢出更多按钮外层容器 .top-nav-more-wrapper { position: relative; display: inline-flex; align-items: center; height: 100%; flex-shrink: 0; } // ··· 按钮样式 .top-nav-more-btn { font-size: 18px; font-weight: 700; letter-spacing: 3px; padding: 0 14px !important; } // 下拉面板(position 由 JS 内联样式控制) .top-nav-overflow-panel { min-width: 160px; background: #fff; border-radius: 12px; box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06); padding: 5px; border: 1px solid rgba(0, 0, 0, 0.06); } // 下拉面板视觉样式已迁移至 index.vue 全局