more.wxml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <!-- 更多筛选条件 -->
  2. <view
  3. class="more_c"
  4. style="{{selectbar=='more'?'left:0rpx;':''}}"
  5. >
  6. <view
  7. style="height:{{headerheight}}rpx;"
  8. ></view>
  9. <view
  10. class="brandw_title"
  11. style="height:{{headerheight}}rpx;"
  12. >
  13. <view
  14. class="brandw_back"
  15. bindtap="filterBack">
  16. <image
  17. src="../../img/back.png"/>
  18. </view>
  19. <view class="brandw_title_w">更多筛选</view>
  20. </view>
  21. <page-scroll
  22. styleSheet="height:{{contentheight}}px;"
  23. scroll-y=true
  24. >
  25. <view class="wheres_more_i">
  26. <view class="more_n">车龄</view>
  27. <view class="more_list">
  28. <view
  29. class="more_detail_i {{searchdata.car_age==''?'more_detail_active':''}}"
  30. data-type="car_age"
  31. data-value=""
  32. bindtap="getMoreFilter"
  33. >不限</view>
  34. <view
  35. wx:for="{{wheres.car_age}}"
  36. wx:key="car_age_id"
  37. class="more_detail_i {{searchdata.car_age==item.car_age_id?'more_detail_active':''}}"
  38. data-type="car_age"
  39. data-value="{{item.car_age_id}}"
  40. bindtap="getMoreFilter"
  41. >
  42. {{item.car_age_name}}
  43. </view>
  44. </view>
  45. </view>
  46. <view class="wheres_more_i">
  47. <view class="more_n">里程</view>
  48. <view class="more_list">
  49. <view
  50. class="more_detail_i {{searchdata.mileage==''?'more_detail_active':''}}"
  51. data-type="mileage"
  52. data-value=""
  53. bindtap="getMoreFilter"
  54. >不限</view>
  55. <view
  56. wx:for="{{wheres.mileage}}"
  57. wx:key="mileage_id"
  58. class="more_detail_i {{searchdata.mileage==item.mileage_id?'more_detail_active':''}}"
  59. data-type="mileage"
  60. data-value="{{item.mileage_id}}"
  61. bindtap="getMoreFilter"
  62. >
  63. {{item.mileage_name}}
  64. </view>
  65. </view>
  66. </view>
  67. <view class="wheres_more_i">
  68. <view class="more_n">变数箱</view>
  69. <view class="more_list">
  70. <view
  71. class="more_detail_i {{searchdata.transmission==''?'more_detail_active':''}}"
  72. data-type="transmission"
  73. data-value=""
  74. bindtap="getMoreFilter"
  75. >不限</view>
  76. <view
  77. wx:for="{{wheres.transmission}}"
  78. wx:key="transmission_id"
  79. class="more_detail_i {{searchdata.transmission==item.transmission_id?'more_detail_active':''}}"
  80. data-type="transmission"
  81. data-value="{{item.transmission_id}}"
  82. bindtap="getMoreFilter"
  83. >
  84. {{item.transmission_name}}
  85. </view>
  86. </view>
  87. </view>
  88. <view class="wheres_more_i">
  89. <view class="more_n">排量</view>
  90. <view class="more_list">
  91. <view
  92. class="more_detail_i {{searchdata.displacement==''?'more_detail_active':''}}"
  93. data-type="displacement"
  94. data-value=""
  95. bindtap="getMoreFilter"
  96. >不限</view>
  97. <view
  98. wx:for="{{wheres.displacement}}"
  99. wx:key="displacement_id"
  100. class="more_detail_i {{searchdata.displacement==item.displacement_id?'more_detail_active':''}}"
  101. data-type="displacement"
  102. data-value="{{item.displacement_id}}"
  103. bindtap="getMoreFilter"
  104. >
  105. {{item.displacement_name}}
  106. </view>
  107. </view>
  108. </view>
  109. <view class="wheres_more_i">
  110. <view class="more_n">排放标准</view>
  111. <view class="more_list">
  112. <view
  113. class="more_detail_i {{searchdata.emission==''?'more_detail_active':''}}"
  114. data-type="emission"
  115. data-value=""
  116. bindtap="getMoreFilter"
  117. >不限</view>
  118. <view
  119. wx:for="{{wheres.emission}}"
  120. wx:key="emission_id"
  121. class="more_detail_i {{searchdata.emission==item.emission_id?'more_detail_active':''}}"
  122. data-type="emission"
  123. data-value="{{item.emission_id}}"
  124. bindtap="getMoreFilter"
  125. >
  126. {{item.emission_name}}
  127. </view>
  128. </view>
  129. </view>
  130. <view class="wheres_more_i">
  131. <view class="more_n">颜色</view>
  132. <view class="more_list">
  133. <view
  134. wx:for="{{wheres.colour}}"
  135. wx:key="colour_id"
  136. class="more_detail_i {{searchdata.colour==item.colour_id?'more_detail_active':''}}"
  137. data-type="colour"
  138. data-value="{{item.colour_id}}"
  139. bindtap="getMoreFilter"
  140. >
  141. <image wx:if="{{item.colour_id!=15}}" src="../../img/{{item.colour_id}}.png"/>
  142. {{item.colour_name}}
  143. </view>
  144. </view>
  145. </view>
  146. <view
  147. style="height:{{morebtheight}}rpx"
  148. class="more_bts_space"></view>
  149. </page-scroll>
  150. <view
  151. style="height:{{morebtheight}}rpx"
  152. class="more_bts">
  153. <view
  154. class="more_bt_reset"
  155. bindtap="resetFilter"
  156. >重置</view>
  157. <view
  158. bindtap="moreSearch"
  159. class="more_bt_check"
  160. >查看车源</view>
  161. </view>
  162. </view>