refactor: 拆分品牌业务类型与页面方案
CI / Static checks (push) Has been cancelled
CI / Production build (push) Has been cancelled
CI / API integration (push) Has been cancelled
CI / Taro builds (acheng-campus-food) (push) Has been cancelled
CI / Taro builds (atelier-solopreneur) (push) Has been cancelled
CI / Taro builds (linjing-editorial) (push) Has been cancelled
CI / Browser regression (push) Has been cancelled
CI / Static checks (push) Has been cancelled
CI / Production build (push) Has been cancelled
CI / API integration (push) Has been cancelled
CI / Taro builds (acheng-campus-food) (push) Has been cancelled
CI / Taro builds (atelier-solopreneur) (push) Has been cancelled
CI / Taro builds (linjing-editorial) (push) Has been cancelled
CI / Browser regression (push) Has been cancelled
This commit is contained in:
1 parent
f02e2cafbb
commit
0d9f4a7d6f
86 files changed
+4111
-1543
No files matched your search
@@ -657,13 +657,13 @@ test("林境模板支持首页和主理人区域点选", async ({ page }) => {
|
||||
await page.setViewportSize({ width: 1600, height: 900 });
|
||||
const editorialBrand = {
|
||||
...structuredClone(brand),
|
||||
templateKey: "personal",
|
||||
avatarUrl: "/assets/acheng-campus-food/owner/portrait.jpg",
|
||||
templateKey: "doors",
|
||||
avatarUrl: "/template-preview/assets/linjing-editorial/content/founder-portrait.jpg",
|
||||
config: {
|
||||
visualTemplateKey: "linjing-editorial",
|
||||
founder: "林境主理人",
|
||||
title: "建筑设计师",
|
||||
heroImage: "/assets/acheng-campus-food/owner/portrait.jpg",
|
||||
title: "门系统设计师",
|
||||
heroImage: "/template-preview/assets/linjing-editorial/content/entry-door.jpg",
|
||||
homeHero: { title: "林境作品" },
|
||||
visualPresentation: {
|
||||
home: {
|
||||
@@ -697,13 +697,13 @@ test("林境模板支持首页和主理人区域点选", async ({ page }) => {
|
||||
...editorialBrand,
|
||||
...editorialBrand.config,
|
||||
founder: "林境主理人",
|
||||
title: "建筑设计师",
|
||||
heroImage: "/assets/acheng-campus-food/owner/portrait.jpg",
|
||||
title: "门系统设计师",
|
||||
heroImage: "/template-preview/assets/linjing-editorial/content/entry-door.jpg",
|
||||
homeHero: { title: "林境作品" },
|
||||
},
|
||||
offerings: structuredClone(runtimeWorkspace.offerings).map((item) => ({
|
||||
...item,
|
||||
coverUrl: "/assets/acheng-campus-food/owner/portrait.jpg",
|
||||
coverUrl: "/template-preview/assets/linjing-editorial/content/entry-door.jpg",
|
||||
})),
|
||||
trustItems: [
|
||||
{
|
||||
@@ -800,9 +800,9 @@ test("林境模板支持首页和主理人区域点选", async ({ page }) => {
|
||||
}
|
||||
if (path === "/admin/config/trust-content")
|
||||
return route.fulfill({ json: editorialWorkspace.trustItems });
|
||||
if (path === "/public/templates/personal")
|
||||
if (path === "/public/templates/doors")
|
||||
return route.fulfill({
|
||||
json: { name: "个人品牌", description: "林境模板", serviceCategories: [] },
|
||||
json: { name: "门窗业务", description: "林境页面方案", serviceCategories: [] },
|
||||
});
|
||||
if (path === "/admin/workspace")
|
||||
return route.fulfill({
|
||||
|
||||
Reference in new issue
Block a user