diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index dbdbac70..90539d54 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -92,18 +92,24 @@ >
-
- - - - {{ isAssistant ? t('embedded.i_am_sqlbot') : t('qa.greeting') }} -
-
- {{ isAssistant ? t('embedded.predict_data_etc') : t('qa.hint_description') }} -
-
- {{ t('embedded.intelligent_data_query') }} + + +
+ +
{{ welcome }}
+
{{ welcomeDesc }}
+ () const floatPopoverRef = ref() const floatPopoverVisible = ref(false) @@ -1090,6 +1099,30 @@ onMounted(() => { align-items: center; flex-direction: column; + .assistant-desc { + width: 100%; + display: flex; + align-items: center; + flex-direction: column; + + .i-am { + font-weight: 600; + font-size: 24px; + line-height: 32px; + margin: 16px 0; + } + + .i-can { + margin-bottom: 4px; + max-width: 350px; + text-align: center; + font-weight: 400; + font-size: 14px; + line-height: 24px; + color: #646a73; + } + } + .greeting { display: flex; align-items: center; diff --git a/frontend/src/views/embedded/index.vue b/frontend/src/views/embedded/index.vue index 3d9dca53..2dfb2d88 100644 --- a/frontend/src/views/embedded/index.vue +++ b/frontend/src/views/embedded/index.vue @@ -4,8 +4,8 @@ - - {{ assistantName || $t('embedded.intelligent_customer_service') }} + + {{ customSet.name || $t('embedded.intelligent_customer_service') }} @@ -14,24 +14,31 @@
- +