Fix:3952 【商城小程序】评论输入框跟随文本长度自适应变化
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user