diff --git a/docs/QUICK_REF.md b/docs/QUICK_REF.md index 3348a74..a45d27f 100644 --- a/docs/QUICK_REF.md +++ b/docs/QUICK_REF.md @@ -7,7 +7,7 @@ ## 版本速查 ### 当前版本 -`0.2.4` → 下一目标 `0.2.5` ([M3.5](./M3.md)) +`0.2.5` → 下一目标 `0.2.6` ([M3.6](./M3.md)) ### 模块版本范围 diff --git a/docs/README.md b/docs/README.md index 6e37797..b6b9654 100644 --- a/docs/README.md +++ b/docs/README.md @@ -65,9 +65,9 @@ M11.10完成 → 1.0.0 (正式发布) ## 当前状态 -**当前版本**: `0.2.4` -**当前进度**: 18/97 (19%) -**下一任务**: [M3.5 结果展示组件(静态)](./M3.md#m35-结果展示组件静态--目标版本-025) +**当前版本**: `0.2.5` +**当前进度**: 19/97 (20%) +**下一任务**: [M3.6 点击图标查词(Mock数据)](./M3.md#m36-点击图标查词mock数据--目标版本-026) --- diff --git a/docs/VERSION.md b/docs/VERSION.md index 9f3c9c6..69ce5dc 100644 --- a/docs/VERSION.md +++ b/docs/VERSION.md @@ -40,7 +40,7 @@ | M3.2 | 0.2.2 | 词典管理器 | ✅ | 2026-02-11 | | M3.3 | 0.2.3 | 必应词典(Mock) | ✅ | 2026-02-11 | | M3.4 | 0.2.4 | 后台查询接口 | ✅ | 2026-02-11 | -| M3.5 | 0.2.5 | 结果展示组件 | ⬜ | - | +| M3.5 | 0.2.5 | 结果展示组件 | ✅ | 2026-02-11 | | M3.6 | 0.2.6 | 点击图标查词(Mock) | ⬜ | - | | M3.7 | 0.2.7 | 必应词典真实API | ⬜ | - | | M3.8 | 0.2.8 | 加载状态显示 | ⬜ | - | diff --git a/manifest.json b/manifest.json index d686860..ba6a4e4 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "沙拉查词", - "version": "0.2.4", + "version": "0.2.5", "description": "聚合词典划词翻译", "permissions": [ "storage", diff --git a/package.json b/package.json index 1479fb8..b3f0edf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "salad-dict", - "version": "0.2.4", + "version": "0.2.5", "description": "聚合词典划词翻译", "private": true, "type": "module", diff --git a/src/content/components/DictPanel.js b/src/content/components/DictPanel.js index f101de2..c00178f 100644 --- a/src/content/components/DictPanel.js +++ b/src/content/components/DictPanel.js @@ -71,6 +71,9 @@ export class DictPanel { flex: 1; padding: 16px; overflow-y: auto; + font-size: 14px; + line-height: 1.6; + color: #333; } .placeholder { @@ -78,6 +81,67 @@ export class DictPanel { text-align: center; margin-top: 100px; } + + .word-title { + font-size: 28px; + font-weight: bold; + color: #333; + margin-bottom: 4px; + } + + .phonetic { + font-size: 14px; + color: #666; + margin-bottom: 16px; + font-family: 'Times New Roman', serif; + } + + .meanings-section { + margin-bottom: 16px; + } + + .section-title { + font-size: 12px; + font-weight: bold; + color: #4CAF50; + margin-bottom: 8px; + text-transform: uppercase; + } + + .meaning-item { + margin-bottom: 8px; + } + + .part-of-speech { + color: #2196F3; + font-weight: 500; + margin-right: 8px; + } + + .definition { + color: #333; + } + + .examples-section { + margin-top: 16px; + } + + .example-item { + margin-bottom: 12px; + padding: 8px; + background: #f5f5f5; + border-radius: 4px; + } + + .example-sentence { + color: #333; + margin-bottom: 4px; + } + + .example-translation { + color: #666; + font-size: 13px; + }