refactor: 优化表单输入提示文本

This commit is contained in:
wangqiao
2025-09-06 18:47:00 +08:00
parent 18ebc08645
commit 615ac78156

View File

@ -29,7 +29,7 @@
},
]"
>
<el-input v-model="form.title" placeholder="请输入标题" minlength="20" maxlength="50"></el-input>
<el-input v-model="form.title" placeholder="20-50 字符,结构可用分类关键词+作品名/资源价值版本/使用场景" minlength="20" maxlength="50"></el-input>
</el-form-item>
<el-form-item
label-width="110px"
@ -79,7 +79,7 @@
:prop="`${props.vaildRules}.points`"
:rules="{ required: true, message: '金币设置分销为0-15,设置0金币为专属资源可直接获利2-15金币', trigger: ['blur', 'change'] }"
>
<el-input-number v-model="form.points" :controls="false" :precision="0" :min="0" placeholder="请输入金币" class="w-[100%]! text-left!"></el-input-number>
<el-input-number v-model="form.points" :controls="false" :precision="0" :min="0" placeholder="金币设置分销为0-15,设置0金币为专属资源可直接获利2-15金币" class="w-[100%]! text-left!"></el-input-number>
</el-form-item>
<!-- <el-form-item
label-width="110px"
@ -153,7 +153,7 @@
},
]"
>
<el-input v-model="form.description" type="textarea" :rows="6" placeholder="请输入描述" minlength="60" maxlength="150" show-word-limit></el-input>
<el-input v-model="form.description" type="textarea" :rows="6" placeholder="简介字数限制60-150 字符,需包含用途、文件介绍、适用场景等" minlength="60" maxlength="150" show-word-limit></el-input>
</el-form-item>
</div>
</template>