|
@@ -9,7 +9,7 @@
|
|
|
style="color: #00000099;margin-top: 5px;">
|
|
|
</div>
|
|
|
<div class="choices" v-if="checkJson.courses.length">
|
|
|
- <div class="course">
|
|
|
+ <div class="course" @click="openCourse()">
|
|
|
<div class="banner">
|
|
|
<img :src="courseDetail.cover" alt="">
|
|
|
</div>
|
|
@@ -107,6 +107,9 @@ export default {
|
|
|
this.checkJson.answer2 = this.checkJson.courses[this.page]
|
|
|
this.getCourse(this.checkJson.answer2)
|
|
|
},
|
|
|
+ openCourse(){
|
|
|
+ top.postMessage({ cid: this.checkJson.answer2, screenType: "3" }, "*");
|
|
|
+ },
|
|
|
getCourse(id) {
|
|
|
this.isloading = true
|
|
|
let params = {
|
|
@@ -175,6 +178,7 @@ export default {
|
|
|
.course {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
.course > .banner {
|
|
|
width: 200px;
|