2025-12-20 11:18:59 +00:00
|
|
|
.app-header {
|
|
|
|
|
background: #fff;
|
|
|
|
|
padding: 0 24px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
|
|
|
|
height: 64px;
|
|
|
|
|
border-bottom: 1px solid #f0f0f0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 左侧区域 */
|
|
|
|
|
.header-left {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Logo 区域 */
|
|
|
|
|
.header-logo {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 168px;
|
|
|
|
|
transition: width 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logo-small {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logo-full {
|
|
|
|
|
height: 32px;
|
|
|
|
|
width: auto;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.trigger {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: color 0.3s;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.trigger:hover {
|
2026-01-01 14:41:10 +00:00
|
|
|
color: #1677ff;
|
|
|
|
|
background: rgba(22, 119, 255, 0.08);
|
2025-12-20 11:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 右侧区域 */
|
|
|
|
|
.header-right {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header-search {
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header-icon {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header-icon:hover {
|
2026-01-01 14:41:10 +00:00
|
|
|
color: #1677ff;
|
|
|
|
|
background: rgba(22, 119, 255, 0.08);
|
2025-12-20 11:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header-link {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header-link:hover {
|
2026-01-01 14:41:10 +00:00
|
|
|
color: #1677ff;
|
|
|
|
|
background: rgba(22, 119, 255, 0.08);
|
2025-12-20 11:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-info {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-info:hover {
|
2026-01-01 14:41:10 +00:00
|
|
|
background: rgba(22, 119, 255, 0.08);
|
2025-12-20 11:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.username {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.88);
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-06 10:04:06 +00:00
|
|
|
/* 通知面板样式 */
|
|
|
|
|
.header-notification-popover .ant-popover-inner-content {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-popover {
|
|
|
|
|
width: 320px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popover-header {
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
border-bottom: 1px solid #f0f0f0;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popover-header .title {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-list {
|
|
|
|
|
max-height: 400px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-item {
|
|
|
|
|
padding: 12px 16px !important;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-item:hover {
|
|
|
|
|
background: #f5f5f5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-item.unread {
|
|
|
|
|
background: #e6f7ff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-item.unread:hover {
|
|
|
|
|
background: #bae7ff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.content-text {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: #595959;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #bfbfbf;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popover-footer {
|
|
|
|
|
padding: 8px;
|
|
|
|
|
border-top: 1px solid #f0f0f0;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-20 11:18:59 +00:00
|
|
|
.ml-1 {
|
|
|
|
|
margin-left: 4px;
|
2026-01-01 14:41:10 +00:00
|
|
|
}
|