litian
2024-09-06 50bdb66e0539abd94880f331549c0cef81065caa
pages/digitalCourses/digitalCoursesDetails/index.wxml
@@ -134,8 +134,13 @@
                    <view>{{isTextBookBuy ? '阅读' : '试看'}}</view>
                  </view>
                </view>
                <tree id="test-tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" treeList="{{learnList}}">
                </tree>
                <view wx:if="{{learnList.length > 0}}">
                  <tree id="test-tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" treeList="{{learnList}}">
                  </tree>
                </view>
                <view wx:if="{{learnList.length == 0}}" class="noData">
                  <empty />
                </view>
              </view>
              <view wx:if="{{selectActive == 'test'}}">
                <view class="testBtnBox">
@@ -157,6 +162,9 @@
                  </view>
                </view>
                <testTree id="tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" tab="{{tab}}" treeList="{{testList}}"></testTree>
                <view wx:if="{{testList.length == 0}}" class="noData">
                  <empty />
                </view>
              </view>
            </view>
          </view>
@@ -222,7 +230,7 @@
          <view class="correlation" wx:else>
            <view style="margin-bottom: 30rpx;" wx:for="{{relatedBookData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onCorrelationBook">
              <view class="correlationImage">
                <image src="{{item.icon}}" mode="" />
                <image src="{{item.icon}}" mode="" mode="aspectFit" />
                <img wx:if="{{item.icon == ''}}" src="/static/images/default-book-img.png" alt="" />
              </view>
              <view class="correlationName">{{item.name}}</view>