|
72 | 72 | v-if="currentChatId === undefined" |
73 | 73 | size="large" |
74 | 74 | type="primary" |
| 75 | + class="greeting-btn" |
75 | 76 | @click="createNewChat" |
76 | 77 | > |
77 | | - <el-icon> |
78 | | - <icon_new_chat_outlined /> |
79 | | - </el-icon> |
| 78 | + <span class="inner-icon"> |
| 79 | + <el-icon> |
| 80 | + <icon_new_chat_outlined /> |
| 81 | + </el-icon> |
| 82 | + </span> |
80 | 83 | {{ t('qa.start_sqlbot') }} |
81 | 84 | </el-button> |
82 | 85 | </div> |
@@ -893,7 +896,6 @@ defineExpose({ |
893 | 896 |
|
894 | 897 | .chat-record-list { |
895 | 898 | padding: 0 0 20px 0; |
896 | | - background: rgba(255, 255, 255, 1); |
897 | 899 | border-radius: 0 12px 12px 0; |
898 | 900 |
|
899 | 901 | &.hide-sidebar { |
@@ -988,6 +990,35 @@ defineExpose({ |
988 | 990 | font-size: 16px; |
989 | 991 | line-height: 24px; |
990 | 992 | } |
| 993 | +
|
| 994 | + .greeting-btn { |
| 995 | + width: 100%; |
| 996 | + height: 88px; |
| 997 | +
|
| 998 | + border-style: dashed; |
| 999 | +
|
| 1000 | + .inner-icon { |
| 1001 | + display: flex; |
| 1002 | + flex-direction: row; |
| 1003 | + align-items: center; |
| 1004 | +
|
| 1005 | + margin-right: 6px; |
| 1006 | + } |
| 1007 | +
|
| 1008 | + font-size: 16px; |
| 1009 | + line-height: 24px; |
| 1010 | + font-weight: 500; |
| 1011 | +
|
| 1012 | + --ed-button-text-color: rgba(28, 186, 144, 1); |
| 1013 | + --ed-button-hover-text-color: rgba(28, 186, 144, 1); |
| 1014 | + --ed-button-active-text-color: rgba(28, 186, 144, 1); |
| 1015 | + --ed-button-bg-color: rgba(248, 249, 250, 1); |
| 1016 | + --ed-button-hover-bg-color: rgba(28, 186, 144, 0.1); |
| 1017 | + --ed-button-border-color: rgba(217, 220, 223, 1); |
| 1018 | + --ed-button-hover-border-color: rgba(28, 186, 144, 1); |
| 1019 | + --ed-button-active-bg-color: rgba(28, 186, 144, 0.2); |
| 1020 | + --ed-button-active-border-color: rgba(28, 186, 144, 1); |
| 1021 | + } |
991 | 1022 | } |
992 | 1023 | } |
993 | 1024 | </style> |
0 commit comments