新增: viewer 批注展示与分享剥离演讲者备注;优化: resolveColor 迁至 bg 纯函数层

This commit is contained in:
lxy
2026-08-29 01:43:34 +08:00
parent eca5b11ea4
commit dde53378c3
6 changed files with 279 additions and 25 deletions
+2
View File
@@ -10,6 +10,7 @@ import { parseShareHash, shareJsonUrlOf } from '../core/share'
import { resolveBg, registerBgThemeGetter } from '../core/bg'
import { CANVAS_W, CANVAS_H } from '../core/sample'
import ElementView from '../components/editor/ElementView.vue'
import ViewerAnnotations from './ViewerAnnotations.vue'
type Status = 'loading' | 'ready' | 'error' | 'invalid'
@@ -151,6 +152,7 @@ onUnmounted(unbindEvents)
:el="el"
:bg="currentSlide.background"
/>
<ViewerAnnotations :slide="currentSlide" />
</div>
</div>
<div class="viewer-hud">{{ (index + 1) + ' / ' + total }}</div>