From e860b422c6150840b4ae6fa13da806f2ee188645 Mon Sep 17 00:00:00 2001 From: "Mr.jiang" <714156421@qq.com> Date: Thu, 25 Jul 2024 09:29:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E7=B3=BB=E5=AE=A2=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my/order/pay.vue | 5 ++--- pages/my/index.vue | 45 +++++++++++++++++++++++++++++++++++++++++++++ static/kefu.png | Bin 0 -> 1252 bytes 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 static/kefu.png diff --git a/my/order/pay.vue b/my/order/pay.vue index de618c5..c44d738 100644 --- a/my/order/pay.vue +++ b/my/order/pay.vue @@ -447,10 +447,9 @@ class="eject-btns"> 去投诉 - + + 联系客服 - diff --git a/pages/my/index.vue b/pages/my/index.vue index 8c5c91f..535cb9a 100644 --- a/pages/my/index.vue +++ b/pages/my/index.vue @@ -162,6 +162,10 @@ -当你累了 想起盛安到家- + + + 联系客服 + @@ -244,6 +248,23 @@ }, methods:{ + goMsg() {//客服聊天 + let data = { + userId: uni.getStorageSync('userId'), + focusedUserId: '0', + // userName:this.order.userName + } + // app/chat/insertChatConversation + this.$Request.postJson('/app/chat/insertChatConversation', data).then(res => { + if (res.data) { + let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId + uni.navigateTo({ + url: '/pages/msg/im?chatConversationId=' + res.data.chatConversationId + + '&byUserId=' + res.data.userId + }) + } + }) + }, getDataX(){ this.$Request.get("/app/massage/package/findPackageAndMassagePage",{ city:'', @@ -657,6 +678,29 @@