优化预约表单并支持散客预约

This commit is contained in:
2026-10-20 13:29:55 +08:00
parent 4a7bd90088
commit c952a913e8
17 changed files with 1376 additions and 275 deletions
@@ -10,6 +10,9 @@ Component({
errorText: { type: String, value: '' },
emptyText: { type: String, value: '暂无可选内容' },
actionText: { type: String, value: '' },
showViewSwitch: { type: Boolean, value: false },
viewMode: { type: String, value: 'list' },
sortLabel: { type: String, value: '' },
showSearch: { type: Boolean, value: true }
},
@@ -36,6 +39,14 @@ Component({
action() {
this.triggerEvent('action')
},
changeView(event) {
this.triggerEvent('changeview', { mode: event.currentTarget.dataset.mode })
},
sort() {
this.triggerEvent('sort')
}
}
})