mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
限制任务字数
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div class="btnbox">
|
||||
<a-input v-model:value="courseName" style="width: 384px; height: 32px" placeholder="请输入名称"
|
||||
maxlength="20"/>
|
||||
:maxlength="50"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_item">
|
||||
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
<div class="btnbox">
|
||||
<button class="xkbtn" @click="showDrawerSelFacet">
|
||||
{{ chooseCourse == null ? "选择" : chooseCourseName }}面授课
|
||||
{{ chooseCourse == null ? "选择" : 重选 }}面授课
|
||||
</button>
|
||||
<div v-if="chooseCourse">
|
||||
<a-tag closable color="processing" @close="logC">
|
||||
@@ -50,7 +50,7 @@
|
||||
<span style="margin-right: 3px">面授说明:</span>
|
||||
</div>
|
||||
<div class="textarea">
|
||||
<a-textarea v-model:value="description" placeholder="请输入说明" allow-clear maxlength="100"/>
|
||||
<a-textarea v-model:value="description" placeholder="请输入说明" allow-clear show-count :maxlength="200" :rows="6"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_item">
|
||||
@@ -103,7 +103,7 @@
|
||||
</div>
|
||||
<div class="btnbox">
|
||||
<a-input v-model:value="address" style="width: 384px; height: 32px" placeholder="请输入上课地址"
|
||||
maxlength="100"/>
|
||||
:maxlength="100"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_item2">
|
||||
@@ -209,7 +209,7 @@
|
||||
<button class="xkbtn">配置</button>
|
||||
<div v-if="EditWorkId > 0">
|
||||
<a-tag closable color="processing" @close="logW">
|
||||
<span style="font-size:14px;line-height: 33px;">删除作业</span>
|
||||
<span style="font-size:14px;line-height: 33px;">删除作业{{EditWorkId}}</span>
|
||||
</a-tag>
|
||||
</div>
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
<button class="xkbtn">配置</button>
|
||||
<div v-if="EditTestId > 0">
|
||||
<a-tag closable color="processing" @close="logT">
|
||||
<span style="font-size:14px;line-height: 33px;">删除考试</span>
|
||||
<span style="font-size:14px;line-height: 33px;">删除考试{{EditTestId}}</span>
|
||||
</a-tag>
|
||||
</div>
|
||||
|
||||
@@ -793,7 +793,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