提交 ee5e860b authored 作者: GOD_ZYX's avatar GOD_ZYX

修改 时间统计

上级 ef74e171
...@@ -365,8 +365,8 @@ Page({ ...@@ -365,8 +365,8 @@ Page({
wx.setStorage('videoCacheCtrlBar', _data.ctrlBar) wx.setStorage('videoCacheCtrlBar', _data.ctrlBar)
wx.setStorage('audioCacheCtrlBar', _data.ctrlBar) wx.setStorage('audioCacheCtrlBar', _data.ctrlBar)
/* 由于 音视频相同,所以 设置方式设置成一致就可以了 */ /* 由于 音视频相同,所以 设置方式设置成一致就可以了 */
/* 提交进度请求 */ /* 提交进度请求, 进度进行中,才计算上进度时间 */
if (this.realTimeProgress) { if (this.realTimeProgress && tempTime != this.realTimeProgress.cpt) {
let _rProgress = this.realTimeProgress let _rProgress = this.realTimeProgress
_rProgress.pt = parseInt(_rProgress.pt) + (10000 / 1000) * 1.5 _rProgress.pt = parseInt(_rProgress.pt) + (10000 / 1000) * 1.5
_rProgress.cpt = tempTime _rProgress.cpt = tempTime
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论