闫增涛
2024-12-20 e609ca28af867e7a208b4c78cda300cb254d52ba
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