后端删除 cherry-bloom/violet-iris,改以学院蓝为基座的学府藏蓝/青蓝校园两包接管; mock 主题清单同步换名换标题换色(cssVar 用各皮肤私有前缀 --an-*/--cz-*), 院系子站种子站点 theme 一并改指,避免管理端主题选择器出现已不存在的皮肤。
This commit is contained in:
+2
-2
@@ -231,7 +231,7 @@ export function seedDb(): MockDb {
|
||||
schId: 1001,
|
||||
schName: "云海大学",
|
||||
name: "机电学院",
|
||||
theme: "cherry-bloom",
|
||||
theme: "academic-navy",
|
||||
configJson: JSON.stringify({
|
||||
public_base_url: "http://www.yunhai-demo.edu.cn/college/jdx",
|
||||
copyright: "机电学院 · Mock 数据",
|
||||
@@ -247,7 +247,7 @@ export function seedDb(): MockDb {
|
||||
schId: 1001,
|
||||
schName: "云海大学",
|
||||
name: "信息工程学院",
|
||||
theme: "violet-iris",
|
||||
theme: "campus-azure",
|
||||
configJson: JSON.stringify({
|
||||
public_base_url: "http://www.yunhai-demo.edu.cn/college/xxgc",
|
||||
copyright: "信息工程学院 · Mock 数据",
|
||||
|
||||
+14
-14
@@ -104,31 +104,31 @@ const THEMES: MockTheme[] = [
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "cherry-bloom",
|
||||
title: "樱语粉韵",
|
||||
description: "温柔樱粉风门户:樱花粉品牌色 + 大圆角 16px 卡片网格列表,适合幼儿园与小学。",
|
||||
name: "academic-navy",
|
||||
title: "学府藏蓝",
|
||||
description: "高校官网门户:藏蓝顶栏 + 金线标题 + 日期方块列表 + 双栏要闻,适合综合类大学/工科学院。",
|
||||
version: "1.0.0",
|
||||
author: "yunhai",
|
||||
bannerSize: "1920x560",
|
||||
screenshotUrl: "/api/theme/cherry-bloom/asset/screenshot.png",
|
||||
screenshotUrl: "/api/theme/academic-navy/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" },
|
||||
{ key: "primary", cssVar: "--an-primary", label: "主色", type: "color", defaultValue: "#0b4a8f" },
|
||||
{ key: "primaryDark", cssVar: "--an-primary-dark", label: "主色加深", type: "color", defaultValue: "#063161" },
|
||||
{ key: "accent", cssVar: "--an-accent", label: "点缀金", type: "color", defaultValue: "#b8934a" },
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "violet-iris",
|
||||
title: "鸢尾紫韵",
|
||||
description: "雅致鸢尾紫门户:沉静书卷气 + 圆角 12px 卡片网格列表,适合高校与教科研机构。",
|
||||
name: "campus-azure",
|
||||
title: "青蓝校园",
|
||||
description: "高校官网门户:青蓝顶栏 + 居中双线标题 + 全宽封面头条 + 圆点密行,适合师范/农林类院校。",
|
||||
version: "1.0.0",
|
||||
author: "yunhai",
|
||||
bannerSize: "1920x560",
|
||||
screenshotUrl: "/api/theme/violet-iris/asset/screenshot.png",
|
||||
screenshotUrl: "/api/theme/campus-azure/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" },
|
||||
{ key: "primary", cssVar: "--cz-primary", label: "主色", type: "color", defaultValue: "#0d6a9e" },
|
||||
{ key: "primaryDark", cssVar: "--cz-primary-dark", label: "主色加深", type: "color", defaultValue: "#084c73" },
|
||||
{ key: "accent", cssVar: "--cz-accent", label: "点缀青绿", type: "color", defaultValue: "#2b9c8f" },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user