refactor: 退役运行时视觉模块并泛化模板门禁

This commit is contained in:
que01 committed 2026-09-26 22:30:26 +08:00
1 parent 25d1fe983c
commit e2e2340bfe
56 files changed
+290 -1037

No files matched your search

@@ -6,7 +6,6 @@ Page({
trustContent: [],
records: [],
error: "",
navigation: [],
},
onLoad() {
loadWorkspaceWithFallback()
@@ -15,7 +14,6 @@ Page({
brand: workspace.brand || {},
trustContent: workspace.trustPresentation || {},
records: [],
navigation: workspace.navigation || [],
}),
)
.catch((error) => this.setData({ error: error.message }));
@@ -4,7 +4,6 @@
"navigationBarTextStyle": "black",
"usingComponents": {
"t-icon": "/miniprogram_npm/tdesign-miniprogram/icon/icon",
"profile-module": "/components/modules/profile/profile",
"acheng-profile": "/components/templates/acheng-profile/acheng-profile"
}
}
@@ -6,8 +6,6 @@ Page({
error: "",
offerings: [],
filtered: [],
modules: [],
theme: {},
brand: {},
presentation: {},
category: "all",
@@ -39,13 +37,10 @@ Page({
}),
),
],
modules: workspace.modules || [],
theme: workspace.theme || {},
brand: workspace.brand || {},
presentation: workspace.brand?.visualPresentation?.offerings || {},
brand: workspace.brand || {},
loadedBrandSlug: config.brandSlug,
navigation: workspace.navigation || [],
});
})
.catch((error) => this.setData({ error: error.message }));