前端修复: - calendar_page: 移除不存在的 JournalEntry.content getter - responsive_scaffold: 移除不存在的 notchThickness 参数 - splash_page: SingleTickerProvider → TickerProvider (多 AnimationController) - profile_page: UserRoleType.name → .code (修复运行时崩溃) - 导入缺失的 user.dart 后端修复: - class_service: generate_class_code 取 UUID 后6位(随机部分)避免碰撞 - diary_role_seed: 移除不存在的 id 列,使用复合主键 ON CONFLICT 基础设施: - config/default.toml: CORS 改为通配符(开发模式) - scripts/dev.sh: 统一启动脚本(自动清理端口) - docs/opendesign/: Open Design 设计规格 HTML 原型稿 验证结果: flutter analyze 0 error, cargo test 77/77 通过, 17个页面全部渲染正常
630 lines
22 KiB
HTML
630 lines
22 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=1440, height=900, initial-scale=1">
|
|
<title>暖记 — 桌面端日历</title>
|
|
<link rel="stylesheet" href="../css/tokens.css">
|
|
<link rel="stylesheet" href="../css/components.css">
|
|
<link rel="stylesheet" href="shared.css">
|
|
<style>
|
|
body {
|
|
width: 1440px;
|
|
height: 900px;
|
|
overflow: hidden;
|
|
background: var(--bg);
|
|
font-family: var(--font-body);
|
|
}
|
|
|
|
.cal-layout {
|
|
display: flex;
|
|
height: 900px;
|
|
padding-top: 32px;
|
|
}
|
|
|
|
.sidebar { position: relative; flex-shrink: 0; }
|
|
|
|
.cal-main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Top bar */
|
|
.cal-topbar {
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 var(--space-8);
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border-soft);
|
|
flex-shrink: 0;
|
|
}
|
|
.cal-topbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-5);
|
|
}
|
|
.cal-topbar-title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-xl);
|
|
font-weight: 700;
|
|
}
|
|
.cal-nav {
|
|
display: flex;
|
|
gap: var(--space-2);
|
|
}
|
|
.cal-nav button {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
border: 1.5px solid var(--border);
|
|
background: var(--surface);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
color: var(--fg);
|
|
transition: all var(--motion-fast);
|
|
}
|
|
.cal-nav button:hover { border-color: var(--accent); color: var(--accent); }
|
|
.cal-nav button svg { width: 16px; height: 16px; }
|
|
.cal-month-label {
|
|
font-size: var(--text-md);
|
|
color: var(--fg-2);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.view-toggle {
|
|
display: flex;
|
|
background: var(--surface-warm);
|
|
border-radius: var(--radius-pill);
|
|
padding: 3px;
|
|
border: 1px solid var(--border-soft);
|
|
}
|
|
.view-toggle button {
|
|
padding: 7px 20px;
|
|
border: none;
|
|
border-radius: var(--radius-pill);
|
|
background: transparent;
|
|
font-size: var(--text-sm);
|
|
font-weight: 500;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
transition: all var(--motion-fast);
|
|
}
|
|
.view-toggle button.active {
|
|
background: var(--accent);
|
|
color: var(--accent-on);
|
|
box-shadow: var(--elev-soft);
|
|
}
|
|
|
|
/* Three-column body */
|
|
.cal-body {
|
|
flex: 1;
|
|
display: flex;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Left: mini stats */
|
|
.cal-left-panel {
|
|
width: 280px;
|
|
background: var(--surface);
|
|
border-right: 1px solid var(--border-soft);
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
flex-shrink: 0;
|
|
padding: var(--space-6);
|
|
}
|
|
.cal-left-panel::-webkit-scrollbar { width: 4px; }
|
|
.cal-left-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
|
|
|
|
.mini-stats {
|
|
margin-bottom: var(--space-6);
|
|
}
|
|
.mini-stats h4 {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-base);
|
|
font-weight: 600;
|
|
margin-bottom: var(--space-4);
|
|
color: var(--fg);
|
|
}
|
|
.mini-stat-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
padding: var(--space-3) 0;
|
|
border-bottom: 1px solid var(--border-soft);
|
|
}
|
|
.mini-stat-row:last-child { border-bottom: none; }
|
|
.mini-stat-icon { font-size: 20px; }
|
|
.mini-stat-info { flex: 1; }
|
|
.mini-stat-value {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-md);
|
|
font-weight: 700;
|
|
}
|
|
.mini-stat-label {
|
|
font-size: var(--text-xs);
|
|
color: var(--muted);
|
|
}
|
|
|
|
.mood-summary-mini {
|
|
margin-bottom: var(--space-6);
|
|
}
|
|
.mood-summary-mini h4 {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-base);
|
|
font-weight: 600;
|
|
margin-bottom: var(--space-4);
|
|
}
|
|
.mood-bar-chart {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: var(--space-4);
|
|
height: 80px;
|
|
margin-bottom: var(--space-3);
|
|
}
|
|
.mood-bar {
|
|
flex: 1;
|
|
border-radius: 6px 6px 0 0;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
padding-bottom: 4px;
|
|
font-size: 14px;
|
|
}
|
|
.mood-labels {
|
|
display: flex;
|
|
gap: var(--space-3);
|
|
}
|
|
.mood-labels span {
|
|
flex: 1;
|
|
text-align: center;
|
|
font-size: 10px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
/* Quick tags */
|
|
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
|
|
.tag-item {
|
|
padding: 5px 12px;
|
|
border-radius: var(--radius-pill);
|
|
font-size: var(--text-xs);
|
|
font-weight: 500;
|
|
background: var(--surface-warm);
|
|
color: var(--fg-2);
|
|
border: 1px solid var(--border-soft);
|
|
cursor: pointer;
|
|
transition: all var(--motion-fast);
|
|
}
|
|
.tag-item:hover { border-color: var(--accent); color: var(--accent); }
|
|
|
|
/* Center: calendar grid */
|
|
.cal-center {
|
|
flex: 1;
|
|
padding: var(--space-6);
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border) transparent;
|
|
}
|
|
.cal-center::-webkit-scrollbar { width: 4px; }
|
|
.cal-center::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
|
|
|
|
.weekday-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
text-align: center;
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
.weekday-row span {
|
|
font-size: var(--text-xs);
|
|
color: var(--meta);
|
|
font-weight: 500;
|
|
padding: var(--space-2);
|
|
}
|
|
|
|
.calendar-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 4px;
|
|
}
|
|
.cal-day {
|
|
aspect-ratio: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: all var(--motion-fast);
|
|
background: transparent;
|
|
border: none;
|
|
font-size: var(--text-md);
|
|
color: var(--fg);
|
|
gap: 2px;
|
|
}
|
|
.cal-day:hover { background: var(--surface-warm); }
|
|
.cal-day.empty { cursor: default; }
|
|
.cal-day.empty:hover { background: transparent; }
|
|
.cal-day.today {
|
|
background: var(--accent);
|
|
color: var(--accent-on);
|
|
font-weight: 700;
|
|
}
|
|
.cal-day.selected {
|
|
background: var(--surface-warm);
|
|
border: 2px solid var(--accent);
|
|
}
|
|
.cal-day.today.selected { background: var(--accent); border: 2px solid var(--accent); }
|
|
.mood-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
bottom: 5px;
|
|
}
|
|
.mood-dot.happy { background: var(--secondary); }
|
|
.mood-dot.love { background: var(--accent); }
|
|
.mood-dot.calm { background: var(--tertiary); }
|
|
.mood-dot.sad { background: #5B7DB1; }
|
|
.mood-dot.tired { background: #8B7E74; }
|
|
.entry-indicator {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 6px;
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
}
|
|
.cal-day.today .entry-indicator { background: var(--accent-on); }
|
|
|
|
/* Right: timeline detail */
|
|
.cal-right-panel {
|
|
width: 360px;
|
|
background: var(--surface);
|
|
border-left: 1px solid var(--border-soft);
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
flex-shrink: 0;
|
|
padding: var(--space-6);
|
|
}
|
|
.cal-right-panel::-webkit-scrollbar { width: 4px; }
|
|
.cal-right-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
|
|
|
|
.detail-title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-xl);
|
|
font-weight: 700;
|
|
margin-bottom: var(--space-1);
|
|
}
|
|
.detail-date {
|
|
font-size: var(--text-sm);
|
|
color: var(--muted);
|
|
margin-bottom: var(--space-6);
|
|
}
|
|
.detail-count {
|
|
font-size: var(--text-sm);
|
|
color: var(--accent);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.timeline-item {
|
|
display: flex;
|
|
gap: var(--space-3);
|
|
margin-bottom: var(--space-5);
|
|
position: relative;
|
|
}
|
|
.timeline-line {
|
|
width: 2px;
|
|
background: var(--border);
|
|
position: absolute;
|
|
left: 18px;
|
|
top: 42px;
|
|
bottom: -16px;
|
|
}
|
|
.timeline-item:last-child .timeline-line { display: none; }
|
|
|
|
.timeline-dot {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
background: var(--bg);
|
|
border: 2px solid var(--border-soft);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.timeline-content {
|
|
flex: 1;
|
|
background: var(--bg);
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-4);
|
|
border: 1px solid var(--border-soft);
|
|
cursor: pointer;
|
|
transition: transform var(--motion-fast);
|
|
}
|
|
.timeline-content:hover { transform: translateY(-1px); box-shadow: var(--elev-soft); }
|
|
|
|
.tl-time {
|
|
font-size: var(--text-xs);
|
|
color: var(--muted);
|
|
margin-bottom: 4px;
|
|
}
|
|
.tl-title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-md);
|
|
font-weight: 600;
|
|
color: var(--fg);
|
|
margin-bottom: 4px;
|
|
}
|
|
.tl-excerpt {
|
|
font-size: var(--text-sm);
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
.tl-tags {
|
|
display: flex;
|
|
gap: var(--space-1);
|
|
margin-top: var(--space-2);
|
|
}
|
|
.tl-tag {
|
|
padding: 2px 8px;
|
|
border-radius: var(--radius-pill);
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
background: var(--surface-warm);
|
|
color: var(--fg-2);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="cal-layout">
|
|
<!-- Sidebar -->
|
|
<nav class="sidebar" role="navigation" aria-label="主导航">
|
|
<div class="sidebar-brand">
|
|
<div class="sidebar-logo">📖</div>
|
|
<div>
|
|
<div class="sidebar-brand-text">暖记</div>
|
|
<div class="sidebar-brand-sub">Warm Notes</div>
|
|
</div>
|
|
</div>
|
|
<div class="sidebar-nav">
|
|
<button class="sidebar-nav-item" aria-label="首页">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>
|
|
首页
|
|
</button>
|
|
<button class="sidebar-nav-item active" aria-label="日历">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>
|
|
日历
|
|
</button>
|
|
<button class="sidebar-nav-item" aria-label="心情追踪">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z"/></svg>
|
|
心情追踪
|
|
</button>
|
|
<button class="sidebar-nav-item" aria-label="贴纸库">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><rect x="3" y="3" width="18" height="18" rx="3"/><circle cx="9" cy="10" r="1.5" fill="currentColor"/><circle cx="15" cy="10" r="1.5" fill="currentColor"/><path d="M9 15c.8.8 2.2 1.2 3 1.2s2.2-.4 3-1.2"/></svg>
|
|
贴纸库
|
|
</button>
|
|
<button class="sidebar-nav-item" aria-label="模板">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/></svg>
|
|
模板
|
|
</button>
|
|
<button class="sidebar-nav-item" aria-label="发现">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
|
|
发现
|
|
</button>
|
|
</div>
|
|
<button class="sidebar-write-btn" aria-label="写日记">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>
|
|
写日记
|
|
</button>
|
|
<div class="sidebar-footer">
|
|
<div class="sidebar-avatar">🐱</div>
|
|
<div>
|
|
<div class="sidebar-user-name">小暖</div>
|
|
<div class="sidebar-user-streak">连续记录 12 天</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<main class="cal-main" role="main">
|
|
<!-- Top bar -->
|
|
<div class="cal-topbar">
|
|
<div class="cal-topbar-left">
|
|
<div class="cal-topbar-title">日历</div>
|
|
<div class="cal-nav">
|
|
<button aria-label="上一月"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M10 14l-5-5 5-5"/></svg></button>
|
|
<button aria-label="下一月"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M6 2l5 5-5 5"/></svg></button>
|
|
</div>
|
|
<span class="cal-month-label">2026年5月</span>
|
|
</div>
|
|
<div class="view-toggle">
|
|
<button class="active">月视图</button>
|
|
<button>周视图</button>
|
|
<button>时间轴</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Three-column body -->
|
|
<div class="cal-body">
|
|
<!-- Left: stats -->
|
|
<aside class="cal-left-panel" role="complementary" aria-label="月度统计">
|
|
<div class="mini-stats">
|
|
<h4>本月统计</h4>
|
|
<div class="mini-stat-row">
|
|
<span class="mini-stat-icon">📝</span>
|
|
<div class="mini-stat-info">
|
|
<div class="mini-stat-value" style="color:var(--accent)">28</div>
|
|
<div class="mini-stat-label">日记篇数</div>
|
|
</div>
|
|
</div>
|
|
<div class="mini-stat-row">
|
|
<span class="mini-stat-icon">🔥</span>
|
|
<div class="mini-stat-info">
|
|
<div class="mini-stat-value" style="color:var(--secondary)">12天</div>
|
|
<div class="mini-stat-label">最长连续</div>
|
|
</div>
|
|
</div>
|
|
<div class="mini-stat-row">
|
|
<span class="mini-stat-icon">😊</span>
|
|
<div class="mini-stat-info">
|
|
<div class="mini-stat-value">72%</div>
|
|
<div class="mini-stat-label">好心情占比</div>
|
|
</div>
|
|
</div>
|
|
<div class="mini-stat-row">
|
|
<span class="mini-stat-icon">📸</span>
|
|
<div class="mini-stat-info">
|
|
<div class="mini-stat-value">45</div>
|
|
<div class="mini-stat-label">添加照片</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mood-summary-mini">
|
|
<h4>心情分布</h4>
|
|
<div class="mood-bar-chart">
|
|
<div class="mood-bar" style="height:65%;background:var(--secondary)">😊</div>
|
|
<div class="mood-bar" style="height:45%;background:var(--accent)">🥰</div>
|
|
<div class="mood-bar" style="height:30%;background:var(--tertiary)">😌</div>
|
|
<div class="mood-bar" style="height:15%;background:#5B7DB1">😔</div>
|
|
<div class="mood-bar" style="height:20%;background:#8B7E74">😴</div>
|
|
</div>
|
|
<div class="mood-labels">
|
|
<span>12天</span><span>8天</span><span>5天</span><span>2天</span><span>3天</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<h4 style="font-family:var(--font-display);font-size:var(--text-base);font-weight:600;margin-bottom:var(--space-3)">常用标签</h4>
|
|
<div class="tag-list">
|
|
<span class="tag-item">学习</span>
|
|
<span class="tag-item">朋友</span>
|
|
<span class="tag-item">美食</span>
|
|
<span class="tag-item">运动</span>
|
|
<span class="tag-item">读书</span>
|
|
<span class="tag-item">旅行</span>
|
|
<span class="tag-item">心情</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Center: calendar -->
|
|
<div class="cal-center">
|
|
<div class="weekday-row">
|
|
<span>周日</span><span>周一</span><span>周二</span><span>周三</span><span>周四</span><span>周五</span><span>周六</span>
|
|
</div>
|
|
<div class="calendar-grid">
|
|
<div class="cal-day empty"></div><div class="cal-day empty"></div><div class="cal-day empty"></div><div class="cal-day empty"></div><div class="cal-day empty"></div>
|
|
<div class="cal-day"><span>1</span><div class="mood-dot happy"></div></div>
|
|
<div class="cal-day"><span>2</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>3</span><div class="mood-dot calm"></div></div>
|
|
<div class="cal-day"><span>4</span><div class="mood-dot love"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>5</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>6</span><div class="mood-dot happy"></div></div>
|
|
<div class="cal-day"><span>7</span><div class="mood-dot tired"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>8</span><div class="mood-dot happy"></div></div>
|
|
<div class="cal-day"><span>9</span><div class="mood-dot love"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>10</span><div class="mood-dot calm"></div></div>
|
|
<div class="cal-day"><span>11</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>12</span><div class="mood-dot tired"></div></div>
|
|
<div class="cal-day"><span>13</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>14</span><div class="mood-dot love"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>15</span><div class="mood-dot calm"></div></div>
|
|
<div class="cal-day"><span>16</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>17</span><div class="mood-dot sad"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>18</span><div class="mood-dot calm"></div></div>
|
|
<div class="cal-day"><span>19</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>20</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>21</span><div class="mood-dot love"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>22</span><div class="mood-dot tired"></div></div>
|
|
<div class="cal-day"><span>23</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>24</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>25</span><div class="mood-dot calm"></div></div>
|
|
<div class="cal-day"><span>26</span><div class="mood-dot love"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>27</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>28</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>29</span><div class="mood-dot love"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day"><span>30</span><div class="mood-dot happy"></div><div class="entry-indicator"></div></div>
|
|
<div class="cal-day today selected"><span>31</span><div class="mood-dot love" style="background:var(--accent-on)"></div></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right: timeline detail -->
|
|
<aside class="cal-right-panel" role="complementary" aria-label="日期详情">
|
|
<div class="detail-title">5月31日 · 今天</div>
|
|
<div class="detail-date">星期日 · <span class="detail-count">3条记录</span></div>
|
|
|
|
<div class="timeline-item">
|
|
<div class="timeline-line"></div>
|
|
<div class="timeline-dot">🥰</div>
|
|
<div class="timeline-content">
|
|
<div class="tl-time">14:30 · 心情: 幸福</div>
|
|
<div class="tl-title">图书馆的午后时光</div>
|
|
<div class="tl-excerpt">今天下午去图书馆自习,阳光从窗外洒进来,暖暖的。不知不觉就学了三个小时,中间喝了一杯抹茶拿铁☕</div>
|
|
<div class="tl-tags">
|
|
<span class="tl-tag">学习</span>
|
|
<span class="tl-tag">校园</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<div class="timeline-line"></div>
|
|
<div class="timeline-dot">😊</div>
|
|
<div class="timeline-content">
|
|
<div class="tl-time">09:15 · 心情: 开心</div>
|
|
<div class="tl-title">周末早起的奖励</div>
|
|
<div class="tl-excerpt">难得周末早起,去食堂吃了喜欢的豆浆油条,还买了一束花放在书桌上</div>
|
|
<div class="tl-tags">
|
|
<span class="tl-tag">美食</span>
|
|
<span class="tl-tag">心情</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<div class="timeline-line"></div>
|
|
<div class="timeline-dot">😌</div>
|
|
<div class="timeline-content">
|
|
<div class="tl-time">07:00 · 心情: 平静</div>
|
|
<div class="tl-title">晨跑记录</div>
|
|
<div class="tl-excerpt">早起跑了两圈操场,空气很清新。看到有人在遛小狗,好可爱</div>
|
|
<div class="tl-tags">
|
|
<span class="tl-tag">运动</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
|
|
<!-- Status bar -->
|
|
<div class="desktop-statusbar">
|
|
<div class="traffic-lights">
|
|
<div class="dot" style="background:#FF5F57"></div>
|
|
<div class="dot" style="background:#FEBC2E"></div>
|
|
<div class="dot" style="background:#28C840"></div>
|
|
</div>
|
|
<span>暖记 — 日历</span>
|
|
<span style="font-variant-numeric:tabular-nums">14:32</span>
|
|
</div>
|
|
|
|
<script src="../../js/theme-switcher.js"></script>
|
|
</body>
|
|
</html>
|