|
@@ -2,21 +2,26 @@
|
|
|
<import src="../../module/header.wxml"/>
|
|
|
<import src="../../module/footer.wxml"/>
|
|
|
<import src="../../module/caritem/caritem.wxml"/>
|
|
|
-<scroll-view
|
|
|
- class="conent"
|
|
|
- style="height:{{windowh}}rpx;"
|
|
|
+<template
|
|
|
+ is="header"
|
|
|
+ data="{{title:'我要买车',headerheight:headerheight}}"
|
|
|
+/>
|
|
|
+<include src="../../module/search/search.wxml"/>
|
|
|
+<page-scroll
|
|
|
+ className="conent"
|
|
|
+ styleSheet="height:{{windowh-headerheight-topsearchheight}}rpx;"
|
|
|
scroll-y="{{selectbar==''?'true':'false'}}"
|
|
|
- bindscrolltolower="{{hasloadall?'':'loadListMore'}}"
|
|
|
+ bind:topheight="lockFilter"
|
|
|
+ bind:scrolltolower="{{hasloadall?'':'loadListMore'}}"
|
|
|
>
|
|
|
- <template
|
|
|
- is="header"
|
|
|
- data="{{title:'我要买车',headerheight:headerheight}}"
|
|
|
- />
|
|
|
- <include src="../../module/search/search.wxml"/>
|
|
|
- <view class="filter_space"></view>
|
|
|
-
|
|
|
+ <view
|
|
|
+ class="filter_space"
|
|
|
+ ></view>
|
|
|
<!--筛选模块-->
|
|
|
- <view class="filter_c">
|
|
|
+ <view
|
|
|
+ class="filter_c"
|
|
|
+ style="{{filterlock?'position: absolute; top:0rpx':'position: fixed; top:206rpx;'}}"
|
|
|
+ >
|
|
|
<view class="filter_nav">
|
|
|
<block wx:for="{{filters}}" wx:key="name">
|
|
|
<view
|
|
@@ -30,18 +35,13 @@
|
|
|
<image src="../../img/sortby.png" class="filter_nav_switch"/>
|
|
|
</view>
|
|
|
</block>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
<!--筛选排序模块-->
|
|
|
<include src="./sort.wxml"/>
|
|
|
-
|
|
|
+
|
|
|
<!--筛选价格模块-->
|
|
|
<include src="./pricespace.wxml"/>
|
|
|
-
|
|
|
</view>
|
|
|
- <!--筛选品牌模块-->
|
|
|
- <include src="./brandlist.wxml"/>
|
|
|
- <!-- 更多筛选条件 -->
|
|
|
- <include src="./more.wxml"/>
|
|
|
<view wx:if="{{!list}}"></view>
|
|
|
<view wx:if="{{list.length>0}}" class="cart_list">
|
|
|
<block wx:for="{{list}}" wx:key="id">
|
|
@@ -64,6 +64,10 @@
|
|
|
</view>
|
|
|
<template
|
|
|
is="footer"
|
|
|
- data="{{local:1}}"
|
|
|
+ data="{{local:1,footerheight:footerheight}}"
|
|
|
/>
|
|
|
-</scroll-view>
|
|
|
+</page-scroll>
|
|
|
+<!--筛选品牌模块-->
|
|
|
+<include src="./brandlist.wxml"/>
|
|
|
+<!-- 更多筛选条件 -->
|
|
|
+<include src="./more.wxml"/>
|