| | |
| | | <view class="test-resource"> |
| | | <view class="top-btn"> |
| | | <view class="test-radio"> |
| | | <view class="test-btn card {{radioItem == 'test' ? 'card--active' : ''}}" bind:tap="testBtn"> |
| | | <view |
| | | class="test-btn card {{radioItem == 'test' ? 'card--active' : ''}}" |
| | | bind:tap="testBtn" |
| | | > |
| | | <view class="image-box"> |
| | | <image class="test-icon" src="{{ radioItem == 'test' ? '/static/images/bookService/detail/practice-icon.png' : '/static/images/bookService/detail/notest.png'}}" mode="aspectFit"></image> |
| | | <image |
| | | class="test-icon" |
| | | src="{{ radioItem == 'test' ? '/static/images/bookService/detail/practice-icon.png' : '/static/images/bookService/detail/notest.png'}}" |
| | | mode="aspectFit" |
| | | ></image> |
| | | </view> |
| | | <view class="btn-content-text">练习</view> |
| | | </view> |
| | | <view class="test-btn card {{radioItem == 'mock' ? 'card--active' : ''}}" bind:tap="mockBtn"> |
| | | <view |
| | | class="test-btn card {{radioItem == 'mock' ? 'card--active' : ''}}" |
| | | bind:tap="mockBtn" |
| | | > |
| | | <view class="image-box"> |
| | | <image src="{{ radioItem == 'mock' ? '/static/images/bookService/detail/checkpaper.png' : '/static/images/bookService/detail/zujuan.png'}}"></image> |
| | | <image |
| | | src="{{ radioItem == 'mock' ? '/static/images/bookService/detail/checkpaper.png' : '/static/images/bookService/detail/zujuan.png'}}" |
| | | ></image> |
| | | </view> |
| | | <view class="btn-content-text">组卷</view> |
| | | </view> |
| | |
| | | </view> |
| | | </t-radio-group> --> |
| | | <view class="btn-box"> |
| | | <t-button class="error-btn" theme="default" size="medium" style="padding: 0 12rpx" bind:tap="goMycollect" data-answerType="errorQuestion"> |
| | | <t-button |
| | | class="error-btn" |
| | | theme="default" |
| | | size="medium" |
| | | style="padding: 0 12rpx" |
| | | bind:tap="goMycollect" |
| | | data-answerType="errorQuestion" |
| | | > |
| | | <view slot="content" class="btn-content"> |
| | | <image src="/static/images/bookService/detail/cuoti.png"></image> |
| | | <text class="primary-color">我的错题</text> |
| | | </view> |
| | | </t-button> |
| | | <t-button class="collect-btn" theme="default" size="medium" style="padding: 0 12rpx" bind:tap="goMycollect" data-answerType="collectQuestion"> |
| | | <t-button |
| | | class="collect-btn" |
| | | theme="default" |
| | | size="medium" |
| | | style="padding: 0 12rpx" |
| | | bind:tap="goMycollect" |
| | | data-answerType="collectQuestion" |
| | | > |
| | | <view slot="content" class="btn-content"> |
| | | <image src="/static/images/bookService/detail/wodeshoucang.png"></image> |
| | | <image |
| | | src="/static/images/bookService/detail/wodeshoucang.png" |
| | | ></image> |
| | | <text class="primary-color"> 我的收藏</text> |
| | | </view> |
| | | </t-button> |
| | |
| | | </view> --> |
| | | <!-- 练习列表树结构 --> |
| | | <view wx:if="{{radioItem == 'test'}}"> |
| | | <tree id="test-tree" openIds="{{openIds}}" bookInfo="{{bookInfo}}" tab="{{tab}}" treeList="{{list}}" bind:goTest="goTest"></tree> |
| | | <view class="buy-question-btn" wx:if="{{!isBuyBank}}"> |
| | | <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> |
| | | <view wx:if="{{noResources}}" class="noData" wx:if="{{radioItem == 'test' && !list.length}}"> |
| | | </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 class="mock-data" wx:if="{{radioItem == 'mock'}}"> |
| | |
| | | <t-button class="buy-mock-btn" bind:tap="buyMock">购买组卷</t-button> |
| | | </view> |
| | | <view class="mock-list" wx:if="{{mockData.mockList.length}}"> |
| | | <view class="mock-list-box" wx:for="{{mockData.mockList}}" wx:key="id" data-item="{{item}}" bind:tap="goMackPaper"> |
| | | <view |
| | | class="mock-list-box" |
| | | wx:for="{{mockData.mockList}}" |
| | | wx:key="id" |
| | | data-item="{{item}}" |
| | | bind:tap="goMackPaper" |
| | | > |
| | | <view class="mock-title">{{item.name}}</view> |
| | | <view class="mock-message"> |
| | | <view class="message-box"> |
| | | <view class="mack-state"> |
| | | <text wx:if="{{item.state == '3'}}" class="complete state-pad">已完成</text> |
| | | <text wx:elif="{{item.state == '2' || item.state == '1'}}" class="Incomplete state-pad">未完成</text> |
| | | <text wx:if="{{item.state == '3'}}" class="complete state-pad" |
| | | >已完成</text |
| | | > |
| | | <text |
| | | wx:elif="{{item.state == '2' || item.state == '1'}}" |
| | | class="Incomplete state-pad" |
| | | >未完成</text |
| | | > |
| | | <text wx:else class="Incomplete state-pad">未开始</text> |
| | | </view> |
| | | <view class="mock-time">{{item.createDate}}</view> |
| | | </view> |
| | | <view class="mock-score" wx:if="{{item.state == '3'}}">{{item.report.userScore}}分</view> |
| | | <view class="mock-score" wx:if="{{item.state == '3'}}" |
| | | >{{item.report.userScore}}分</view |
| | | > |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view wx:else class="not-mock"> |
| | | <image src="/static/images/bookService/examination/zhuangtai-icon.png"></image> |
| | | <view class="not-mock-message note-mock-text">组卷是收费功能,请购买后使用!</view> |
| | | <view class="note-mock-price note-mock-text">价格:<text class="mock-price">¥{{mockData.price}}</text> 元/次</view> |
| | | <image |
| | | src="/static/images/bookService/examination/zhuangtai-icon.png" |
| | | ></image> |
| | | <view class="not-mock-message note-mock-text" |
| | | >组卷是收费功能,请购买后使用!</view |
| | | > |
| | | <view class="note-mock-price note-mock-text" |
| | | >价格:<text class="mock-price">¥{{mockData.price}}</text> 元/次</view |
| | | > |
| | | <t-button class="buy-mock-btn" bind:tap="buyMock">购买组卷</t-button> |
| | | </view> |
| | | </view> |