闫增涛
2024-04-02 7adfe5210fad2b4ab1b1be41e2d58eb3dd9b2b1a
packageBookService/pages/bookServices/detail/components/tree/index.js
@@ -142,10 +142,15 @@
          }
        })
      } else {
        if (this.properties.isShowCheck) return true
        const item = e.currentTarget.dataset.item
        const parent = e.currentTarget.dataset.parent
        let url
        if (this.properties.isShowCheck && this.resourceIsBuy(item)) {
          return wx.showToast({
            icon: 'error',
            title: "请先购买资源"
          })
        }
        if (item.selectType == 'video' || item.learnSelectType == 'video') {
          url = '/packageDomain/pages/resourceDetails/myVideo/index'
        } else if (item.selectType == 'audio' || item.learnSelectType == 'audio') {