输入框文字限制的修改

This commit is contained in:
liuyuan
2025-03-10 10:46:37 +08:00
parent 53e86d28af
commit a938a82067
3 changed files with 5 additions and 7 deletions

View File

@@ -12,8 +12,8 @@
"src" : "图片路径"
}
],
"versionName" : "1.0.57",
"versionCode" : 1057,
"versionName" : "1.0.58",
"versionCode" : 1058,
"app-plus" : {
"nvueCompiler" : "uni-app",
"compatible" : {

View File

@@ -42,8 +42,7 @@
</view>
<view class="input_box">
<uni-forms-item label="" name="content" label-width="0">
<text class="input_tit"><i>*</i>主要内容:<span
style="font-weight: normal; color: #999; font-size: 26rpx;">(600字以内)</span></text>
<text class="input_tit"><i>*</i>主要内容:</text>
<view class="in">
<view class="uni-textarea">
<textarea v-show="false" placeholder-style="font-size:26rpx" v-model="form.content"

View File

@@ -107,11 +107,10 @@
<uni-forms :modelValue="form" :rules="rules" ref="form">
<view class="input_box">
<uni-forms-item label="" name="content" label-width="0">
<text class="input_tit"><i>*</i>内容:<span
style="font-weight: normal; color: #999; font-size: 26rpx;">(600字以内)</span></text>
<text class="input_tit"><i>*</i>内容:</text>
<view class="in">
<view class="uni-textarea">
<textarea placeholder-style="font-size:26rpx" v-model="form.content" maxlength="600"
<textarea placeholder-style="font-size:26rpx" v-model="form.content" maxlength="-1"
auto-height placeholder="请输入内容" />
</view>