From 18251dde89585f0ffede806162483efc0cabe99a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A8=8B?= <994041296@163.com>
Date: Tue, 27 Dec 2022 14:49:23 +0800
Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/im.js | 7 +
pages/mine/im/index.vue | 874 ++++++++++++++++++++--------------------
pages/product/goods.vue | 396 +++++++-----------
3 files changed, 590 insertions(+), 687 deletions(-)
diff --git a/api/im.js b/api/im.js
index 2301796..45be304 100644
--- a/api/im.js
+++ b/api/im.js
@@ -64,4 +64,11 @@ export function getTalk(talkId) {
params
});
}
+// 从商品页点击 客服 跳转 获取聊天记录
+export function jumpObtain(skuId, goodsId) {
+ return http.request({
+ url: `${api.im}/goods/goods/sku/${goodsId}/${skuId}`,
+ method: Method.GET,
+ });
+}
diff --git a/pages/mine/im/index.vue b/pages/mine/im/index.vue
index 85e83aa..f267b7c 100644
--- a/pages/mine/im/index.vue
+++ b/pages/mine/im/index.vue
@@ -1,102 +1,100 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- {{ user.nickName }}
-
- {{ item.text }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
- {{ toUser.name }}
-
- {{ item.text }}
-
-
+
+
+
+ {{ toUser.name }}
+
+ {{ item.text }}
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 发送
-
-
-
-
-
-
-
- 问题反馈
-
-
-
- 人工客服
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 发送
+
+
+
+
+
+
+
+ 问题反馈
+
+
+
+ 人工客服
+
+
+
+
diff --git a/pages/product/goods.vue b/pages/product/goods.vue
index 14f7e66..c084919 100644
--- a/pages/product/goods.vue
+++ b/pages/product/goods.vue
@@ -6,55 +6,27 @@
-
-
+
+
-
+