packageBookService/pages/bookServices/detail/components/learnTask/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
packageDomain/pages/resourceDetails/myVideo/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
packageBookService/pages/bookServices/detail/components/learnTask/index.js
@@ -99,7 +99,7 @@ app.MG.identity .getUserKey({ domain: 'cloudLearningTime', keys: [this.data.bookId + ''] keys: [this.data.bookId] }) .then((res) => { if (res.length > 0 && JSON.parse(res[0].value) && JSON.parse(res[0].value).length > 0) { packageDomain/pages/resourceDetails/myVideo/index.js
@@ -143,6 +143,10 @@ if (wx.getStorageSync(app.config.tokenKey)) { let duration = this.data.pauseTime - this.data.startTime this.count(duration) if (this.data.formPath == 'jsek_cloudLearning') { let cloudDuration = this.data.pauseTime - this.data.learnStartTime this.cloudCount(cloudDuration) } } this.setPlayerList() }, @@ -159,7 +163,7 @@ this.count(duration) } this.setPlayerList() if (this.data.fromPath == 'jsek_cloudLearning') { if (this.data.formPath == 'jsek_cloudLearning') { let cloudDuration = this.data.pauseTime - this.data.learnStartTime this.cloudCount(cloudDuration) }