| | |
| | | <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"> |
| | |
| | | </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> |
| | |
| | | <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> |