重构完大部分页面了

This commit is contained in:
lik
2026-10-06 17:58:18 +08:00
parent 530135fce3
commit 40d0df3330
28 changed files with 412 additions and 537 deletions
-45
View File
@@ -75,50 +75,5 @@ Page({
title: '暖橙陪诊服务协议',
path: '/pages/escort/agreement'
}
},
// 复制客服邮箱
onCopyEmail() {
wx.setClipboardData({
data: 'service@huashengtec.com',
success: () => {
wx.showToast({
title: '邮箱已复制',
icon: 'success',
duration: 1500
})
},
fail: () => {
wx.showToast({
title: '复制失败',
icon: 'none',
duration: 1500
})
}
})
},
// 拨打客服电话
onCallPhone() {
wx.makePhoneCall({
phoneNumber: '18618162956',
fail: () => {
wx.showToast({
title: '拨号失败',
icon: 'none',
duration: 1500
})
}
})
},
// 处理联系人行点击
onContactTap(e) {
const action = e.currentTarget.dataset.action
if (action === 'copyEmail') {
this.onCopyEmail()
} else if (action === 'callPhone') {
this.onCallPhone()
}
}
})