作者:胖妞-Debbie_982 | 来源:互联网 | 2023-09-05 12:54
效果
![](https://img0.php1.cn/3cdc5/6de3/4aa/0e15dc72f468c3bc.png)
功能介绍:根据点击title跳转到当前对应的时间节点播放 ,本文项目用的是vue+antd开发 如果不是antd 有些样式请自行修改,功能还是好的
话不多说,直接上代码,根据prop传入标题,和地址即可,注意 头部用的滚动用的是swiper,请导入后使用,本文是直接在index.html中映入的
{{ changeSecondsToHours(item.time) }}
{{ item.title }}
{{ videoInfo.playTimeText }}
{{ videoInfo.hoverTime }}
{{ videoInfo.totalTimeText }}
倍数
{{ item == 1 || item == 2 || item == 3 ||item == 4 ? item + '.0' : item }}X 0"@click.stop="voiceSwitch(true)"src="../../assets/play.png"alt=""/>{{ (videoInfo.voicePercent * 100).toFixed(0) }}%