|
|
|
@ -17,7 +17,7 @@ |
|
|
|
|
bar-width="55" bar-height="6" :current="current" @change="change"> |
|
|
|
|
</u-tabs> |
|
|
|
|
<view class="center-box"> |
|
|
|
|
<view class="list" v-for="(a,i) in courseList" :key="i" @click="onLookCord(a.video_url.external_url)"> |
|
|
|
|
<view class="list" v-if="courseList.length>0" v-for="(a,i) in courseList" :key="i" @click="onLookCord(a.video_url.external_url)"> |
|
|
|
|
<image :src="a.image_url?a.image_url.external_url:''" mode="heightFix" class="img"></image> |
|
|
|
|
<view class="infor"> |
|
|
|
|
<view class="title"> |
|
|
|
@ -31,6 +31,7 @@ |
|
|
|
|
观看 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<u-empty text="暂无数据显示哦~" v-else mode="list"></u-empty> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<u-mask :show="show" @click="pauseVideo"> |
|
|
|
@ -90,7 +91,7 @@ |
|
|
|
|
data |
|
|
|
|
} = await api.courseType(); |
|
|
|
|
if (status == 200) { |
|
|
|
|
this.courseTypeList = data.courseTypes |
|
|
|
|
this.courseTypeList = data.courseTypes?data.courseTypes:[] |
|
|
|
|
this.getCourseList() |
|
|
|
|
} else { |
|
|
|
|
this.courseTypeList = [] |
|
|
|
|