mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 19:36:48 +08:00
fix:项目/学习路径图详情添加返回、任务详情不显示关卡/阶段名称问题修改
This commit is contained in:
@@ -2,9 +2,16 @@
|
||||
<div class="pathdetails" style="padding: 30px">
|
||||
<!-- 面包屑导航 -->
|
||||
<div class="crumb">
|
||||
<div>{{data.name}}</div>
|
||||
<div style="margin-left: 6px; margin-right: 6px">/</div>
|
||||
<div>{{data.name}}</div>
|
||||
<div style="margin-left: 6px; margin-right: 6px">/</div>
|
||||
<div style="font-weight: 700">项目详情</div>
|
||||
|
||||
<div class="return">
|
||||
<div style="display: flex" @click="returnclick">
|
||||
<img class="img2" style="margin-right: 22px;cursor: pointer;" src="../../assets/image/return.png" />
|
||||
<div style="cursor: pointer;" class="text">返回</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 面包屑导航 -->
|
||||
<div class="pdname">
|
||||
@@ -75,7 +82,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="goclass" @click="toFinish(value, i.name, i.stageId)">
|
||||
<div class="goclass" @click="toFinish(value, i.stageName, i.stageId)">
|
||||
{{
|
||||
value.status === 1
|
||||
? "已完成"
|
||||
@@ -373,7 +380,7 @@ function introductionPro() {
|
||||
}
|
||||
|
||||
function toFinish(d, sName, chapterId) {
|
||||
console.log("dddddd", d);
|
||||
console.log("dddddd", d, sName);
|
||||
// 作业过期判断
|
||||
if (d.type == 4) {
|
||||
let date1 = new Date(d.endTime).getTime();
|
||||
@@ -490,6 +497,17 @@ function whiteTypes(type) {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
.return {
|
||||
position: absolute;
|
||||
right: 10%;
|
||||
|
||||
.text {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pdname {
|
||||
|
||||
Reference in New Issue
Block a user