@@ -58,30 +58,14 @@ const pageLogo = computed(() => {
5858 <div class =" i-can" >{{ welcomeDesc }}</div >
5959 </div >
6060 <div class =" content" >
61- <div class =" textarea-send" >
62- <el-input
63- v-model =" textareaVal"
64- :autosize =" { minRows: 1, maxRows: 8.5848 }"
65- type =" textarea"
66- clearable
67- :placeholder =" $t('embedded.enter_a_question')"
68- />
69- <el-tooltip :offset =" 10" effect =" dark" :content =" $t('embedded.send')" placement =" top" >
70- <img :src =" disable_answer" width =" 32px" height =" 32px" alt =" " />
71- </el-tooltip >
72-
73- <!-- <el-tooltip
74- :offset="10"
75- effect="dark"
76- :content="$t('embedded.stop_replying')"
77- placement="top"
78- >
79- <img :src="answer" width="32px" height="32px" alt="" />
80- </el-tooltip>
81-
82- <img :src="loading_answer" width="32px" height="32px" alt="" />
83- <img :src="send_answer" width="32px" height="32px" alt="" /> -->
84- </div >
61+ <el-button size =" large" type =" primary" class =" greeting-btn" >
62+ <span class =" inner-icon" >
63+ <el-icon >
64+ <icon _new_chat_outlined />
65+ </el-icon >
66+ </span >
67+ {{ $t('qa.start_sqlbot') }}
68+ </el-button >
8569 </div >
8670
8771 <div class =" drawer-assistant" ></div >
@@ -149,13 +133,10 @@ const pageLogo = computed(() => {
149133 }
150134 .center {
151135 width : 100% ;
152- position : absolute ;
153- top : 50% ;
154- left : 50% ;
155- transform : translate (-50% , -50% );
156136 display : flex ;
157137 align-items : center ;
158138 flex-direction : column ;
139+ margin-top : 180px ;
159140
160141 .i-am {
161142 font-weight : 600 ;
@@ -182,37 +163,37 @@ const pageLogo = computed(() => {
182163 }
183164 .content {
184165 width : calc (100% - 32px );
166+ margin-top : 8px ;
167+ margin-left : 16px ;
185168
186- .textarea-send {
169+ .greeting-btn {
187170 width : 100% ;
188- position : relative ;
189- .ed-textarea {
190- width : 100% ;
191- }
171+ height : 88px ;
172+ border-radius : 16px ;
173+ border-style : dashed ;
192174
193- :deep(.ed-textarea__inner ) {
194- padding : 12px 12px 52px 12px ;
195- font-weight : 400 ;
196- font-size : 16px ;
197- line-height : 24px ;
198- border-radius : 16px ;
175+ .inner-icon {
176+ display : flex ;
177+ flex-direction : row ;
178+ align-items : center ;
199179
200- & ::placeholder {
201- color : #8f959e ;
202- }
180+ margin-right : 6px ;
203181 }
204182
205- img {
206- cursor : pointer ;
207- position : absolute ;
208- right : 12px ;
209- bottom : 12px ;
210- }
211- }
183+ font-size : 16px ;
184+ line-height : 24px ;
185+ font-weight : 500 ;
212186
213- position : absolute ;
214- bottom : 16px ;
215- left : 16px ;
187+ --ed-button-text-color : var (--ed-color-primary , rgba (28 , 186 , 144 , 1 ));
188+ --ed-button-hover-text-color : var (--ed-color-primary , rgba (28 , 186 , 144 , 1 ));
189+ --ed-button-active-text-color : var (--ed-color-primary , rgba (28 , 186 , 144 , 1 ));
190+ --ed-button-bg-color : rgba (248 , 249 , 250 , 1 );
191+ --ed-button-hover-bg-color : var (--ed-color-primary-1a , #1cba901a );
192+ --ed-button-border-color : rgba (217 , 220 , 223 , 1 );
193+ --ed-button-hover-border-color : var (--ed-color-primary , rgba (28 , 186 , 144 , 1 ));
194+ --ed-button-active-bg-color : var (--ed-color-primary-33 , #1cba9033 );
195+ --ed-button-active-border-color : var (--ed-color-primary , rgba (28 , 186 , 144 , 1 ));
196+ }
216197 }
217198
218199 .drawer-assistant {
0 commit comments