|
@@ -29,6 +29,17 @@
|
|
</div>
|
|
</div>
|
|
<scroller ref="scroller" :on-scrolling="scrollChange">
|
|
<scroller ref="scroller" :on-scrolling="scrollChange">
|
|
<van-tabs v-model="activeTab" swipeable>
|
|
<van-tabs v-model="activeTab" swipeable>
|
|
|
|
+ <van-tab title="课程介绍">
|
|
|
|
+ <div class="images">
|
|
|
|
+ <div
|
|
|
|
+ class="descImage"
|
|
|
|
+ v-for="(item, index) in courseDetail.images"
|
|
|
|
+ :key="index"
|
|
|
|
+ >
|
|
|
|
+ <img :src="item" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </van-tab>
|
|
<van-tab title="课程目录">
|
|
<van-tab title="课程目录">
|
|
<div class="catelog">
|
|
<div class="catelog">
|
|
<div class="logConetent">
|
|
<div class="logConetent">
|
|
@@ -44,17 +55,6 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</van-tab>
|
|
</van-tab>
|
|
- <van-tab title="课程介绍">
|
|
|
|
- <div class="images">
|
|
|
|
- <div
|
|
|
|
- class="descImage"
|
|
|
|
- v-for="(item, index) in courseDetail.images"
|
|
|
|
- :key="index"
|
|
|
|
- >
|
|
|
|
- <img :src="item" />
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </van-tab>
|
|
|
|
</van-tabs>
|
|
</van-tabs>
|
|
</scroller>
|
|
</scroller>
|
|
</div>
|
|
</div>
|
|
@@ -73,7 +73,7 @@ export default {
|
|
showVideo: true,
|
|
showVideo: true,
|
|
loading: false,
|
|
loading: false,
|
|
finished: false,
|
|
finished: false,
|
|
- activeTab: 0,
|
|
|
|
|
|
+ activeTab: 1,
|
|
title: "课程详情",
|
|
title: "课程详情",
|
|
curTitle: "",
|
|
curTitle: "",
|
|
videoSrc: "",
|
|
videoSrc: "",
|
|
@@ -98,13 +98,14 @@ export default {
|
|
},
|
|
},
|
|
activated(){
|
|
activated(){
|
|
this.init();
|
|
this.init();
|
|
- },
|
|
|
|
- created() {
|
|
|
|
- // this.init();
|
|
|
|
if(this.$isWx){
|
|
if(this.$isWx){
|
|
setWxConfig();
|
|
setWxConfig();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ created() {
|
|
|
|
+ // this.init();
|
|
|
|
+
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
//滚动监控
|
|
//滚动监控
|
|
scrollChange(e) {
|
|
scrollChange(e) {
|