Fix:3952 【商城小程序】评论输入框跟随文本长度自适应变化

This commit is contained in:
LinCyJang
2025-07-09 00:37:14 +08:00
parent 2d2f60a29e
commit 8ded90e60d
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -163,6 +163,8 @@
@focus="commentInputFocus" @focus="commentInputFocus"
@change="commentInputChange" @change="commentInputChange"
:prefixIcon="prefixIcon" :prefixIcon="prefixIcon"
:maxlength="500"
:maxheight="200"
class="comment-input" class="comment-input"
:showConfirmBar="false" :showConfirmBar="false"
cursorSpacing="15" cursorSpacing="15"
+2
View File
@@ -61,9 +61,11 @@
<view style="width: 100%"> <view style="width: 100%">
<u-textarea <u-textarea
v-model="content" v-model="content"
:maxlength="500"
@blur="onBlur" @blur="onBlur"
@focus="commentInputFocus" @focus="commentInputFocus"
@change="commentInputChange" @change="commentInputChange"
:maxheight="200"
:showConfirmBar="false" :showConfirmBar="false"
:focus="autoFocus" :focus="autoFocus"
autoHeight autoHeight