index.wxml 959 B

12345678910111213141516171819202122232425
  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. <view class="p20 br20">
  17. <i-cell-group>
  18. <i-cell wx:for="{{groups}}" data-item="item" wx:key="id" title="{{item.name}}" is-link value="进入题库" i-class="mt20 p20 br20"
  19. url="/pages/train/limitHome/index?groupId={{item.groupId}}" label="{{item.startAt}} 到 {{item.endAt}}" />
  20. </i-cell-group>
  21. </view>
  22. <view wx:if="{{!isOpen}}" class="tc m20 p20">
  23. <text class="tc fc">还未开通高频题库</text>
  24. </view>
  25. </view>