auto-sync: 2026-05-20 23:23:58

This commit is contained in:
cfdaily
2026-05-20 23:23:58 +08:00
parent 6aea9dd97c
commit 4265b25c41
+2 -2
View File
@@ -118,8 +118,8 @@ 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>
{notifUnread > 0 && (
<span style={{ position: 'absolute', top: -4, right: -4, fontSize: 9, background: '#ff5270', color: '#fff', borderRadius: 8, padding: '0 4px', fontWeight: 700, lineHeight: '16px' }}>{notifUnread > 99 ? '99+' : notifUnread}</span>
)}
</button>
{showNotifCenter && <NotificationCenter onClose={() => setShowNotifCenter(false)} />}