接通前端订单与支付链路

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
This commit is contained in:
lik
2026-10-24 18:18:15 +08:00
committed by trae-solo-agent
co-authored by Claude Sonnet 4.6 noreply@anthropic.com
parent 031227710d
commit d3f399d1ad
19 changed files with 817 additions and 705 deletions
+12
View File
@@ -1,6 +1,7 @@
// pages/mine/contact.js
Page({
data: {
orderContext: '',
// 联系方式配置:action 决定点击行为,call=拨号 / copy=复制 / 空=不可点
contactItems: [{
label: '客服热线',
@@ -29,6 +30,17 @@ Page({
]
},
onLoad(options = {}) {
const orderNo = String(options.orderNo || '').trim()
const orderId = String(options.orderId || '').trim()
const displayNo = (orderNo || orderId.slice(-8)).toUpperCase()
if (!displayNo) return
this.setData({
orderContext: `咨询订单尾号 ${displayNo},联系客服时请提供该编号`
})
},
onItemTap(e) {
const {
action,