auto-sync: 2026-05-20 22:38:55

This commit is contained in:
cfdaily
2026-05-20 22:38:55 +08:00
parent 806da277f1
commit 47eee40c85
+3
View File
@@ -115,6 +115,9 @@ export default function App() {
{/* 通知中心 */}
<button className="chip" style={{ cursor: 'pointer', border: '1px solid var(--line)', position: 'relative' }} title="通知中心" onClick={() => setShowNotifCenter(true)}>
🔔
{mailUnread > 0 && (
<span style={{ position: 'absolute', top: -4, right: -4, fontSize: 9, background: '#ff5270', color: '#fff', borderRadius: 8, padding: '0 4px', fontWeight: 700, lineHeight: '16px' }}>{mailUnread > 99 ? '99+' : mailUnread}</span>
)}
</button>
{showNotifCenter && <NotificationCenter onClose={() => setShowNotifCenter(false)} />}
<button