|
@@ -129,6 +129,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="all_items" v-for="(courseItem, c_index) in goodsTeacher" :key="c_index">
|
|
<view class="all_items" v-for="(courseItem, c_index) in goodsTeacher" :key="c_index">
|
|
|
|
|
+
|
|
|
<view v-for="(cour, cou_index) in courseItem.courseList" :key="cou_index">
|
|
<view v-for="(cour, cou_index) in courseItem.courseList" :key="cou_index">
|
|
|
<view v-if="cour.show && cour.show == 1">
|
|
<view v-if="cour.show && cour.show == 1">
|
|
|
<view v-if="courseTotal > 1" class="cou_title">{{ cour.courseName }}</view>
|
|
<view v-if="courseTotal > 1" class="cou_title">{{ cour.courseName }}</view>
|
|
@@ -207,6 +208,8 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<!--讲义 -->
|
|
<!--讲义 -->
|
|
@@ -1014,6 +1017,11 @@ export default {
|
|
|
let courseItem = await this.getMenuList(item.courseList[0].courseId)
|
|
let courseItem = await this.getMenuList(item.courseList[0].courseId)
|
|
|
// console.log('==courseItem', courseItem);
|
|
// console.log('==courseItem', courseItem);
|
|
|
item['courseMeun'] = courseItem
|
|
item['courseMeun'] = courseItem
|
|
|
|
|
+ if (item.courseList[0].courseId == this.courseId ) {
|
|
|
|
|
+ item['courseShow'] = true
|
|
|
|
|
+ } else {
|
|
|
|
|
+ item['courseShow'] = false
|
|
|
|
|
+ }
|
|
|
})
|
|
})
|
|
|
console.log('===,== this.goodsTeacher', this.goodsTeacher, 'this.courseId:', this.courseId);
|
|
console.log('===,== this.goodsTeacher', this.goodsTeacher, 'this.courseId:', this.courseId);
|
|
|
})
|
|
})
|