Style:UI优化

This commit is contained in:
LinCyJang
2025-11-01 14:41:16 +08:00
parent 76d9d8ef33
commit f7cf56216b
5 changed files with 76 additions and 15 deletions
+19 -1
View File
@@ -203,7 +203,25 @@ export default {
return `${y}-${m}-${day}`
},
contactMerchant() {
uni.showToast({ title: '已为您接入管家', icon: 'none' })
uni.showModal({
title: '商家电话',
content: this.form.merPhone || '暂无电话',
confirmText: '立即拨打',
cancelText: '取消',
success: (res) => {
if (res.confirm && this.detail.merPhone) {
uni.makePhoneCall({
phoneNumber: this.detail.merPhone,
fail: () => {
uni.showToast({
title: '拨打电话失败',
icon: 'none'
})
}
})
}
}
})
},
submitOrder() {
if (!this.form.name || !this.form.phone) {