mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 20:28:45 +08:00 
			
		
		
		
	【功能完善】商城: 客服文本消息样式优化,文字两端对齐
This commit is contained in:
		@@ -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>
 | 
			
		||||
 
 | 
			
		||||
@@ -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 3px;vertical-align: middle;" src="${emojiFile}" alt=""/>`
 | 
			
		||||
            `<img style="width: 20px;height: 20px;margin:0 1px 3px 1px;vertical-align: middle;" src="${emojiFile}" alt=""/>`
 | 
			
		||||
          )
 | 
			
		||||
        })
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user