fix:增加版本号

This commit is contained in:
lixg
2022-12-19 10:09:54 +08:00
parent b6eaf4c993
commit 8d68f4754e
5 changed files with 79 additions and 36 deletions

View File

@@ -35,7 +35,7 @@
)"
:key="index"
>
<div>
<div style="width: 70%">
<div class="coursename">{{ value.name }}</div>
<div class="coursetag">
<div class="tag1" style="margin-right: 11px; margin-top: 16px">
@@ -215,7 +215,7 @@
<div class="progress">
<div style="width: 291px">
<el-progress
:percentage="data.totalChapterCnt"
:percentage="parseInt(data.totalProgress * 100)"
:show-text="false"
:stroke-width="8"
:color="
@@ -226,7 +226,7 @@
3: 'rgba(59, 94, 251, 1)',
4: 'rgba(57, 219, 183, 1)',
5: 'rgba(57, 219, 183, 1)',
}[parseInt(data.totalChapterCnt / 20)]
}[parseInt((data.totalProgress * 100) / 20)]
"
/>
</div>
@@ -240,10 +240,10 @@
3: 'rgba(59, 94, 251, 1)',
4: 'rgba(57, 219, 183, 1)',
5: 'rgba(57, 219, 183, 1)',
}[parseInt(data.totalChapterCnt / 20)],
}[parseInt((data.totalProgress * 100) / 20)],
}"
>
{{ data.totalChapterCnt }}%
{{ parseInt(data.totalProgress * 100) }}%
</div>
</div>
</div>
@@ -254,7 +254,7 @@
<div class="progress">
<div style="width: 291px">
<el-progress
:percentage="data.currentChapterCnt"
:percentage="parseInt(data.compulsoryProgress * 100)"
:show-text="false"
:stroke-width="8"
:color="
@@ -265,7 +265,7 @@
3: 'rgba(59, 94, 251, 1)',
4: 'rgba(57, 219, 183, 1)',
5: 'rgba(57, 219, 183, 1)',
}[parseInt(data.currentChapterCnt / 20)]
}[parseInt((data.compulsoryProgress * 100) / 20)]
"
/>
</div>
@@ -284,10 +284,10 @@
3: 'rgba(59, 94, 251, 1)',
4: 'rgba(57, 219, 183, 1)',
5: 'rgba(57, 219, 183, 1)',
}[parseInt(data.currentChapterCnt / 20)],
}[parseInt((data.compulsoryProgress * 100) / 20)],
}"
>
{{ data.currentChapterCnt }}%
{{ parseInt(data.compulsoryProgress * 100) }}%
</div>
</div>
</div>
@@ -333,6 +333,7 @@ const returnclick = () => {
const { data } = useRequest(PROJECT_PROCESS, {
projectId: projectId || courseId,
});
console.log("datadata", data);
const userInfo = computed(() => store.state.userInfo);
const activeName = ref("first");
@@ -512,6 +513,9 @@ function whiteTypes(type) {
font-weight: 500;
color: #333330;
line-height: 24px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.coursetag {