.container { background-color: transparent; width: 100%; height: 89vh; overflow: hidden; display: flex; flex-direction: column; .TopButton { background-color: #FFFFFF; width: 100%; height: 42px; padding: 8px 30px 5px 30px; display: flex; gap: 24px; margin-left: 6px; .TopButtonItem { background-color: #FFFFFF !important; color: #333333 !important; font-family: 'PingFang SC', sans-serif !important; font-weight: 500 !important; font-size: 14px !important; line-height: 100% !important; border-radius: 8px !important; padding: 4px 16px !important; height: auto !important; border: none !important; box-shadow: none !important; position: relative !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 5px !important; transition: all 0.3s ease !important; &:hover { color: #333333 !important; border: none !important; } &:focus { color: #333333 !important; border: none !important; } &.active { color: #2E4CD4 !important; &::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 80%; height: 4px; background-color: #2E4CD4; opacity: 1; } } } } .content { // ======== 内容区域样式 ======== flex: 1; // ======== 占据剩余空间 ======== overflow-y: auto; // ======== 允许垂直滚动 ======== padding: 0; // ======== 无内边距 ======== } }