.sidebarMenu { height: 100%; display: flex; flex-direction: column; background: #fff; .headerContainer { padding: 16px 16px 0px 16px; background: #fff; border-bottom: 1px solid #f0f0f0; .searchBar { margin-bottom: 16px; padding: 0; background: #fff; } .tabsContainer { display: flex; justify-content: space-around; border-bottom: 1px solid #f0f0f0; .tabItem { padding: 8px 0; flex: 1; text-align: center; cursor: pointer; color: #999; transition: all 0.3s; &:hover { color: #1890ff; } &.active { color: #1890ff; border-bottom: 2px solid #1890ff; } span { margin-left: 4px; } } } } } // 骨架屏样式 .skeletonContainer { height: 100%; padding: 16px; display: flex; flex-direction: column; .searchBarSkeleton { margin-bottom: 16px; } .tabsContainerSkeleton { display: flex; justify-content: space-around; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; gap: 8px; } .contactListSkeleton { flex: 1; overflow-y: auto; .contactItemSkeleton { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #f5f5f5; .contactInfoSkeleton { margin-left: 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; } } } } .emptyState { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #999; padding: 20px; text-align: center; } .contentContainer { flex: 1; overflow-y: auto; } .footer { padding: 10px; text-align: center; border-top: 1px solid #f0f0f0; background: #fff; display: none; /* 默认隐藏底部,如果需要显示可以移除此行 */ }