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

@@ -1,13 +1,14 @@
const { loadWorkspaceWithFallback } = require("../../utils/runtime-workspace");
const { openPage } = require("../../utils/navigation");
Page({
data: { brand: {}, presentation: {}, loading: true },
data: { brand: {}, presentation: {}, trustItems: [], loading: true },
onLoad() {
loadWorkspaceWithFallback()
.then((workspace) =>
this.setData({
brand: workspace.brand || {},
presentation: workspace.brand?.visualPresentation?.home || {},
trustItems: workspace.trustItems || [],
loading: false,
}),
)