|
@@ -1,53 +1,54 @@
|
|
|
-
|
|
|
- <view class="mb20">
|
|
|
- <swiper indicator-dots="false" autoplay="true" interval="5000" duration="1000">
|
|
|
- <swiper-item>
|
|
|
- <image src="/assets/carousel/1.png" class="slide-image" />
|
|
|
- </swiper-item>
|
|
|
- <swiper-item>
|
|
|
- <image src="/assets/carousel/2.png" class="slide-image" />
|
|
|
- </swiper-item>
|
|
|
- <swiper-item>
|
|
|
- <image src="/assets/carousel/3.png" class="slide-image" />
|
|
|
- </swiper-item>
|
|
|
- </swiper>
|
|
|
+<view class="mb20">
|
|
|
+ <swiper indicator-dots="false" autoplay="true" interval="5000" duration="1000">
|
|
|
+ <swiper-item>
|
|
|
+ <image src="/assets/carousel/1.png" class="slide-image" />
|
|
|
+ </swiper-item>
|
|
|
+ <swiper-item>
|
|
|
+ <image src="/assets/carousel/2.png" class="slide-image" />
|
|
|
+ </swiper-item>
|
|
|
+ <swiper-item>
|
|
|
+ <image src="/assets/carousel/3.png" class="slide-image" />
|
|
|
+ </swiper-item>
|
|
|
+ </swiper>
|
|
|
</view>
|
|
|
-<navigator class="card-wrapper" wx:for="{{tableData}}" wx:key="index" wx:if="{{item.count>0}}"
|
|
|
- url="/pages/train/orderTest/answer?groupId={{groupId}}&type={{item.type}}&count={{item.count}}">
|
|
|
- <view class="i-class i-card i-card-radus p10" >
|
|
|
- <view class="i-class i-card-header ">
|
|
|
- <view class="i-card-header-title" style="font-size:42rpx">
|
|
|
- {{types[item.type]}}
|
|
|
- </view>
|
|
|
- <view class="i-card-header-extra" style="font-size:36rpx" >
|
|
|
- 共计【{{item.count}}】题
|
|
|
+
|
|
|
+<block wx:for="{{tableData}}" wx:key="index">
|
|
|
+ <navigator wx:if="{{item.type<5}}" class="card-wrapper" url="/pages/train/orderTest/answer?groupId={{groupId}}&type={{item.type}}&count={{item.count}}">
|
|
|
+ <view class="i-class i-card i-card-radus p10">
|
|
|
+ <view class="i-class i-card-header ">
|
|
|
+ <view class="i-card-header-title" style="font-size:42rpx">
|
|
|
+ {{types[item.type]}}
|
|
|
+ </view>
|
|
|
+ <view class="i-card-header-extra" style="font-size:36rpx">
|
|
|
+ 共计【{{item.count}}】题
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
-</navigator>
|
|
|
+ </navigator>
|
|
|
|
|
|
-<navigator url="/pages/exam/collection/index?groupId={{groupId}}" class="card-wrapper">
|
|
|
- <view class="i-class i-card i-card-radus" data-id="{{item.id}}" data-out="{{item.isOut}}" bindtap="gotoDetail" >
|
|
|
- <view class="i-class i-card-header mt10">
|
|
|
- <view class="i-card-header-title tc" style="font-size:42rpx">
|
|
|
- 我的错题
|
|
|
- </view>
|
|
|
- <view class="i-card-header-extra" style="font-size:36rpx" >
|
|
|
- 进入
|
|
|
+ <navigator wx:if="{{item.type ==5}}" class="card-wrapper" url="/pages/exam/collection/index?groupId={{groupId}}">
|
|
|
+ <view class="i-class i-card i-card-radus" data-id="{{item.id}}" data-out="{{item.isOut}}">
|
|
|
+ <view class="i-class i-card-header mt10">
|
|
|
+ <view class="i-card-header-title tc" style="font-size:42rpx">
|
|
|
+ {{item.name}}
|
|
|
+ </view>
|
|
|
+ <view class="i-card-header-extra" style="font-size:36rpx">
|
|
|
+ 进入
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
-</navigator>
|
|
|
+ </navigator>
|
|
|
|
|
|
- <navigator url="/pages/newExam/mockExam/index?id={{groupId}}" class="card-wrapper">
|
|
|
- <view class="i-class i-card i-card-radus" data-id="{{item.id}}" data-out="{{item.isOut}}" bindtap="gotoDetail" >
|
|
|
- <view class="i-class i-card-header mt10">
|
|
|
- <view class="i-card-header-title tc" style="font-size:42rpx">
|
|
|
- 模拟考试
|
|
|
- </view>
|
|
|
- <view class="i-card-header-extra" style="font-size:36rpx" >
|
|
|
- 开始
|
|
|
+ <navigator wx:if="{{item.type == 6}}" class="card-wrapper" url="/pages/newExam/mockExam/index?id={{groupId}}">
|
|
|
+ <view class="i-class i-card i-card-radus" data-id="{{item.id}}" data-out="{{item.isOut}}">
|
|
|
+ <view class="i-class i-card-header mt10">
|
|
|
+ <view class="i-card-header-title tc" style="font-size:42rpx">
|
|
|
+ {{item.name}}
|
|
|
+ </view>
|
|
|
+ <view class="i-card-header-extra" style="font-size:36rpx">
|
|
|
+ 进入
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </navigator>
|
|
|
+ </navigator>
|
|
|
+</block>
|