限制任务字数

This commit is contained in:
zhangyc
2022-12-04 16:35:58 +08:00
parent f51574998b
commit 02b15ea14a
17 changed files with 199 additions and 34 deletions

View File

@@ -33,7 +33,7 @@
v-model:value="inputV1"
style="width: 424px; height: 32px"
placeholder="请输入活动名称"
maxlength="20"
maxlength="50"
/>
</div>
</div>
@@ -52,7 +52,8 @@
v-model:value="textV1"
placeholder="请输入活动公告"
allow-clear
maxlength="150"
:rows="6"
show-count :maxlength="200"
/>
</div>
</div>
@@ -65,7 +66,8 @@
v-model:value="textV2"
placeholder="请输入活动说明"
allow-clear
maxlength="150"
:rows="6"
show-count :maxlength="200"
/>
</div>
</div>
@@ -127,6 +129,7 @@
v-model:value="inputV3"
style="width: 424px; height: 32px"
placeholder="请输入活动地址"
maxlength="100"
/>
</div>
</div>
@@ -589,7 +592,27 @@ export default {
display: flex;
align-items: flex-start;
margin-bottom: 32px;
.textarea {
width: 423px;
.ant-input {
width: 100%;
}
.ant-input-textarea-show-count {
position: relative;
}
.ant-input-textarea-show-count::after {
position: absolute;
right: 10px;
bottom: 0px;
}
.ant-input {
border-radius: 8px;
}
}
.signbox {
width: 120px;
display: flex;