| | |
| | | </view> |
| | | </view> |
| | | <!-- 练习列表 --> |
| | | <view |
| | | class="resource-list" |
| | | wx:for="{{list}}" |
| | | wx:key="id" |
| | | wx:if="{{radioItem == 'test'}}" |
| | | bind:tap="goTest" |
| | | data-value="{{item}}" |
| | | > |
| | | <!-- <view class="resource-list" wx:for="{{list}}" wx:key="id" wx:if="{{radioItem == 'test'}}" bind:tap="goTest" data-value="{{item}}"> |
| | | <view class="list-title"> |
| | | <image src="/static/images/bookService/detail/test-icon.png"></image> |
| | | <text>{{item.name}}</text> |
| | |
| | | <view class="practice"> |
| | | <image src="/static/images/bookService/detail/lianxi-icon.png"></image> |
| | | </view> |
| | | </view> --> |
| | | <!-- 练习列表树结构 --> |
| | | <view wx:if="{{radioItem == 'test'}}"> |
| | | <view class="buy-question-btn" wx:if="{{!isBuyBank}}"> |
| | | <t-button |
| | | wx:if="{{!isShoppingBank}}" |
| | | class="error-btn" |
| | | theme="default" |
| | | size="medium" |
| | | style="padding: 0 12rpx" |
| | | bind:tap="handleShoppingBank" |
| | | data-answerType="errorQuestion" |
| | | > |
| | | <view slot="content" class="btn-content"> |
| | | <image src="/static/images/bookService/detail/cart.png" /> |
| | | <text class="primary-color">加入购物车</text> |
| | | </view> |
| | | </t-button> |
| | | <t-button |
| | | class="error-btn" |
| | | theme="default" |
| | | size="medium" |
| | | style="padding: 0 12rpx" |
| | | bind:tap="buyBank" |
| | | data-answerType="errorQuestion" |
| | | > |
| | | <view slot="content" class="btn-content"> |
| | | <image src="/static/images/bookService/detail/yijiangoumai.png" /> |
| | | <text class="primary-color" |
| | | >{{bankSaleData.Price > 0 ? "全部购买" : "免费领取"}}</text |
| | | > |
| | | </view> |
| | | </t-button> |
| | | </view> |
| | | <tree |
| | | id="test-tree" |
| | | openIds="{{openIds}}" |
| | | bookInfo="{{bookInfo}}" |
| | | tab="{{tab}}" |
| | | treeList="{{list}}" |
| | | bind:goTest="goTest" |
| | | ></tree> |
| | | </view> |
| | | <view |
| | | wx:if="{{noResources}}" |
| | | class="noData" |
| | | wx:if="{{radioItem == 'test' && !list.length}}" |
| | | > |
| | | <!-- <t-empty icon="folder-open" description="暂无数据" /> --> |
| | | <empty /> |
| | | </view> |
| | | </view> |
| | | |
| | | <view |
| | | wx:if="{{noResources}}" |
| | | class="noData" |
| | | wx:if="{{radioItem == 'test' && !list.length}}" |
| | | > |
| | | <t-empty icon="folder-open" description="暂无数据" /> |
| | | </view> |
| | | |
| | | <!-- 组卷列表 --> |
| | | <view class="mock-data" wx:if="{{radioItem == 'mock'}}"> |
| | | <view> |