index.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <view class="nav-blue">
  2. </view>
  3. <view class="coursel">
  4. <swiper class='indexSwiper' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}"
  5. duration="{{duration}}" bindchange="swiperChange" circular='true'>
  6. <block wx:for="{{imgUrls}}" wx:key='index'>
  7. <swiper-item>
  8. <image src="{{item}}" class="slide-image" />
  9. </swiper-item>
  10. </block>
  11. </swiper>
  12. <view class="dots">
  13. <block wx:for="{{imgUrls}}" wx:key="unique">
  14. <view class="dot{{index == swiperCurrent ? ' active' : ''}}"></view>
  15. </block>
  16. </view>
  17. </view>
  18. <!-- <ad unit-id="adunit-7cfbe6afa1f6b0d3"></ad> -->
  19. <!-- <view class="f-header m-t">
  20. <image src="/assets/h1.png"></image>
  21. <view class="tit-box">
  22. <text class="tit">业务选择</text>
  23. <text class="tit2">items</text>
  24. </view>
  25. </view> -->
  26. <view>
  27. <i-cell-group>
  28. <i-cell wx:for="{{tableData}}"
  29. data-item="item"
  30. wx:key="postId"
  31. title="{{item.title}}"
  32. is-link
  33. url="/pages/post/post?postId={{item.postId}}"
  34. label="{{item.publishTime}}"
  35. />
  36. </i-cell-group>
  37. </view>
  38. <view wx:if="{{from==-1}}" style="text-align:center;margin-top:40rpx">
  39. <view class="padding">没有更多了</view>
  40. </view>
  41. <view class="cu-tabbar-height"> </view>