<!--pages/bookServices/detail/components/testResource/testResource.wxml-->
|
<view class="test-resource">
|
<view class="top-btn">
|
<t-button class="practice-btn" theme="primary" size="medium" style="width: 85px;">
|
<view slot="content">
|
<t-image src="/static/images/bookService/detail/practice-icon.png"></t-image>
|
练习
|
</view>
|
</t-button>
|
<t-button class="paper-btn" theme="default" size="medium" style="width: 85px;">
|
<view slot="content">
|
<t-image src="/static/images/bookService/detail/zujuan.png"></t-image>
|
组卷
|
</view>
|
|
</t-button>
|
<t-button class="error-btn" theme="default" size="medium" style="padding: 0 12rpx;">
|
<view slot="content">
|
<t-image src="/static/images/bookService/detail/cuoti.png"></t-image>
|
我的错题
|
</view>
|
</t-button>
|
<t-button class="collect-btn" theme="default" size="medium" style="padding: 0 12rpx;">
|
<view slot="content">
|
<t-image src="/static/images/bookService/detail/wodeshoucang.png"></t-image>
|
我的收藏
|
</view>
|
</t-button>
|
</view>
|
<view class="resource-list" wx:for="{{list}}" wx:key="item.id">
|
<view class="list-title">
|
<t-image src="/static/images/bookService/detail/test-icon.png"></t-image>
|
<text>{{item.name}}</text>
|
</view>
|
<view class="practice" bind:tap="goTest" data-value="{{item}}">
|
<t-image src="/static/images/bookService/detail/lianxi-icon.png"></t-image>
|
</view>
|
</view>
|
</view>
|