diff --git a/pages/chat/ChatCardAI.vue b/pages/chat/ChatCardAI.vue index b49c2d7..6da762a 100644 --- a/pages/chat/ChatCardAI.vue +++ b/pages/chat/ChatCardAI.vue @@ -1,14 +1,18 @@ diff --git a/pages/chat/ChatCardMine.vue b/pages/chat/ChatCardMine.vue index 10c1b5e..ff9e58d 100644 --- a/pages/chat/ChatCardMine.vue +++ b/pages/chat/ChatCardMine.vue @@ -1,46 +1,45 @@ \ No newline at end of file +.chat-mine { + margin: 6px 12px; + padding: 8px 16px; + + background-color: #00a6ff; + box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.1); + border-radius: 20px 4px 20px 20px; + border: 1px solid; + border-color: #ffffff; + + display: flex; + flex-direction: column; + max-width: 100%; // ✅ 限制最大宽度 + overflow-x: hidden; // ✅ 防止横向撑开 + + text { + font-family: PingFang SC, PingFang SC; + font-weight: 400; + font-size: 14px; + color: #ffffff; + line-height: 22px; + text-align: justify; + font-style: normal; + text-transform: none; + } +} + diff --git a/pages/chat/ChatCardOther.vue b/pages/chat/ChatCardOther.vue index 51f0c51..e20cf83 100644 --- a/pages/chat/ChatCardOther.vue +++ b/pages/chat/ChatCardOther.vue @@ -1,36 +1,35 @@ \ No newline at end of file +.chat-other { + width: 100%; + margin: 6px 0; + padding: 0 12px; + display: flex; + flex-direction: column; + max-width: 100%; // ✅ 限制最大宽度 + overflow-x: hidden; // ✅ 防止横向撑开 + + text { + font-family: PingFang SC, PingFang SC; + font-weight: 400; + font-size: 14px; + color: #333333; + } +} + diff --git a/pages/chat/ChatInputArea.vue b/pages/chat/ChatInputArea.vue index c6d6d1d..97c00ad 100644 --- a/pages/chat/ChatInputArea.vue +++ b/pages/chat/ChatInputArea.vue @@ -1,65 +1,62 @@