feat: 将阿成信任内容迁移为品牌数据

This commit is contained in:
que01 committed 2026-09-27 11:14:34 +08:00
1 parent 55989a5dfe
commit 774ae2c8e3
19 files changed
+142 -35

No files matched your search

@@ -2,14 +2,14 @@ const { loadWorkspaceWithFallback } = require("../../utils/runtime-workspace");
const { openPage } = require("../../utils/navigation");
Page({
data: { brand: {}, presentation: {}, trustContent: [], offerings: [], error: "" },
data: { brand: {}, presentation: {}, trustItems: [], offerings: [], error: "" },
onLoad() {
loadWorkspaceWithFallback()
.then((workspace) =>
this.setData({
brand: workspace.brand || {},
presentation: workspace.brand?.visualPresentation?.home || {},
trustContent: workspace.trustPresentation || {},
trustItems: workspace.trustItems || [],
offerings: workspace.offerings || [],
}),
)