- {{ question }}
+
-
- {{ $t('qa.retrieve_error') }}
+
+ {{ $t('qa.retrieve_error') }}
+
@@ -168,7 +171,7 @@ defineExpose({ getRecommendQuestions, id: () => props.recordId, stop })
.question-grid-input {
display: grid;
- grid-gap: 12px;
+ grid-gap: 1px;
grid-template-columns: repeat(1, calc(100% - 6px));
}
@@ -181,11 +184,13 @@ defineExpose({ getRecommendQuestions, id: () => props.recordId, stop })
.question {
font-weight: 400;
cursor: pointer;
- background: rgba(245, 246, 247, 1);
- min-height: 32px;
- border-radius: 6px;
- padding: 5px 12px;
+ height: 32px;
+ border-radius: 4px;
+ padding: 5px 8px;
line-height: 22px;
+ white-space: nowrap; /* 禁止换行 */
+ overflow: hidden; /* 隐藏溢出内容 */
+ text-overflow: ellipsis; /* 显示省略号 */
&:hover {
background: rgba(31, 35, 41, 0.1);
}
@@ -197,10 +202,10 @@ defineExpose({ getRecommendQuestions, id: () => props.recordId, stop })
}
.recommend-questions-error {
- font-size: 12px;
- font-weight: 500;
+ font-size: 14px;
+ font-weight: 400;
color: rgba(100, 106, 115, 1);
- margin-top: 70px;
+ margin-top: 60px;
display: flex;
align-items: center;
justify-content: center;
diff --git a/frontend/src/views/system/prompt/index.vue b/frontend/src/views/system/prompt/index.vue
index 5a6855d5..20fdd77b 100644
--- a/frontend/src/views/system/prompt/index.vue
+++ b/frontend/src/views/system/prompt/index.vue
@@ -592,7 +592,7 @@ const drawerMainClose = () => {
- {{ $t('prompt.add_prompt_word') }}22
+ {{ $t('prompt.add_prompt_word') }}