Skip to content

Commit 6dee741

Browse files
YunaiVgitee-org
authored andcommitted
!599 客服文本消息样式优化
Merge pull request !599 from puhui999/dev
2 parents 8e5a4d0 + ad0d480 commit 6dee741

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/views/mall/promotion/kefu/components/KeFuMessageList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<template v-if="KeFuMessageContentTypeEnum.TEXT === item.contentType">
5353
<div
5454
v-dompurify-html="replaceEmoji(getMessageContent(item).text || item.content)"
55-
class="flex items-center h-1/1"
55+
class="line-height-normal text-justify h-1/1 w-full"
5656
></div>
5757
</template>
5858
</MessageItem>

src/views/mall/promotion/kefu/components/tools/emoji.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const useEmoji = () => {
9393
const emojiFile = getEmojiFileByName(item)
9494
newData = newData.replace(
9595
item,
96-
`<img class="chat-img" style="width: 24px;height: 24px;margin: 0 3px;vertical-align: middle;" src="${emojiFile}" alt=""/>`
96+
`<img style="width: 20px;height: 20px;margin:0 1px 3px 1px;vertical-align: middle;" src="${emojiFile}" alt=""/>`
9797
)
9898
})
9999
}

0 commit comments

Comments
 (0)