goodsAllList.wxml 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <!--goodsAllLiat.wxml 所有商品列表 -->
  2. <scroll-view class="container" >
  3. <!-- 顶部导航栏 -->
  4. <!-- <view class="header_nav_wrap">
  5. <view class="each_nav_wrap">
  6. <view data-id="0" class="header_nav_title nav_item_active" bindtap="tagChoose">所有商品</view>
  7. </view>
  8. </view> -->
  9. <view class="header_nav_wrap">
  10. <view class="header_nav">
  11. <!-- 送礼场景 - 送礼价钱筛选 -->
  12. <view class='condition_one'>
  13. <block wx:for="{{conditionTab}}" wx:key="index" wx:for-index="i">
  14. <view class='condition_each_nav' data-id='{{i}}' data-flagid="{{item.id}}" bindtap='objectType'>
  15. <view class='condition_title {{selectId == i ? "condition_title_active" : ""}}'>{{item.scene_name}}</view>
  16. <block wx:if="{{i < (conditionTab.length-1)}}">
  17. <view class='right_line'></view>
  18. </block>
  19. </view>
  20. </block>
  21. </view>
  22. <!-- 送礼场景 - 送礼用途筛选 -->
  23. <view class='condition_two'>
  24. <view class='condition_each_nav' data-flag="1" data-id="{{priceId}}" bindtap='priceChange'>
  25. <text class='condition_title'>价钱</text>
  26. <image src='{{priceIcon}}' class='sort_icon'></image>
  27. <view class='right_line'></view>
  28. </view>
  29. <view class='condition_each_nav' data-flag="2" data-id="{{countId}}" bindtap='priceChange'>
  30. <text class='condition_title'>销量</text>
  31. <image src='{{countIcon}}' class='sort_icon'></image>
  32. <view class='right_line'></view>
  33. </view>
  34. <view class='condition_each_nav' data-flag="3" data-id="{{orderId}}" bindtap='priceChange'>
  35. <text class='condition_title'>起订量</text>
  36. <image src='{{orderIcon}}' class='sort_icon'></image>
  37. <view class='right_line'></view>
  38. </view>
  39. <view class='condition_each_nav' data-flag="4" data-id="{{cycleId}}" bindtap='priceChange'>
  40. <text class='condition_title'>定制周期</text>
  41. <image src='{{cycleIcon}}' class='sort_icon'></image>
  42. </view>
  43. <!-- <block wx:for="{{conditionTab2}}" wx:key="index" wx:for-index="i">
  44. <view class='condition_each_nav' data-id='{{i}}' data-flagid="{{item.id}}" bindtap='filtrateWay'>
  45. <view class='condition_icon {{selectTwoId == i ? "condition_icon_active" : ""}}'></view>
  46. <view class='condition_title {{selectTwoId == i ? "condition_title_active" : ""}}'>{{item.scene_name}}</view>
  47. </view>
  48. </block> -->
  49. </view>
  50. </view>
  51. </view>
  52. <swiper class="tab-content" data-forname="{{contentList.classify_name}}" current="{{currentTab}}" duration="300" style="height:{{winHeight}}rpx">
  53. <swiper-item >
  54. <scroll-view scroll-y class="scoll-h" bindscrolltolower="searchScrollLower">
  55. <view class="list">
  56. <!-- 标题 -->
  57. <view class="content_title_wrap" wx:if="{{classify_des}}">
  58. <view class="title_line"></view>
  59. <view class="title_contemt">{{classify_des}}</view>
  60. </view>
  61. <block wx:for="{{contentList}}" wx:key="{{index}}">
  62. <navigator url="/pages/buy/buy?com_id={{item.id}}" class="list_item_wrap">
  63. <view class="list_item">
  64. <image src="{{item.commodity_logo}}" class="full_image" mode="widthFix"/>
  65. <!-- <view class="full_img_footer">{{item.commodity_des}}</view> -->
  66. </view>
  67. <view class="full_title">{{item.commodity_name}}</view>
  68. <view class="full_price">¥ {{item.commodity_sale}} <text class='full_price_unit' decode="true">&nbsp;&nbsp;¥{{item.commodity_cost}}&nbsp;&nbsp;</text></view>
  69. </navigator>
  70. </block>
  71. </view>
  72. <view class="loading" hidden="{{!searchLoading}}">正在载入更多...</view>
  73. <view class="loading complete" hidden="{{!searchLoadingComplete}}">已加载全部</view>
  74. </scroll-view>
  75. </swiper-item>
  76. </swiper>
  77. </scroll-view>