brandlist.wxml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <!--筛选品牌模块-->
  2. <scroll-view
  3. class="brandw_c"
  4. style="{{selectbar=='brand'?'left:0rpx;':''}}"
  5. scroll-into-view ="{{scrolltoinit}}"
  6. bindscroll="brandScroll"
  7. scroll-y=true
  8. >
  9. <view
  10. style="height:{{headerheight}}rpx;"
  11. ></view>
  12. <view
  13. class="brandw_title"
  14. style="height:{{headerheight}}rpx;"
  15. >
  16. <image
  17. class="brandw_back"
  18. src="../../img/back.png"
  19. bindtap="filterBack"
  20. />
  21. <view class="brandw_title_w">品牌</view>
  22. </view>
  23. <view class="brandw_list">
  24. <view class="brandw_t_line">热门品牌</view>
  25. <view class="brandw_hotlist">
  26. <view class="brandw_hotlist_item">
  27. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  28. <view class="brandw_hotitem_name">11111</view>
  29. </view>
  30. <view class="brandw_hotlist_item">
  31. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  32. <view class="brandw_hotitem_name">11111</view>
  33. </view>
  34. <view class="brandw_hotlist_item">
  35. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  36. <view class="brandw_hotitem_name">11111</view>
  37. </view>
  38. <view class="brandw_hotlist_item">
  39. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  40. <view class="brandw_hotitem_name">11111</view>
  41. </view>
  42. <view class="brandw_hotlist_item">
  43. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  44. <view class="brandw_hotitem_name">11111</view>
  45. </view>
  46. <view class="brandw_hotlist_item">
  47. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  48. <view class="brandw_hotitem_name">11111</view>
  49. </view>
  50. <view class="brandw_hotlist_item">
  51. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  52. <view class="brandw_hotitem_name">11111</view>
  53. </view>
  54. <view class="brandw_hotlist_item">
  55. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  56. <view class="brandw_hotitem_name">11111</view>
  57. </view>
  58. <view class="brandw_hotlist_item">
  59. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  60. <view class="brandw_hotitem_name">11111</view>
  61. </view>
  62. <view class="brandw_hotlist_item">
  63. <view class="brandw_hotitem_img" style="background-image:url(../../img/brand.png)"></view>
  64. <view class="brandw_hotitem_name">11111</view>
  65. </view>
  66. </view>
  67. <view class="brandw_t_line">不限品牌</view>
  68. <block wx:for="{{wheres.brandlist}}" wx:key="initial">
  69. <view class="brandw_binitial" id="{{item.initial}}">
  70. {{item.initial}}
  71. </view>
  72. <block wx:for="{{item.list}}" wx:for-item="branditem" wx:key="brand_id">
  73. <view
  74. class="brandw_bitem"
  75. bindtap="getBrandDetail"
  76. data-brand="{{branditem}}"
  77. >
  78. <view
  79. class="brandw_bimg"
  80. style="background-image:url(../../img/brand.png)"
  81. />
  82. <view class="brandw_bname">{{branditem.brand_name}}</view>
  83. </view>
  84. </block>
  85. </block>
  86. <scroll-view
  87. class="brand_serieslist"
  88. scroll-y=true
  89. style="height: {{windowh-headerheight}}rpx; {{serieslist?'right:0rpx;':''}}"
  90. >
  91. <view class="series_lelong">
  92. <view
  93. class="series_lelong_bimg"
  94. style="background-image:url(../../img/brand.png)"
  95. />
  96. <!-- serieslist.belong.img -->
  97. <view class="series_lelong_name">{{serieslist.belong.brand_name}}</view>
  98. </view>
  99. <view class="car_series_t">选择车系</view>
  100. <block
  101. wx:for="{{serieslist.list}}"
  102. wx:key="car_series_id"
  103. >
  104. <view
  105. class="brand_series_i"
  106. bindtap="selectSeries"
  107. data-series = "{{item}}"
  108. >
  109. <view
  110. class="brand_series_bimg"
  111. style="background-image:url(../../img/brand.png)"
  112. />
  113. <view class="brand_series_name">{{item.car_series_name}}</view>
  114. </view>
  115. </block>
  116. </scroll-view>
  117. <view
  118. class="brand_initail_c"
  119. style="display: {{selectbar=='brand'?'block':'none'}}"
  120. >
  121. <view
  122. class="brand_initail_i {{scrollinit==item.initial?'brand_initail_active':''}}"wx:for="{{wheres.brandlist}}"
  123. wx:key="initial"
  124. style="height:{{initialheight}}rpx"
  125. bindtap="scrollInit"
  126. data-init = "{{item.initial}}"
  127. >
  128. {{item.initial}}
  129. </view>
  130. </view>
  131. </view>
  132. </scroll-view>