css
litian
2024-09-25 b471803c1a9e4c1452a98a8b3631bde66641b910
packageBookService/pages/bookServices/detail/components/learnTask/index.js
@@ -69,7 +69,7 @@
      this.setData({
        bookId: options.bookId,
        cmsPath: options.cmsPath,
        taskId: options.bookId,
        taskId: options.taskId,
        consumer: options.consumer,
        userId: options.userId,
        userName: JSON.parse(wx.getStorageSync(app.config.userInfoKey)).nickName
@@ -78,7 +78,7 @@
        this.setData({
          cmsPath: options.cmsPath,
          bookId: options.bookId,
          taskId: options.bookId,
          taskId: options.taskId,
          consumer: options.consumer,
          userId: options.userId,
          disabled: true
@@ -176,7 +176,7 @@
            menuList: dataList,
            loading: false,
          });
        }, 500)
        }, 200)
        if (this.data.taskId) {
          setTimeout(() => {
            this.data.menuList.forEach((item) => {
@@ -194,7 +194,7 @@
                })
              }
            })
          }, 500)
          }, 200)
        } else {
          setTimeout(() => {
            if (this.data.menuList[0].children) {
@@ -206,10 +206,12 @@
                taskInfo: this.data.menuList[0],
              });
            }
          }, 500)
          }, 200)
        }
      }
      setTimeout(() => {
      this.getTasksList()
      }, 200)
    })
  },
  getTask(e) {
@@ -244,7 +246,6 @@
      this.setData({
        tasksListData: res.datas,
      });
      if (this.data.taskInfo.name) {
        this.taskSelect(this.data.taskInfo)
      }