index.wxml 1.0 KB

123456789101112131415161718192021222324252627282930
  1. <wxs module="enumItem" src="../../../wxs/enumItem.wxs"></wxs>
  2. <view>
  3. <view>
  4. <swiper indicator-dots="false" autoplay="true" interval="5000" duration="1000">
  5. <swiper-item>
  6. <image src="/assets/carousel/1.png" class="slide-image" />
  7. </swiper-item>
  8. <swiper-item>
  9. <image src="/assets/carousel/2.png" class="slide-image" />
  10. </swiper-item>
  11. <swiper-item>
  12. <image src="/assets/carousel/3.png" class="slide-image" />
  13. </swiper-item>
  14. </swiper>
  15. </view>
  16. <!-- <ad unit-id="adunit-21433e65243fe5ff"></ad> -->
  17. <view>
  18. <view class="p20 br20">
  19. <i-cell-group>
  20. <i-cell wx:for="{{groups}}" data-item="item" wx:key="id" title="{{item.name}}"
  21. is-link value="进入题库" i-class="mt20 p20 br20"
  22. url="/pages/exam/home/index?groupId={{item.groupId}}"
  23. label="{{item.startAt}} 到 {{item.endAt}}" />
  24. </i-cell-group>
  25. </view>
  26. <view wx:if="{{!isOpen}}" class="tc m20 p20">
  27. <text class="tc fc">还未开通题库</text>
  28. </view>
  29. </view>
  30. </view>