feat: 聊天列表自动滚动到底部&跳转下一步
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
<!-- 正常状态:显示输入框 -->
|
||||
<div class="input-wrapper">
|
||||
<input
|
||||
id="textarea"
|
||||
v-show="!isRecording"
|
||||
v-model="inputValue"
|
||||
type="text"
|
||||
@@ -241,10 +242,16 @@ const stopRecording = () => {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
// height: 100%;
|
||||
}
|
||||
|
||||
.text-input {
|
||||
width: 100%;
|
||||
// height: 100%;
|
||||
height: auto;
|
||||
// min-height: 4.8rem;
|
||||
// max-height: 100%;
|
||||
border: none;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
@@ -255,6 +262,7 @@ const stopRecording = () => {
|
||||
// padding-right: 2rem;
|
||||
margin-right: 4.21rem;
|
||||
color: #000;
|
||||
// resize: none;
|
||||
|
||||
&::placeholder {
|
||||
color: #888;
|
||||
@@ -262,6 +270,7 @@ const stopRecording = () => {
|
||||
font-weight: 400;
|
||||
font-family: 'robotoBold';
|
||||
word-spacing: -5px;
|
||||
line-height: 4.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user