Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ad0d4803
authored
Nov 25, 2024
by
puhui999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能完善】商城: 客服文本消息样式优化,文字两端对齐
parent
101c704a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/views/mall/promotion/kefu/components/KeFuMessageList.vue
+1
-1
src/views/mall/promotion/kefu/components/tools/emoji.ts
+1
-1
No files found.
src/views/mall/promotion/kefu/components/KeFuMessageList.vue
View file @
ad0d4803
...
...
@@ -52,7 +52,7 @@
<template
v-if=
"KeFuMessageContentTypeEnum.TEXT === item.contentType"
>
<div
v-dompurify-html=
"replaceEmoji(getMessageContent(item).text || item.content)"
class=
"
flex items-center h-1/1
"
class=
"
line-height-normal text-justify h-1/1 w-full
"
></div>
</
template
>
</MessageItem>
...
...
src/views/mall/promotion/kefu/components/tools/emoji.ts
View file @
ad0d4803
...
...
@@ -93,7 +93,7 @@ export const useEmoji = () => {
const
emojiFile
=
getEmojiFileByName
(
item
)
newData
=
newData
.
replace
(
item
,
`<img
class="chat-img" style="width: 24px;height: 24px;margin: 0 3
px;vertical-align: middle;" src="
${
emojiFile
}
" alt=""/>`
`<img
style="width: 20px;height: 20px;margin:0 1px 3px 1
px;vertical-align: middle;" src="
${
emojiFile
}
" alt=""/>`
)
})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment