diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue
index 87f283ee..b91f96b4 100644
--- a/frontend/src/views/chat/index.vue
+++ b/frontend/src/views/chat/index.vue
@@ -72,11 +72,14 @@
v-if="currentChatId === undefined"
size="large"
type="primary"
+ class="greeting-btn"
@click="createNewChat"
>
-
-
-
+
+
+
+
+
{{ t('qa.start_sqlbot') }}
@@ -893,7 +896,6 @@ defineExpose({
.chat-record-list {
padding: 0 0 20px 0;
- background: rgba(255, 255, 255, 1);
border-radius: 0 12px 12px 0;
&.hide-sidebar {
@@ -988,6 +990,35 @@ defineExpose({
font-size: 16px;
line-height: 24px;
}
+
+ .greeting-btn {
+ width: 100%;
+ height: 88px;
+
+ border-style: dashed;
+
+ .inner-icon {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+
+ margin-right: 6px;
+ }
+
+ font-size: 16px;
+ line-height: 24px;
+ font-weight: 500;
+
+ --ed-button-text-color: rgba(28, 186, 144, 1);
+ --ed-button-hover-text-color: rgba(28, 186, 144, 1);
+ --ed-button-active-text-color: rgba(28, 186, 144, 1);
+ --ed-button-bg-color: rgba(248, 249, 250, 1);
+ --ed-button-hover-bg-color: rgba(28, 186, 144, 0.1);
+ --ed-button-border-color: rgba(217, 220, 223, 1);
+ --ed-button-hover-border-color: rgba(28, 186, 144, 1);
+ --ed-button-active-bg-color: rgba(28, 186, 144, 0.2);
+ --ed-button-active-border-color: rgba(28, 186, 144, 1);
+ }
}
}