diff --git a/src/api/mall/promotion/kefu/message/index.ts b/src/api/mall/promotion/kefu/message/index.ts index 3408f1e0..a598b541 100644 --- a/src/api/mall/promotion/kefu/message/index.ts +++ b/src/api/mall/promotion/kefu/message/index.ts @@ -51,7 +51,7 @@ export interface KeFuMessageRespVO { export const KeFuMessageApi = { // 发送客服消息 sendKeFuMessage: async (data: any) => { - return await request.put({ + return await request.post({ url: '/promotion/kefu-message/send', data }) diff --git a/src/views/mall/promotion/kefu/components/EmojiSelectPopover.vue b/src/views/mall/promotion/kefu/components/EmojiSelectPopover.vue new file mode 100644 index 00000000..03a963c6 --- /dev/null +++ b/src/views/mall/promotion/kefu/components/EmojiSelectPopover.vue @@ -0,0 +1,40 @@ + + + + diff --git a/src/views/mall/promotion/kefu/components/KeFuChatBox.vue b/src/views/mall/promotion/kefu/components/KeFuChatBox.vue index 665fe995..40c0b126 100644 --- a/src/views/mall/promotion/kefu/components/KeFuChatBox.vue +++ b/src/views/mall/promotion/kefu/components/KeFuChatBox.vue @@ -3,58 +3,61 @@
{{ keFuConversation.userNickname }}
- -
- -
- - - + + +
+
+ +
+ + + +
+ +
- -
+ -
- +
- 发送 + 发送
@@ -63,162 +66,66 @@