Files
ChuXun eaab9a762a 1
2025-10-19 20:28:31 +08:00

26 lines
402 B
JavaScript

// components/loading/loading.js
Component({
properties: {
show: {
type: Boolean,
value: false
},
type: {
type: String,
value: 'spinner' // skeleton, spinner, progress
},
text: {
type: String,
value: '加载中...'
},
mask: {
type: Boolean,
value: true
},
progress: {
type: Number,
value: 0
}
}
})