feat(viewer): refine visual details to match design reference

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-22 13:49:15 +08:00
parent 9dbdb0084e
commit 900ff2a74d
10 changed files with 162 additions and 132 deletions
+2 -1
View File
@@ -93,8 +93,9 @@ describe('activity page (Task 6)', () => {
expect(wrapper.find('.empty-notice').text()).toBe('照片即将上线');
// 无 banner 资产 → 不渲染 img;viewCount 未知(null)→ 浏览项显示「—」而非 0(UI-02 §4.1)。
// (参考稿:浏览项前置 ◉ Unicode 图标,属渲染内容的一部分。)
expect(wrapper.find('img.banner').exists()).toBe(false);
expect(wrapper.find('.view-count').text()).toBe('—');
expect(wrapper.find('.view-count').text()).toBe('◉—');
expect(document.title).toBe('2026 公司年会');
});