官网开发 0805

This commit is contained in:
eafonyang
2026-08-05 18:36:01 +08:00
parent 816281bf2d
commit c9a1d9c576
23 changed files with 1367 additions and 231 deletions
+2
View File
@@ -30,6 +30,8 @@ export function useSectionContent(section: SectionBlock) {
// 前景文案自定义颜色(空 = 跟随 theme 默认配色,由布局组件的 class 控制)
// 内联 style 优先级高于 class,非空时直接覆盖默认色
const overlineStyle = computed(() => (section.overline_color ? { color: section.overline_color } : undefined));
// 标题字号由 main.css 的 section h2 规则统一控制(config.title_font_size 经 SectionRenderer
// 注入 --sec-title-fs/--sec-title-fs-m 变量,留空兜底 36px,移动端 22.5px
const titleStyle = computed(() => (section.title_color ? { color: section.title_color } : undefined));
const bodyStyle = computed(() => (section.body_color ? { color: section.body_color } : undefined));