feat: 接入小程序品牌组件基础层
This commit is contained in:
1 parent
8fd399f4c2
commit
1a9dc426f6
27 files changed
+158
-9
No files matched your search
@@ -0,0 +1,15 @@
|
||||
Component({
|
||||
options: { addGlobalClass: true },
|
||||
properties: {
|
||||
theme: { type: String, value: "primary" },
|
||||
size: { type: String, value: "large" },
|
||||
disabled: Boolean,
|
||||
loading: Boolean,
|
||||
block: { type: Boolean, value: true },
|
||||
},
|
||||
methods: {
|
||||
handleTap(event) {
|
||||
if (!this.data.disabled && !this.data.loading) this.triggerEvent("tap", event.detail);
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user