|
@@ -1,11 +1,8 @@
|
|
|
<!--筛选品牌模块-->
|
|
|
<!-- style="{{selectbar=='brand'?'left:0rpx;':''}}" -->
|
|
|
-<scroll-view
|
|
|
+<view
|
|
|
class="brandw_c"
|
|
|
- scroll-into-view ="{{scrolltoinit}}"
|
|
|
style="{{show?'left:0rpx;':''}}"
|
|
|
- bindscroll="brandScroll"
|
|
|
- scroll-y=true
|
|
|
>
|
|
|
<view
|
|
|
style="height:{{headerheight}}rpx;"
|
|
@@ -21,47 +18,53 @@
|
|
|
/>
|
|
|
<view class="brandw_title_w">品牌</view>
|
|
|
</view>
|
|
|
- <view class="brandw_list">
|
|
|
- <view class="brandw_t_line">热门品牌</view>
|
|
|
- <view class="brandw_hotlist">
|
|
|
- <block wx:for="{{brandrecommend}}" wx:key="brand_id">
|
|
|
- <view
|
|
|
- class="brandw_hotlist_item"
|
|
|
- bindtap="getBrandDetail"
|
|
|
- data-id="{{item.brand_id}}"
|
|
|
- data-img="{{item.brand_img}}"
|
|
|
- data-name="{{item.brand_name}}"
|
|
|
- >
|
|
|
- <view class="brandw_hotitem_img" style="background-image:url({{item.brand_img}})"></view>
|
|
|
- <view class="brandw_hotitem_name">{{item.brand_name}}</view>
|
|
|
- </view>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="brandw_t_line">不限品牌</view>
|
|
|
- <block wx:for="{{brandlist}}" wx:key="initial">
|
|
|
- <view class="brandw_binitial" id="{{item.initial}}">
|
|
|
- {{item.initial}}
|
|
|
+ <scroll-view
|
|
|
+ bindscroll="brandScroll"
|
|
|
+ scroll-y=true
|
|
|
+ style="height: {{windowh-headerheight}}rpx"
|
|
|
+ scroll-into-view ="{{scrolltoinit}}"
|
|
|
+ >
|
|
|
+ <view class="brandw_list">
|
|
|
+ <view class="brandw_t_line">热门品牌</view>
|
|
|
+ <view class="brandw_hotlist">
|
|
|
+ <block wx:for="{{brandrecommend}}" wx:key="brand_id">
|
|
|
+ <view
|
|
|
+ class="brandw_hotlist_item"
|
|
|
+ bindtap="getBrandDetail"
|
|
|
+ data-id="{{item.brand_id}}"
|
|
|
+ data-img="{{item.brand_img}}"
|
|
|
+ data-name="{{item.brand_name}}"
|
|
|
+ >
|
|
|
+ <view class="brandw_hotitem_img" style="background-image:url({{item.brand_img}})"></view>
|
|
|
+ <view class="brandw_hotitem_name">{{item.brand_name}}</view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
- <block wx:for="{{item.list}}" wx:for-item="branditem" wx:key="brand_id">
|
|
|
- <view
|
|
|
- class="brandw_bitem"
|
|
|
- bindtap="getBrandDetail"
|
|
|
- data-id="{{branditem.brand_id}}"
|
|
|
- data-img="{{branditem.img}}"
|
|
|
- data-name="{{branditem.brand_name}}"
|
|
|
- >
|
|
|
- <view
|
|
|
- class="brandw_bimg"
|
|
|
- style="background-image:url({{branditem.img}})"
|
|
|
- />
|
|
|
- <view class="brandw_bname">{{branditem.brand_name}}</view>
|
|
|
+
|
|
|
+ <view class="brandw_t_line">不限品牌</view>
|
|
|
+ <block wx:for="{{brandlist}}" wx:key="initial">
|
|
|
+ <view class="brandw_binitial" id="{{item.initial}}">
|
|
|
+ {{item.initial}}
|
|
|
</view>
|
|
|
+ <block wx:for="{{item.list}}" wx:for-item="branditem" wx:key="brand_id">
|
|
|
+ <view
|
|
|
+ class="brandw_bitem"
|
|
|
+ bindtap="getBrandDetail"
|
|
|
+ data-id="{{branditem.brand_id}}"
|
|
|
+ data-img="{{branditem.img}}"
|
|
|
+ data-name="{{branditem.brand_name}}"
|
|
|
+ >
|
|
|
+ <view
|
|
|
+ class="brandw_bimg"
|
|
|
+ style="background-image:url({{branditem.img}})"
|
|
|
+ />
|
|
|
+ <view class="brandw_bname">{{branditem.brand_name}}</view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
</block>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
-
|
|
|
-</scroll-view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+</view>
|
|
|
|
|
|
<scroll-view
|
|
|
class="brand_serieslist"
|