123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <!--index.wxml-->
- <import src="../../module/header.wxml"/>
- <import src="../../module/footer.wxml"/>
- <import src="banner.wxml"/>
- <import src="goodcar.wxml"/>
- <import src="cardetail.wxml"/>
- <import src="../../module/caritem/caritem.wxml"/>
- <import src="../../module/search/search.wxml"/>
- <!-- <scroll-view
- class="conent"
- style="height:{{windowh}}rpx;"
- scroll-y="{{scrollsource.startdot&&scrollsource.distance>0?false:true}}"
- bindscroll=""
- > -->
- <template
- is="header"
- data="{{title:'第一好车',headerheight:headerheight}}"
- />
- <template
- is="search"
- data="{{keylist:[],topsearchheight:topsearchheight,searchshow:searchshow,searchfocus:searchfocus,windowh:windowh,brandrecommend:brandrecommend,headerheight:headerheight}}"
- />
- <!-- <include src="../../module/search/search.wxml"/> -->
- <page-scroll
- styleSheet="height:{{windowh-headerheight-topsearchheight}}rpx;"
- scroll-y="true"
- >
- <view class="content">
- <template is="banner" data="{{banner:banner}}"/>
- <view class="nav_list">
- <view class="nav_item">
- <navigator
- open-type="reLaunch"
- class="nav_item_link"
- url="../buy/buy">
- <view class="nav_item_img">
- <image src="../../img/home_buy.png"/>
- </view>
- <view class="nav_item_t">我要买车</view>
- </navigator>
- </view>
- <view class="nav_item">
- <navigator
- open-type="reLaunch"
- class="nav_item_link"
- url="../sell/sell">
- <view class="nav_item_img">
- <image src="../../img/home_sell.png"/>
- </view>
- <view class="nav_item_t">我要卖车</view>
- </navigator>
- </view>
- <view class="nav_item">
- <navigator
- open-type="navigate"
- class="nav_item_link"
- url="../evaluate/evaluate">
- <view class="nav_item_img">
- <image src="../../img/home_assess.png"/>
- </view>
- <view class="nav_item_t">我要估价</view>
- </navigator>
- </view>
- <view class="nav_item">
- <navigator
- open-type="navigate"
- class="nav_item_link"
- url="../loans/loans">
- <view class="nav_item_img">
- <image src="../../img/home_loan.png"/>
- </view>
- <view class="nav_item_t">我要贷款</view>
- </navigator>
- </view>
- </view>
- <template is="goodcar" data="{{goodcars:goodcars}}"/>
- <view class='brand'>
- <block wx:for="{{brandrecommend}}" wx:key="id">
- <view class="brand_item_b">
- <view class="brand_item">
- <navigator
- open-type="reLaunch"
- class="brand_item_link"
- url="../buy/buy?brand={{item.brand_id}}">
- <view class="brand_item_img" style="background-image:url({{item.brand_img}})"></view>
- <view class="brand_item_name">{{item.brand_name}}</view>
- </navigator>
- </view>
- </view>
- </block>
- </view>
- <navigator
- open-type="reLaunch"
- url="../buy/buy"
- class="brand_more">查看更多好车</navigator>
- <view class="recommend">
- <view class="recommend_t">
- <image class="recommend_img" src="../../img/recommend.png"/>
- <image class="recommend_w" src="../../img/recommend_w.png"/>
- <!-- <view class="recommend_w">RECOMMENDATIONS</view> -->
- </view>
- <view class="recommend_sw">
- <swiper
- class='recommend_list'
- autoplay='true'
- interval='3000'
- duration='300'
- bindchange='switchReTab'
- circular='true'
- >
- <block wx:for="{{recommended}}" wx:key="id">
- <swiper-item>
- <!-- <template is="caritem" data="{{car:item}}"/> -->
- <template is="cardetail" data="{{car:item}}"/>
- </swiper-item>
- </block>
- </swiper>
- <view class="recommended_tab">
- <block wx:for="{{recommended}}" wx:key="id">
- <view wx:if="{{item.selected}}" class='recommended_tab-item recommend_selected'></view>
- <view wx:else class="recommended_tab-item"></view>
- </block>
- </view>
- </view>
- </view>
- <view class="recommend">
- <view class="recommend_t">
- <image class="like_img" src="../../img/like.png"/>
- <image class="like_w" src="../../img/like_w.png"/>
- <!-- <view class="recommend_w">GUESS YOU LIKE</view> -->
- </view>
- </view>
- <view class="like_cart_c">
- <block wx:for="{{like}}" wx:key="id">
- <template is="caritem" data="{{car:item}}"/>
- </block>
- </view>
- <navigator
- open-type="reLaunch"
- url="../buy/buy"
- class="show_more">加载更多 <image src="../../img/right.png"/></navigator>
- <image class="bottom_banner" src="../../img/banner.png"></image>
- <template
- is="footer"
- data="{{local:0,footerheight:footerheight}}"
- />
- </view>
- </page-scroll>
|