mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
限制任务字数
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user