zhongshujie
2024-12-20 a9877004f436bb9f53173c1692de345726e0e521
pages/digitalTextbooks/index.js
@@ -116,6 +116,7 @@
  onShareAppMessage() {
  },
  onShareTimeline() {},
  //新加的函数
  getCourseTypeListList() {
@@ -231,6 +232,7 @@
          ...searchObj
        }
      }).then((res) => {
        res.datas.forEach(item => item.price = item.price.toFixed(2))
        this.setData({
          digitalTextbooksData: res.datas,
          loading: false