feat: 接入小程序品牌组件基础层

This commit is contained in:
que01 committed 2026-09-20 11:33:58 +08:00
1 parent 8fd399f4c2
commit 1a9dc426f6
27 files changed
+158 -9

No files matched your search

@@ -0,0 +1,19 @@
Component({
options: { addGlobalClass: true },
properties: {
label: String,
value: { type: String, value: "" },
placeholder: String,
type: { type: String, value: "text" },
required: Boolean,
maxlength: { type: Number, value: -1 },
},
methods: {
handleChange(event) {
this.triggerEvent("change", event.detail);
},
handleBlur(event) {
this.triggerEvent("blur", event.detail);
},
},
});