From 3dc17dbcb1fb1d64c469deed1518d1817846b452 Mon Sep 17 00:00:00 2001 From: yxl <584911253@qq.com> Date: 星期三, 19 二月 2025 09:49:50 +0800 Subject: [PATCH] commit --- src/components/Chat/chatList.vue | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/components/Chat/chatList.vue b/src/components/Chat/chatList.vue index 117f048..5a815ca 100644 --- a/src/components/Chat/chatList.vue +++ b/src/components/Chat/chatList.vue @@ -113,6 +113,12 @@ </div> <div v-else-if="res.type == 'stream'"> <div + v-if="res.thinkMsg" + v-html="res.val" + class="think-markdown" + ></div> + <div + v-else v-html="res.val" class="markdown-container" ></div> @@ -430,6 +436,14 @@ .markdown-container { padding: 10px; white-space: pre-wrap; + color: #fff; + font-size: 16px; +} +.think-markdown { + font-size: 13px; + color: #ccc; + border-left: 1px solid #ccc; + padding-left: 5px; } </style> <style scoped> -- Gitblit v1.9.3