Commit 75a5cc2057ecb125a405da2ba262dab66d52c5f4
1 parent
8f573b82
测试用逻辑删除
Showing
3 changed files
with
6 additions
and
4 deletions
src/views/examinationPaper/add.vue
@@ -134,6 +134,7 @@ | @@ -134,6 +134,7 @@ | ||
134 | <el-input | 134 | <el-input |
135 | class="ipt" | 135 | class="ipt" |
136 | v-model.trim="question.questionTitle" | 136 | v-model.trim="question.questionTitle" |
137 | + maxlength="30" | ||
137 | placeholder="填写大题名称" | 138 | placeholder="填写大题名称" |
138 | ></el-input> | 139 | ></el-input> |
139 | <el-popconfirm | 140 | <el-popconfirm |
src/views/examinationPaper/edit.vue
@@ -19,6 +19,7 @@ | @@ -19,6 +19,7 @@ | ||
19 | <el-input | 19 | <el-input |
20 | class="ipt" | 20 | class="ipt" |
21 | v-model.trim="question.questionTitle" | 21 | v-model.trim="question.questionTitle" |
22 | + maxlength="30" | ||
22 | placeholder="填写大题名称" | 23 | placeholder="填写大题名称" |
23 | ></el-input> | 24 | ></el-input> |
24 | <span>共 {{ setScore(question) }} 分</span> | 25 | <span>共 {{ setScore(question) }} 分</span> |
src/views/examinationPaper/index.vue
@@ -87,7 +87,7 @@ | @@ -87,7 +87,7 @@ | ||
87 | </div> | 87 | </div> |
88 | <div class="info"> | 88 | <div class="info"> |
89 | <p class="title"> | 89 | <p class="title"> |
90 | - {{ item.title }} <span class="label" v-if="item.tag">{{ item.tag }}</span> | 90 | + {{ item.title }} <span class="label" v-if="!!item.tag">{{ item.tag }}</span> |
91 | </p> | 91 | </p> |
92 | <p class="num"> | 92 | <p class="num"> |
93 | 总题数:{{ item.questionNum }} | 93 | 总题数:{{ item.questionNum }} |
@@ -104,7 +104,7 @@ | @@ -104,7 +104,7 @@ | ||
104 | indexs != item.classList.length-1? "、" : "" | 104 | indexs != item.classList.length-1? "、" : "" |
105 | }` | 105 | }` |
106 | }} | 106 | }} |
107 | - <i v-if="clazzChild.keepStatus !== 1" class="el-icon-success"></i | 107 | + <i v-if="clazzChild.keepStatus == 1" class="el-icon-success"></i |
108 | ></span> | 108 | ></span> |
109 | </p> | 109 | </p> |
110 | <p class="person"> | 110 | <p class="person"> |
@@ -412,7 +412,7 @@ export default { | @@ -412,7 +412,7 @@ export default { | ||
412 | } | 412 | } |
413 | } | 413 | } |
414 | .info { | 414 | .info { |
415 | - height: 80px; | 415 | + min-height: 80px; |
416 | flex: 1; | 416 | flex: 1; |
417 | overflow: hidden; | 417 | overflow: hidden; |
418 | display: flex; | 418 | display: flex; |
@@ -442,7 +442,7 @@ export default { | @@ -442,7 +442,7 @@ export default { | ||
442 | } | 442 | } |
443 | } | 443 | } |
444 | .clazz { | 444 | .clazz { |
445 | - font-size: 16px; | 445 | + font-size: 14px; |
446 | color: #667ffd; | 446 | color: #667ffd; |
447 | font-weight: 500; | 447 | font-weight: 500; |
448 | position: relative; | 448 | position: relative; |