1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <!--pages/buy/buy.wxml-->
- <import src="../../module/header.wxml"/>
- <import src="../../module/footer.wxml"/>
- <import src="../../module/caritem/caritem.wxml"/>
- <import src="../../module/search/search.wxml"/>
- <template
- is="header"
- data="{{title:'我要买车',headerheight:headerheight}}"
- />
- <template
- is="search"
- data="{{topsearchheight:topsearchheight,searchshow:searchshow,searchfocus:searchfocus,windowh:windowh,brandrecommend:brandrecommend,keys:searchdata.keys,keylist:keylist,headerheight:headerheight}}"
- />
- <view
- class="filter_space"
- ></view>
- <!--筛选模块-->
- <view
- class="filter_c"
- style="position: fixed; top:{{headerheight+topsearchheight-1}}rpx;"
- >
- <view class="filter_nav">
- <block wx:for="{{filters}}" wx:key="name">
- <view
- class="filter_nav_item {{selectbar==item.name?'filter_nav_item_active':''}}"
- bindtap="showFilter"
- data-name="{{item.name}}"
- >
- <view class="filter_nav_name">
- {{item.title}}
- </view>
- <image src="../../img/sortby.png" class="filter_nav_switch"/>
- <view class="filters_nav_line"></view>
- </view>
- </block>
- </view>
- <!--筛选排序模块-->
- <include src="./sort.wxml"/>
- <!--筛选价格模块-->
- <include src="./pricespace.wxml"/>
- </view>
- <page-scroll
- className="content"
- bgcolor="#F9F9F9"
- styleSheet="height:{{windowh-headerheight-topsearchheight-88}}rpx;"
- scroll-y="{{selectbar==''?'true':'false'}}"
- bind:topheight="lockFilter"
- bind:scrolltolower="{{hasloadall?'':'loadListMore'}}"
- >
- <view wx:if="{{!list}}"></view>
- <view wx:if="{{list.length>0}}" class="cart_list">
- <block wx:for="{{list}}" wx:key="id">
- <template is="caritem" data="{{car:item}}"/>
- </block>
- </view>
- <view wx:else class="you_may_like">
- <view class="nocar_w">没有相关结果,可以试试其他条件</view>
- <view
- bindtap="checkAll"
- class="nocar_back">查看所有好车</view>
- <view class="recommend">
- <view class="recommend_t">
- <image class="recommend_img" src="../../img/youmaylike.png"/>
- </view>
- </view>
- <view class="like_cart_c">
- <block wx:for="{{like}}" wx:key="id">
- <template is="caritem" data="{{car:item}}"/>
- </block>
- </view>
- </view>
- <view
- class="page_footer_place"
- style="height:{{footerheight}}rpx;"
- ></view>
- </page-scroll>
- <template
- is="footer"
- data="{{local:1,footerheight:footerheight}}"
- />
- <!--筛选品牌模块-->
- <brandlist
- brandrecommend = "{{brandrecommend}}"
- show="{{selectbar=='brand'?true:false}}"
- bind:close="closeBrandList"
- bind:select="selectSeries"
- />
- <!-- <include src="./brandlist.wxml"/> -->
- <!-- 更多筛选条件 -->
- <include src="./more.wxml"/>
|