提交 b6fddaaa 编写于 作者: guofeng.chen's avatar guofeng.chen

修改参数

上级 28b3b974
<template>
<!-- 项目组件列表项 -->
<section>
<div
<div
class="cell-detail"
v-for="(component , index) in projectComponent"
v-for="(component , index) in projectComponent"
:key="index">
<van-collapse v-model="activeNames" @change="changeCollapse">
<van-collapse-item
v-for="(portalModule, index) in component.portalModuleDTOS"
<van-collapse-item
v-for="(portalModule, index) in component.portalModuleDTOS"
:key="index"
:title="portalModule.moduleName | shortName(19)"
:title="portalModule.moduleName | shortName(19)"
:name="portalModule.expandKey"
:value="portalModule.value"
:disabled="portalModule.disabled"
......@@ -45,7 +45,7 @@
>
<!-- :class="{'text-action-no': item.useFlag == 2}" -->
去试看
</span>
</span>
<span
v-else
@click="gotoExamOrCourse(item)"
......@@ -55,7 +55,7 @@
{{getActionText(item.status, item.type)}}
</span>
<!-- <img @click="toastToBuy" class="key" v-show="!hasBindCard" src="../../images/cme/phrase2/key.png" alt=""> -->
<div class="foot-line"
<div class="foot-line"
v-if="index+1 < portalModule.contentList.length && portalModule.contentList[index].templetId == portalModule.contentList[index+1].templetId">
</div>
</div>
......@@ -142,7 +142,11 @@ export default {
projectId: {
type: Number | String,
default: 0
}
},
goodsId: {
type: Number | String,
default: 0,
}
},
components: {
MergeTitle,
......@@ -170,7 +174,7 @@ export default {
if(type == 'sk') {
this.$sendBuriedData({
component_tag: `883#88316#${item.id}#${item.name}`
});
});
}
// 在浏览器中
......@@ -181,7 +185,7 @@ export default {
Toast('激活/购买后可参加考试');
} else if(item.type == 2){
Toast('激活/购买后可学习完整课程');
}
}
return;
// 已经绑定则前往云鹊医APP
} else {
......@@ -189,7 +193,7 @@ export default {
Toast('请前往云鹊医APP参加考试');
} else if(item.type == 2){
Toast('请前往云鹊医APP学习课程');
}
}
return;
}
}
......@@ -248,10 +252,10 @@ export default {
Toast('请前往云鹊医APP学习课程');
return;
}
let jumpUrl = getWebPageUrl(`profexam/#/course-detail?courseId=${courseId}&projectId=${this.projectId}`);
let jumpUrl = getWebPageUrl(`profexam/#/course-detail?courseId=${courseId}&projectId=${this.projectId}&goodsId=${this.goodsId}`);
window.location.href = jumpUrl;
},
// 跳转到考试
gotoExam: function(examId) {
Toast('请前往云鹊医APP参加考试');
......@@ -349,7 +353,7 @@ export default {
}
.van-collapse-item {
.van-cell {
margin: 9px auto 0 auto;
margin: 9px auto 0 auto;
// width: 345px;
width: 100%;
min-height: 48px;
......@@ -643,4 +647,4 @@ export default {
.bg-13 {
background: #abcec7;
}
</style>
\ No newline at end of file
</style>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册