闫增涛
2024-11-06 12e72812d28c95394a17ec495985d44aff1c77f7
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