yiming
2024-04-12 4bc1c36faeec2f90e5acfa836732e49fe0b245e9
packageBookService/pages/bookServices/detail/index.js
@@ -134,6 +134,21 @@
    icon1: {
      name: "/static/images/bookService/detail/dangdang.png",
    },
    rowCol: [{
        width: '50%',
      },
      {
        width: '100%'
      },
      {
        width: '80%'
      },
      {
        width: '100%'
      }, {
        width: '100%'
      },
    ]
  },
  resetTree: function (e) {
@@ -1383,16 +1398,23 @@
  },
  updateShoppingCartHidden() {
    const isSHow = this.data.shoppingCartGetId.some(
      (item) => item == data.saleMethod[0].Id
    );
    return !isSHow;
  },
  //刷新购物车图标
  updateCloudLearning() {
    this.getBookInfo()
    this.getShoppingCartProductGet()
    const checkData = this.data.cmsDatas.find(
      (item) => item.refCode == "jsek_cloudLearning"
    );
    this.getResourceData(checkData);
  },
  // 遍历树结构转换为数组方法
  handleTreeData(array) {