From 5ddd0b177b8e86da346f1e73872a775c57f61dc1 Mon Sep 17 00:00:00 2001 From: XiaoMo Date: Sun, 14 Dec 2025 11:04:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E5=85=85=E5=80=BC?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=87=E6=A1=88=E4=B8=BA=E8=B4=AD=E4=B9=B0?= =?UTF-8?q?=E6=B4=97=E8=BD=A6=E9=87=91=E9=A2=9D=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将应用中所有"充值"相关文案统一修改为"购买洗车金额",提升用户理解 重构客服电话功能为微信客服聊天窗口,优化用户体验 移除不必要的电话拨打代码,使用微信原生客服功能 --- app.wxss | 1 + pages/common/common.wxml | 19 +++++++++++-------- pages/index/index.js | 12 ++++++++---- pages/listDetail/listDetail.js | 2 +- pages/listDetail/listDetail.wxml | 2 +- pages/refund/refund.wxml | 4 ++-- pages/user/user.wxml | 8 ++++---- pages/voucher/voucher.js | 2 +- pages/voucher/voucher.wxml | 9 ++++----- template/serviceTel/serviceTel.wxml | 10 ++++++---- 10 files changed, 39 insertions(+), 30 deletions(-) diff --git a/app.wxss b/app.wxss index d58b555..dd9d319 100644 --- a/app.wxss +++ b/app.wxss @@ -183,6 +183,7 @@ font-size: 26rpx; justify-content: center; line-height: 40rpx; + border:none; } .index-href-box,.service-tel { diff --git a/pages/common/common.wxml b/pages/common/common.wxml index 55dff89..1f33a3b 100644 --- a/pages/common/common.wxml +++ b/pages/common/common.wxml @@ -1,13 +1,16 @@ diff --git a/pages/index/index.js b/pages/index/index.js index d675ff7..4eccdbd 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -125,10 +125,14 @@ Page({ }), (this.getData(), this.isneedUpload = !1); }, toPage: function (t) { - console.info(t); - // 增加打电话 if (t.currentTarget.dataset.phone) { + + // 打开客服聊天窗口 + return wx.openCustomerServiceChat(); + + + // 增加打电话 wx.makePhoneCall({ phoneNumber: "" + t.currentTarget.dataset.phone }); @@ -185,8 +189,8 @@ Page({ if (this.isshowModal) return t.startup(), !1; this.isshowModal = !0, wx.showModal({ title: "提示", - content: "账户余额小于10元,是否立即充值?", - confirmText: "去充值", + content: "账户余额小于10元,是否立即购买洗车金额?", + confirmText: "去购买", cancelText: "立即启动", success: function (e) { e.confirm ? (wx.navigateTo({ diff --git a/pages/listDetail/listDetail.js b/pages/listDetail/listDetail.js index 2c61e29..5e8cb8f 100644 --- a/pages/listDetail/listDetail.js +++ b/pages/listDetail/listDetail.js @@ -15,7 +15,7 @@ Page({ this.setData({ type: a.type }), wx.setNavigationBarTitle({ - title: "invest" == a.type ? "充值记录" : "消费明细" + title: "invest" == a.type ? "购买记录" : "消费明细" }), e.pageStart(t).then(function(t) { n.getContent(); }); diff --git a/pages/listDetail/listDetail.wxml b/pages/listDetail/listDetail.wxml index f09b21b..e5403bf 100644 --- a/pages/listDetail/listDetail.wxml +++ b/pages/listDetail/listDetail.wxml @@ -17,5 +17,5 @@ 暂无相关数据 - 立即充值 + 立即购买洗车金额 diff --git a/pages/refund/refund.wxml b/pages/refund/refund.wxml index e4c4855..a220553 100644 --- a/pages/refund/refund.wxml +++ b/pages/refund/refund.wxml @@ -34,7 +34,7 @@ 本金:{{userInfo.recharge.money || ''}} 赠送:{{userInfo.recharge.bonusamount || ''}} 订单号:{{userInfo.recharge.orderid || ''}} - 充值时间:{{userInfo.recharge.date || ''}} + 购买时间:{{userInfo.recharge.date || ''}} 网点:{{userInfo.recharge.agent || ''}} @@ -45,7 +45,7 @@ 本金:{{userInfo.recharge.money || ''}} 赠送:{{userInfo.recharge.bonusamount || ''}} 订单号:{{userInfo.recharge.orderid || ''}} - 充值时间:{{userInfo.recharge.date || ''}} + 购买时间:{{userInfo.recharge.date || ''}} 网点:{{userInfo.recharge.agent || ''}} diff --git a/pages/user/user.wxml b/pages/user/user.wxml index a02a85a..284784b 100644 --- a/pages/user/user.wxml +++ b/pages/user/user.wxml @@ -18,7 +18,7 @@ 我的资产 - 立即充值 > + 立即购买 > @@ -62,14 +62,14 @@ {{item.name}} - + 首页 扫一扫 - 充值 + 购买洗车金额 diff --git a/pages/voucher/voucher.js b/pages/voucher/voucher.js index 23f0cb1..fb69916 100644 --- a/pages/voucher/voucher.js +++ b/pages/voucher/voucher.js @@ -118,7 +118,7 @@ Page({ icon: "none" }), !1; if (!this.data.selectItemID || this.isSubmit) return wx.showToast({ - title: "请选择充值金额~", + title: "请选择购买洗车金额~", icon: "none" }), !1; this.isSubmit = !0, wx.showLoading({ diff --git a/pages/voucher/voucher.wxml b/pages/voucher/voucher.wxml index 2fe5b7d..bbd5468 100644 --- a/pages/voucher/voucher.wxml +++ b/pages/voucher/voucher.wxml @@ -15,8 +15,7 @@ - 优惠 -购买 + 优惠购买 @@ -25,7 +24,7 @@ - 选择充值金额 + 选择购买洗车金额 余额:{{user.money}} @@ -41,10 +40,10 @@ 暂无相关数据 - 立即充值 + 立即购买 diff --git a/template/serviceTel/serviceTel.wxml b/template/serviceTel/serviceTel.wxml index 311e882..1f5406d 100644 --- a/template/serviceTel/serviceTel.wxml +++ b/template/serviceTel/serviceTel.wxml @@ -1,4 +1,6 @@ - - =客服电话= - {{tel}} - + + + + + \ No newline at end of file