From 46227c41fe5dab991f6c9ab30c9bb318e6eea4fa Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 27 九月 2024 18:22:15 +0800 Subject: [PATCH] rwd --- packageBookService/pages/bookServices/detail/components/learnTask/index.js | 2 +- packageDomain/pages/resourceDetails/myVideo/index.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/learnTask/index.js b/packageBookService/pages/bookServices/detail/components/learnTask/index.js index ba388c3..d9ba9ce 100644 --- a/packageBookService/pages/bookServices/detail/components/learnTask/index.js +++ b/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) { diff --git a/packageDomain/pages/resourceDetails/myVideo/index.js b/packageDomain/pages/resourceDetails/myVideo/index.js index 41f8562..6d80888 100644 --- a/packageDomain/pages/resourceDetails/myVideo/index.js +++ b/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) } -- Gitblit v1.9.1