Style(AI):输入内容设置最多支持500字和最大高度,超过则出现Y轴滚动条
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
:adjust-position="true"
|
:adjust-position="true"
|
||||||
:auto-height="true"
|
:auto-height="true"
|
||||||
:disabled="loading"
|
:disabled="loading"
|
||||||
:maxlength="-1"
|
:maxlength="500"
|
||||||
class="inp"
|
class="inp"
|
||||||
@confirm="sendHandle"
|
@confirm="sendHandle"
|
||||||
@focus="promptInputFocusHandle"
|
@focus="promptInputFocusHandle"
|
||||||
|
|||||||
@@ -182,11 +182,13 @@ page {
|
|||||||
z-index: 5;
|
z-index: 5;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 88rpx;
|
height: 88rpx;
|
||||||
|
max-height: 220rpx;
|
||||||
border: 0;
|
border: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
line-height: 48rpx;
|
line-height: 48rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.placeholder-txt {
|
.placeholder-txt {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Reference in New Issue
Block a user