提交 52f4501e 编写于 作者: guangjun.yang's avatar guangjun.yang

小需求实现

上级 c1782f17
......@@ -89,7 +89,7 @@ const actionMap = {
12: "再考一次",
13: "已通过",
14: "已完成",
15: "去刷分",
15: "已通过",
16: "未通过",
21: "去学习",
22: "继续学习",
......
......@@ -51,7 +51,7 @@ const actionMap = {
12: "再考一次",
13: "已通过",
14: "已完成",
15: "去刷分",
15: "已通过",
16: "未通过",
21: "去学习",
22: "继续学习",
......
......@@ -32,7 +32,7 @@
:subject="project.subject"
/>
<!-- 步骤条 -->
<CmeStep
<CmeStep ref="cmeStepRef"
:currentProgress="project.currentProgress"
:studyProgress="project.studyProgress"
:credit="project.credit"
......@@ -410,8 +410,8 @@ export default {
_this.clientType = __isWeb ? 1 : __isAndroid ? 2 : 3;
}
// 先设置视频URL再显示视频组件 ------------ END
_this.project = res.data;
if(_this.project.projectIntro) {
_this.textContent = _this.project.projectIntro.length > 70 ? _this.project.projectIntro.slice(0, 70) + "..." : this.project.projectIntro;
}
......@@ -432,6 +432,13 @@ export default {
_this.premissionFlag = true;
_this.permission(); // 提示是否有机构和在申请范围内
}
// TODO Add by Anndy Yang
if(_this.project.currentProgress == 2) {
this.$nextTick( () => {
window.scrollTo(0, this.$refs.cmeStepRef.offsetTop);
})
}
}
//_this.showLoading = false;
});
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册