index.wxml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <view class="mb20">
  2. <swiper indicator-dots="false" autoplay="true" interval="5000" duration="1000">
  3. <swiper-item>
  4. <image src="/assets/carousel/1.png" class="slide-image" />
  5. </swiper-item>
  6. <swiper-item>
  7. <image src="/assets/carousel/2.png" class="slide-image" />
  8. </swiper-item>
  9. <swiper-item>
  10. <image src="/assets/carousel/3.png" class="slide-image" />
  11. </swiper-item>
  12. </swiper>
  13. </view>
  14. <navigator class="card-wrapper" wx:for="{{tableData}}" wx:key="index" wx:if="{{item.count>0}}"
  15. url="/pages/train/orderTest/answer?groupId={{groupId}}&type={{item.type}}&count={{item.count}}">
  16. <view class="i-class i-card i-card-radus p10" >
  17. <view class="i-class i-card-header ">
  18. <view class="i-card-header-title" style="font-size:42rpx">
  19. {{types[item.type]}}
  20. </view>
  21. <view class="i-card-header-extra" style="font-size:36rpx" >
  22. 共计【{{item.count}}】题
  23. </view>
  24. </view>
  25. </view>
  26. </navigator>
  27. <navigator url="/pages/exam/collection/index?groupId={{groupId}}" class="card-wrapper">
  28. <view class="i-class i-card i-card-radus" data-id="{{item.id}}" data-out="{{item.isOut}}" >
  29. <view class="i-class i-card-header mt10">
  30. <view class="i-card-header-title tc" style="font-size:42rpx">
  31. 我的错题
  32. </view>
  33. <view class="i-card-header-extra" style="font-size:36rpx" >
  34. 进入
  35. </view>
  36. </view>
  37. </view>
  38. </navigator>
  39. <navigator url="/pages/newExam/mockExam/index?id={{groupId}}" class="card-wrapper">
  40. <view class="i-class i-card i-card-radus" data-id="{{item.id}}" data-out="{{item.isOut}}" >
  41. <view class="i-class i-card-header mt10">
  42. <view class="i-card-header-title tc" style="font-size:42rpx">
  43. 模拟考试
  44. </view>
  45. <view class="i-card-header-extra" style="font-size:36rpx" >
  46. 开始
  47. </view>
  48. </view>
  49. </view>
  50. </navigator>