Style:UI优化
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user