效果
要实现上面的效果,视频播放,需要两个参数video_id和course_id
1、拿到这两个(video_id和course_id)参数
<div
v-for="(item, index) in periods"
:key="index"
class="my-study-detail-cell"
@click="curriculum(item.video_id,item.periods_title)"
>
<div class="title">
<span class="play-type play-type-playback">[回放]</span>
<span class="name">{
{ item.periods_title }}</span>
</div>
<div class="teacher">
<span
class="name"
v-for="(items, index) in item.teachers"
:key="index"
>{
{ items.teacher_name }}</span>
<span class="time">{
{ item.start_play }} - {
{ item.end_play }}</span>
</div>
<div class="progress-info">
<div class="my-progress" style="width: 75%; height: 1.06667vw;">