feat:增加投票选项图片

This commit is contained in:
lixg
2023-02-09 15:45:07 +08:00
parent 160204d715
commit fd9c4c31c6
4 changed files with 41 additions and 28 deletions

View File

@@ -86,28 +86,28 @@
v-for="(el, index) in item.taskProcessList"
:key="index"
>
<div>
<div style="width: calc(100% - 80px)">
<div class="issue">
{{ el.name }}
</div>
<div class="coursetag">
<div
class="tag1"
style="margin-right: 11px; margin-top: 16px"
style="margin-right: 11px; margin-top: 3px"
v-if="el.flag"
>
必修
</div>
<div
class="tag2"
style="margin-right: 11px; margin-top: 16px"
style="margin-right: 11px; margin-top: 3px"
v-if="!el.flag"
>
选修
</div>
<div
class="tag3"
style="margin-right: 11px; margin-top: 16px"
style="margin-right: 11px; margin-top: 3px"
>
{{ types.typeName[el.type] || "" }}
</div>
@@ -396,7 +396,7 @@ function toFinish(d, sName, chapterOrStageId) {
ElMessage.error("暂时未开放");
return;
}
if (d.type == 3 || d.type == 7) {
if (d.type == 3) {
d.status !== 1 &&
request(STUDY_RECORD, {
studentId: data.value.userInfoBo.userId,
@@ -809,10 +809,12 @@ const queryAllStatus = (data) => {
.issue {
width: 100%;
display: flex;
font-size: 13px;
line-height: 30.29px;
color: rgba(110, 123, 132, 1);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.coursetag {
display: flex;