This commit is contained in:
ChuXun
2025-10-19 20:28:31 +08:00
parent c81f8a8b03
commit eaab9a762a
100 changed files with 23416 additions and 0 deletions

31
components/empty/empty.js Normal file
View File

@@ -0,0 +1,31 @@
// components/empty/empty.js
Component({
properties: {
show: {
type: Boolean,
value: false
},
icon: {
type: String,
value: '📭'
},
text: {
type: String,
value: '暂无数据'
},
desc: {
type: String,
value: ''
},
buttonText: {
type: String,
value: ''
}
},
methods: {
onButtonClick() {
this.triggerEvent('buttonclick')
}
}
})