限制任务字数

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

@@ -47,7 +47,10 @@
v-model:value="textV1"
placeholder="请输入考试说明"
allow-clear
maxlength="364px"
show-count
:maxlength="200"
:rows="6"
/>
</div>
</div>
@@ -155,6 +158,7 @@
v-model:value="inputV4"
style="width: 424px; height: 32px"
placeholder="请输入直播链接"
:maxlength="100"
/>
</div>
</div>
@@ -176,6 +180,7 @@
v-model:value="inputV5"
style="width: 424px; height: 32px"
placeholder="请输入回放链接"
:maxlength="100"
/>
</div>
</div>
@@ -872,7 +877,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;