diff --git a/src/pages/ChatMain/ChatCardAi/styles/index.scss b/src/pages/ChatMain/ChatCardAi/styles/index.scss index d06329a..aed36f8 100644 --- a/src/pages/ChatMain/ChatCardAi/styles/index.scss +++ b/src/pages/ChatMain/ChatCardAi/styles/index.scss @@ -17,7 +17,7 @@ } .chat-ai { - padding: 0 12px; // 消息内容的内边距 左右12px + padding: 0 16px; // 消息内容的内边距 左右12px min-width: 0; width: auto; max-width: 100%; diff --git a/src/pages/ChatMain/ChatCardMine/styles/index.scss b/src/pages/ChatMain/ChatCardMine/styles/index.scss index ca89b24..9f71de7 100644 --- a/src/pages/ChatMain/ChatCardMine/styles/index.scss +++ b/src/pages/ChatMain/ChatCardMine/styles/index.scss @@ -6,7 +6,7 @@ } .chat-mine { - margin: 12px; + margin: 12px 16px; padding: 8px 16px; border-radius: 15px; diff --git a/src/pages/ChatMain/ChatLongAnswer/ParsedValueView.vue b/src/pages/ChatMain/ChatLongAnswer/ParsedValueView.vue index e9a0d3f..770876c 100644 --- a/src/pages/ChatMain/ChatLongAnswer/ParsedValueView.vue +++ b/src/pages/ChatMain/ChatLongAnswer/ParsedValueView.vue @@ -1,9 +1,18 @@ diff --git a/src/pages/ChatMain/ChatLongAnswer/index.vue b/src/pages/ChatMain/ChatLongAnswer/index.vue index 89a9e0f..4d30a27 100644 --- a/src/pages/ChatMain/ChatLongAnswer/index.vue +++ b/src/pages/ChatMain/ChatLongAnswer/index.vue @@ -7,7 +7,7 @@ - + {{ headerSections.title.contentValue }} @@ -272,30 +272,5 @@ onUnload(() => { diff --git a/src/pages/ChatMain/ChatLongAnswer/styles/ParsedValueView.scss b/src/pages/ChatMain/ChatLongAnswer/styles/ParsedValueView.scss new file mode 100644 index 0000000..ec966b0 --- /dev/null +++ b/src/pages/ChatMain/ChatLongAnswer/styles/ParsedValueView.scss @@ -0,0 +1,163 @@ +.parsed-value { + display: flex; + flex-direction: column; +} + +.content-body-text { + color: #111827; + font-size: 15px; + font-weight: 400; + line-height: 20px; +} + +.content-body-image-card { + display: flex; + flex-direction: column; + gap: 6px; +} + +.content-body-image { + width: 100%; + display: block; + border-radius: 8px; + background: #f3f4f6; +} + +.content-body-image-caption { + color: #6b7280; + font-size: 12px; + font-weight: 400; + line-height: 18px; +} + +.content-body-list-card { + display: flex; + flex-direction: column; + gap: 4px; + padding: 12px; + border-radius: 12px; +} + +.content-body-list-item { + display: flex; + align-items: flex-start; +} + +.content-body-list-text { + flex: 1; + font-size: 15px; + font-weight: 400; + line-height: 20px; +} + +.detail-action-zone { + margin-top: 6px; + border-top: 1px solid rgba(15, 23, 42, 0.06); +} + +.detail-action-label { + padding: 12px 0 12px; + color: #94a3b8; + font-size: 10px; + font-weight: 900; + letter-spacing: 0.6px; + line-height: 16px; +} + +.detail-action-card { + overflow: hidden; + border: 1px solid #f1f5f9; + border-radius: 16px; + background: #fff; +} + +.detail-action-card.is-raised { + border-radius: 24px; + box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04); +} + +.poi-mini-tag { + display: inline-flex; + width: fit-content; + margin: 14px 0 0 14px; + padding: 4px 10px; + align-items: center; + border-radius: 8px; + color: #059669; + background: rgba(255, 255, 255, 0.9); + box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08); + font-size: 10px; + font-weight: 900; +} + +.poi-mini-body { + padding: 10px 20px 16px; +} + +.poi-mini-title { + margin-bottom: 10px; + color: #1e293b; + font-size: 19px; + font-weight: 900; + line-height: 26px; +} + +.poi-mini-desc { + margin-bottom: 12px; + padding: 10px 12px; + border: 1px solid rgba(167, 243, 208, 0.5); + border-radius: 12px; + color: #065f46; + background: linear-gradient(to right, #ecfdf5, rgba(240, 253, 250, 0.5)); + font-size: 12px; + font-weight: 800; + line-height: 20px; +} + +.detail-solid-button { + width: 100%; + height: 42px; + padding: 0; + border: 0; + border-radius: 14px; + color: #fff; + background: #0f172a; + font-size: 13px; + font-weight: 900; + line-height: 42px; +} + +.detail-faq-wrap { + margin: 0; +} + +.detail-faq-chip { + display: inline-flex; + align-items: center; + gap: 5px; + margin: 0 6px 8px 0; + padding: 8px 13px; + border: 1px solid #e2e8f0; + border-radius: 20px; + color: #475569; + background: #fff; + font-size: 11.5px; + font-weight: 800; + line-height: 16px; +} + +.detail-faq-chip::before { + content: "?"; + display: inline-flex; + align-items: center; + justify-content: center; + width: 11px; + height: 11px; + flex-shrink: 0; + border: 1px solid #10b981; + border-radius: 50%; + color: #10b981; + font-size: 8px; + font-weight: 900; + line-height: 11px; +} \ No newline at end of file diff --git a/src/pages/ChatMain/ChatLongAnswer/styles/index.scss b/src/pages/ChatMain/ChatLongAnswer/styles/index.scss new file mode 100644 index 0000000..d22a406 --- /dev/null +++ b/src/pages/ChatMain/ChatLongAnswer/styles/index.scss @@ -0,0 +1,26 @@ +.long-answer-header { + display: flex; + flex-direction: row; + align-items: flex-start; + justify-content: space-between; + gap: 10px; + margin-bottom: 6px; +} +.long-answer-tag { + display: inline-flex; + flex-shrink: 0; + width: fit-content; + padding: 3px 8px; + border-radius: 12px; + border: 1px solid transparent; + font-size: 12px; + line-height: 18px; +} +.long-answer-title { + flex: 1; + min-width: 0; + color: #111827; + font-size: 20px; + font-weight: 600; + line-height: 28px; +} \ No newline at end of file diff --git a/src/pages/ChatMain/ChatMainList/index.vue b/src/pages/ChatMain/ChatMainList/index.vue index 0c4167a..1dc561c 100644 --- a/src/pages/ChatMain/ChatMainList/index.vue +++ b/src/pages/ChatMain/ChatMainList/index.vue @@ -73,16 +73,16 @@ (item.componentName && isLongTextCard(item.componentName)) " > - + /> - + /> -->