FEAT => 本次更新项目为:

This commit is contained in:
2025-08-22 17:55:04 +08:00
parent 465c63ed1c
commit 83ae92b2b6
6 changed files with 222 additions and 141 deletions

View File

@@ -1,63 +1,61 @@
.sidebar {
.headerContainer {
background: #fff;
border-right: 1px solid #f0f0f0;
display: flex;
flex-direction: column;
border-bottom: 1px solid #f0f0f0;
}
.searchBar {
padding: 16px;
border-bottom: 1px solid #f0f0f0;
background: #fff;
.searchBar {
padding: 16px 16px 8px;
background: #fff;
:global(.ant-input) {
border-radius: 20px;
background: #f5f5f5;
border: none;
:global(.ant-input) {
border-radius: 20px;
background: #f5f5f5;
border: none;
&:focus {
background: #fff;
border: 1px solid #1890ff;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
}
}
.tabs {
flex: 1;
display: flex;
flex-direction: column;
:global(.ant-tabs-content) {
flex: 1;
overflow: hidden;
}
:global(.ant-tabs-tabpane) {
height: 100%;
overflow: hidden;
}
:global(.ant-tabs-nav) {
margin: 0;
padding: 0 16px;
&:focus {
background: #fff;
border-bottom: 1px solid #f0f0f0;
:global(.ant-tabs-tab) {
padding: 12px 0;
margin: 0 16px 0 0;
}
border: 1px solid #1890ff;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
}
.emptyState {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
color: #999;
padding: 20px;
text-align: center;
}
}
.tabsContainer {
display: flex;
padding: 0 16px 8px;
border-bottom: 1px solid #f0f0f0;
.tabItem {
display: flex;
align-items: center;
padding: 8px 12px;
cursor: pointer;
border-radius: 4px;
transition: all 0.3s;
&:hover {
color: #1890ff;
background-color: rgba(24, 144, 255, 0.1);
}
&.active {
color: #1890ff;
background-color: rgba(24, 144, 255, 0.1);
}
span {
margin-left: 4px;
}
}
}
.emptyState {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
color: #999;
padding: 20px;
text-align: center;
}