goodcar.wxml 847 B

1234567891011121314151617181920212223242526272829303132
  1. <template name="goodcar">
  2. <navigator
  3. open-type="navigate"
  4. url="../hot/hot"
  5. class="goodcar">
  6. <image
  7. class="goodcar_t"
  8. src="../../img/goodcar.png"
  9. />
  10. <swiper
  11. class='banner_g'
  12. autoplay='true'
  13. interval='2000'
  14. duration='300'
  15. vertical='true'
  16. display-multiple-items='2'
  17. circular='true'
  18. >
  19. <block wx:for="{{goodcars}}" wx:key="key">
  20. <swiper-item>
  21. <view class="goodcar_item">
  22. <block wx:for="{{item.labels}}" wx:for-item="good" wx:key="{{index}}">
  23. <view class="goodcar_item_label">{{good}}</view>
  24. </block>
  25. <view class="goodcar_item_t">{{item.title}}</view>
  26. </view>
  27. </swiper-item>
  28. </block>
  29. </swiper>
  30. <view class="prevent_move"></view>
  31. </navigator>
  32. </template>