yiming
2024-04-12 4bc1c36faeec2f90e5acfa836732e49fe0b245e9
packageBookService/pages/bookServices/detail/components/tree/index.wxml
@@ -10,6 +10,7 @@
      <view slot="header" class="header-title">
        <view class="title-checkBox" catchtap="catchTap">
          <t-checkbox
            style="align-items: center"
            icon="rectangle"
            checked="{{item.checked}}"
            data-item="{{item}}"
@@ -18,7 +19,7 @@
          />
          <!-- 章节名 -->
          <view class="title-box">
            <text class="title-name">{{item.name}} </text>
            <view class="title-name">{{item.name}} </view>
            <view wx:if="{{item.sysType =='CmsFolder'}}" class="title-num">
              ({{item.children ? item.children.length : 0}})
            </view>
@@ -112,6 +113,12 @@
                    src="/static/images/bookService/detail/PPT.png"
                    mode="aspectFill"
                  />
                  <!-- 资源无文件内容图标 -->
                  <image
                    wx:else
                    src="/static/images/bookService/detail/word.png"
                    mode=""
                  />
                </view>
                <!-- 云学习图标 -->
                <view> </view>
@@ -163,7 +170,7 @@
        </view>
        <!-- // 判断 不是商品 有子项 递归组件 -->
        <tree
          wx:if="{{citem.childrenCount > 0 && citem.sysType == 'CmsFolder' }}"
          wx:if="{{ citem.sysType == 'CmsFolder' }}"
          isShowCheck="{{isShowCheck}}"
          bookInfo="{{bookInfo}}"
          treeList="{{[citem]}}"