fix(walkthrough): menuRoute 识别 /sch/{code} 壳路径免回退告警;栏目弹窗按钮 type=link 改 text;mock 补 cherry-bloom/violet-iris 主题
build / build (push) Successful in 2m20s

This commit is contained in:
chenxing
2026-09-19 17:47:51 +08:00
parent f29c193ea7
commit be19ed066a
5 changed files with 90 additions and 4 deletions
+28
View File
@@ -103,6 +103,34 @@ const THEMES: MockTheme[] = [
{ key: "bg", cssVar: "--bg", label: "页面底色", type: "color", defaultValue: "#fff8f0" },
],
},
{
name: "cherry-bloom",
title: "樱语粉韵",
description: "温柔樱粉风门户:樱花粉品牌色 + 大圆角 16px 卡片网格列表,适合幼儿园与小学。",
version: "1.0.0",
author: "yunhai",
bannerSize: "1920x560",
screenshotUrl: "/api/theme/cherry-bloom/asset/screenshot.png",
params: [
{ key: "primary", cssVar: "--primary", label: "主色", type: "color", defaultValue: "#DB5A8B" },
{ key: "primaryDark", cssVar: "--primary-dark", label: "主色加深", type: "color", defaultValue: "#B23A68" },
{ key: "bg", cssVar: "--bg", label: "页面底色", type: "color", defaultValue: "#FFFAFB" },
],
},
{
name: "violet-iris",
title: "鸢尾紫韵",
description: "雅致鸢尾紫门户:沉静书卷气 + 圆角 12px 卡片网格列表,适合高校与教科研机构。",
version: "1.0.0",
author: "yunhai",
bannerSize: "1920x560",
screenshotUrl: "/api/theme/violet-iris/asset/screenshot.png",
params: [
{ key: "primary", cssVar: "--primary", label: "主色", type: "color", defaultValue: "#6552D9" },
{ key: "primaryDark", cssVar: "--primary-dark", label: "主色加深", type: "color", defaultValue: "#4A39B0" },
{ key: "bg", cssVar: "--bg", label: "页面底色", type: "color", defaultValue: "#F8F7FD" },
],
},
];
function themeByName(name: string): MockTheme | undefined {