|
@@ -73,7 +73,22 @@
|
|
|
<div>
|
|
|
<div class="main_box">
|
|
|
<div style="display:flex;flex-wrap:wrap" v-if="!typeCheck">
|
|
|
- <div class="box_course" v-for="(item, index) in zoneClass" :key="index" @click="goToCourseDetail(item)">
|
|
|
+ <div class="box_course" v-for="(item, index) in zoneClass" :key="index" @click="goTo(
|
|
|
+ '/courseDetail?courseId=' +
|
|
|
+ item.courseId +
|
|
|
+ '&userid=' +
|
|
|
+ userid +
|
|
|
+ '&oid=' +
|
|
|
+ oid +
|
|
|
+ '&org=' +
|
|
|
+ org +
|
|
|
+ '&cid=' +
|
|
|
+ classId +
|
|
|
+ '&tType=' +
|
|
|
+ tType +
|
|
|
+ '&screenType=' +
|
|
|
+ screenType,item.courseId
|
|
|
+ )">
|
|
|
<div class="wheel">
|
|
|
<img :src="
|
|
|
item.cover
|
|
@@ -132,7 +147,22 @@
|
|
|
<div class="FirstTypeBox" v-for="(type, tindex) in CourseType2" :key="tindex">
|
|
|
<div class="title">{{ type.name }}</div>
|
|
|
<div style="display: flex;flex-flow: wrap;margin-top: 20px;">
|
|
|
- <div class="box_course" v-for="(item, index) in type.course" :key="tindex + '-' + index" @click="goToCourseDetail(item)">
|
|
|
+ <div class="box_course" v-for="(item, index) in type.course" :key="tindex + '-' + index" @click="goTo(
|
|
|
+ '/courseDetail?courseId=' +
|
|
|
+ item.courseId +
|
|
|
+ '&userid=' +
|
|
|
+ userid +
|
|
|
+ '&oid=' +
|
|
|
+ oid +
|
|
|
+ '&org=' +
|
|
|
+ org +
|
|
|
+ '&cid=' +
|
|
|
+ classId +
|
|
|
+ '&tType=' +
|
|
|
+ tType +
|
|
|
+ '&screenType=' +
|
|
|
+ screenType,item.courseId
|
|
|
+ )">
|
|
|
<div class="wheel">
|
|
|
<img :src="
|
|
|
item.cover
|
|
@@ -875,44 +905,6 @@ export default {
|
|
|
// console.error(err);
|
|
|
// });
|
|
|
},
|
|
|
- goToCourseDetail(item){
|
|
|
- if(this.tType == '2' && item.state == 7){
|
|
|
- this.goTo(
|
|
|
- "/pptEasyClass?type="+
|
|
|
- "&courseId=" +
|
|
|
- item.courseId +
|
|
|
- "&userid=" +
|
|
|
- this.userid +
|
|
|
- "&oid=" +
|
|
|
- this.oid +
|
|
|
- "&org=" +
|
|
|
- this.org +
|
|
|
- "&cid=" +
|
|
|
- this.classId +
|
|
|
- "&tType=" +
|
|
|
- this.tType +
|
|
|
- "&screenType=" +
|
|
|
- this.screenType
|
|
|
- );
|
|
|
- }else{
|
|
|
- this.goTo(
|
|
|
- '/courseDetail?courseId=' +
|
|
|
- item.courseId +
|
|
|
- '&userid=' +
|
|
|
- this.userid +
|
|
|
- '&oid=' +
|
|
|
- this.oid +
|
|
|
- '&org=' +
|
|
|
- this.org +
|
|
|
- '&cid=' +
|
|
|
- this.classId +
|
|
|
- '&tType=' +
|
|
|
- this.tType +
|
|
|
- '&screenType=' +
|
|
|
- this.screenType,item.courseId
|
|
|
- );
|
|
|
- }
|
|
|
- }
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
clearInterval(this.timer);
|