feat: 完善模板内容后台配置能力

This commit is contained in:
que01 committed 2026-09-28 17:30:34 +08:00
1 parent 2bc2193b44
commit 9266ec824a
37 files changed
+2273 -63

No files matched your search

@@ -5,14 +5,15 @@ Page({
data: { brand: {}, presentation: {}, trustItems: [], offerings: [], error: "" },
onLoad() {
loadWorkspaceWithFallback()
.then((workspace) =>
.then((workspace) => {
this.setData({
brand: workspace.brand || {},
presentation: workspace.brand?.visualPresentation?.home || {},
trustItems: workspace.trustItems || [],
offerings: workspace.offerings || [],
}),
)
});
wx.setNavigationBarTitle({ title: workspace.brand?.name || "品牌首页" });
})
.catch((error) => this.setData({ error: error.message }));
},
selectOffering(event) {