feat: 按视觉模板 manifest 驱动小程序运行时

This commit is contained in:
que01 committed 2026-09-23 14:26:39 +08:00
1 parent 031c81a7c1
commit ce958fc1ae
17 files changed
+149 -26

No files matched your search

@@ -1,5 +1,5 @@
Component({
properties: { hero: { type: Object, value: {} } },
properties: { hero: { type: Object, value: {} }, variant: { type: String, value: "default" } },
methods: {
explore() {
this.triggerEvent("explore");
@@ -1 +1,3 @@
Component({ properties: { brand: { type: Object, value: {} } } });
Component({
properties: { brand: { type: Object, value: {} }, variant: { type: String, value: "default" } },
});
@@ -1,5 +1,8 @@
Component({
properties: { offerings: { type: Array, value: [] } },
properties: {
offerings: { type: Array, value: [] },
variant: { type: String, value: "default" },
},
methods: {
open(e) {
this.triggerEvent("open", { id: e.currentTarget.dataset.id });
@@ -1 +1,3 @@
Component({ properties: { content: { type: Object, value: {} } } });
Component({
properties: { content: { type: Object, value: {} }, variant: { type: String, value: "default" } },
});
@@ -1 +1,3 @@
Component({ properties: { content: { type: Object, value: {} } } });
Component({
properties: { content: { type: Object, value: {} }, variant: { type: String, value: "default" } },
});