feat(messages): 补齐 PC 消息中心通知与已读操作

This commit is contained in:
yml2213
2026-10-30 14:19:23 +08:00
parent ca2c8fee26
commit 398bf28d7d
3 changed files with 257 additions and 21 deletions
+86
View File
@@ -424,3 +424,89 @@
flex-basis: 100%;
}
}
.pc-messages-tabs {
margin-bottom: 16px;
}
.pc-messages-tabs .ant-tabs-nav {
margin-bottom: 0;
}
.pc-notice-list {
display: flex;
flex-direction: column;
}
.pc-notice-row {
display: flex;
align-items: flex-start;
gap: 12px;
width: 100%;
padding: 16px 20px;
border: 0;
border-bottom: 1px solid var(--line);
background: transparent;
color: inherit;
text-align: left;
cursor: pointer;
transition: background 0.2s ease;
}
.pc-notice-row:last-child {
border-bottom: 0;
}
.pc-notice-row:hover {
background: var(--paper-warm);
}
.pc-notice-row__dot {
flex: 0 0 8px;
width: 8px;
height: 8px;
margin-top: 7px;
border-radius: 50%;
background: var(--line);
}
.pc-notice-row--unread .pc-notice-row__dot {
background: var(--brand-seal);
box-shadow: 0 0 0 3px rgba(166, 67, 50, 0.12);
}
.pc-notice-row__body {
flex: 1;
min-width: 0;
}
.pc-notice-row__top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.pc-notice-row__top strong {
color: var(--ink);
font-size: 14px;
font-weight: 600;
}
.pc-notice-row__top small {
flex: 0 0 auto;
color: var(--ink-muted);
font-size: 11px;
}
.pc-notice-row__content {
display: -webkit-box;
overflow: hidden;
margin-top: 5px;
color: var(--ink-secondary);
font-size: 13px;
line-height: 1.7;
white-space: pre-wrap;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}