rwd
litian
2024-09-27 46227c41fe5dab991f6c9ab30c9bb318e6eea4fa
rwd
2个文件已修改
8 ■■■■ 已修改文件
packageBookService/pages/bookServices/detail/components/learnTask/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/resourceDetails/myVideo/index.js 6 ●●●● 补丁 | 查看 | 原始文档 | 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)
    }