官网开发中 0803

This commit is contained in:
eafonyang
2026-08-03 19:09:03 +08:00
parent eeccdb079c
commit f37b6451ef
36 changed files with 1906 additions and 78 deletions
@@ -7,6 +7,10 @@ export const wwwSectionBlocks = mysqlTable('www_section_blocks', {
productId: bigint('product_id', { mode: 'number', unsigned: true }),
layout: varchar('layout', { length: 30 }).notNull(),
theme: varchar('theme', { length: 10 }).notNull().default('light'),
// 前景文案自定义颜色(空字符串 = 跟随 theme 默认配色)
overlineColor: varchar('overline_color', { length: 20 }).notNull().default(''),
titleColor: varchar('title_color', { length: 20 }).notNull().default(''),
bodyColor: varchar('body_color', { length: 20 }).notNull().default(''),
bgType: varchar('bg_type', { length: 10 }).notNull().default('color'),
bgValue: varchar('bg_value', { length: 500 }).notNull().default(''),
overlayEnabled: tinyint('overlay_enabled').notNull().default(0),