diff --git a/src/views/home/components/Input.vue b/src/views/home/components/Input.vue index 40bb546..6ae30eb 100644 --- a/src/views/home/components/Input.vue +++ b/src/views/home/components/Input.vue @@ -197,7 +197,11 @@ -
+
{{ $t('Input.trendingReport') }}
@@ -634,10 +638,7 @@ const text = editorRef.value.textContent || '' const cleanedText = text.replace(/[\u200B-\u200D\uFEFF]/g, '') - if ( - editorRef.value.innerHTML === '
' || - !cleanedText.trim() - ) { + if (editorRef.value.innerHTML === '
' || !cleanedText.trim()) { editorRef.value.innerHTML = '' // 检查是否完全为空,需要显示占位符 if (editorRef.value.children.length === 0) { @@ -784,15 +785,16 @@ bottom: -7.4rem; height: 4.4rem; border-radius: 2.2rem; - width: 20rem; + width: 19.7rem; + padding: 0 2rem; + font-size: 1.8rem; background-color: #fff; - border: 1px solid #f6f4ef; - column-gap: 1.2rem; + border: 1.1px solid #f6f4ef1a; cursor: pointer; .c-svg { width: 1.5rem; - height: 1.9rem; + height: 2rem; } } .assist-input-wrapper { @@ -846,13 +848,13 @@ border: none; outline: none; padding: 0 1.4rem 1.4rem; - font-size: 2rem; + font-size: 1.8rem; font-family: 'InterRegular'; font-weight: 400; color: #000000; overflow-y: auto; overflow-x: hidden; - line-height: 1.5; + line-height: 2.8rem; white-space: pre-wrap; word-wrap: break-word; &::-webkit-scrollbar { @@ -1060,9 +1062,9 @@