Style(AI):输入内容设置最多支持500字和最大高度,超过则出现Y轴滚动条

This commit is contained in:
lifizer
2025-07-07 17:37:41 +08:00
parent b767f4193f
commit fef3b7d446
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
:adjust-position="true"
:auto-height="true"
:disabled="loading"
:maxlength="-1"
:maxlength="500"
class="inp"
@confirm="sendHandle"
@focus="promptInputFocusHandle"
+2
View File
@@ -182,11 +182,13 @@ page {
z-index: 5;
width: 100%;
height: 88rpx;
max-height: 220rpx;
border: 0;
box-sizing: border-box;
line-height: 48rpx;
color: #333;
font-size: 30rpx;
overflow-y: auto;
}
.placeholder-txt {
position: absolute;