1234567891011121314151617181920212223242526272829303132 |
- <template name="goodcar">
- <navigator
- open-type="navigate"
- url="../hot/hot"
- class="goodcar">
- <image
- class="goodcar_t"
- src="../../img/goodcar.png"
- />
- <swiper
- class='banner_g'
- autoplay='true'
- interval='2000'
- duration='300'
- vertical='true'
- display-multiple-items='2'
- circular='true'
- >
- <block wx:for="{{goodcars}}" wx:key="key">
- <swiper-item>
- <view class="goodcar_item">
- <block wx:for="{{item.labels}}" wx:for-item="good" wx:key="{{index}}">
- <view class="goodcar_item_label">{{good}}</view>
- </block>
- <view class="goodcar_item_t">{{item.title}}</view>
- </view>
- </swiper-item>
- </block>
- </swiper>
- <view class="prevent_move"></view>
- </navigator>
- </template>
|