searchList.wxml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <view class="header_fixed">
  2. <!-- 头部搜索 -->
  3. <view class="header-search">
  4. <view class="header_search_wrap">
  5. <view class="header_search">
  6. <icon type="search" size="12" color="#929aa0" class="header_search_icon"></icon>
  7. <input type="text" class="header_search_placeholder" bindblur="searResult" focus="true" confirm-type="search" placeholder="输入搜索关键字" placeholder-style="padding-left:5rpx;color: #929aa0;font-family:'Microsoft Yahei';" />
  8. </view>
  9. </view>
  10. <view class="cancel_btn" bindtap="cancelVal">取消</view>
  11. </view>
  12. </view>
  13. <view class="list">
  14. <view class='goods-listType2 mar-t20'>
  15. <view class='f-box f-flex-wrap f-justify-content-between'>
  16. <view class='goods-list' wx:for="{{contentList}}" data-id='{{item.id}}' bindtap='toGoodsDetail'>
  17. <image src='{{item.commodity_logo}}' class='goods-img' mode='aspectFit'></image>
  18. <!-- <view class='goods-summary'></view> -->
  19. <view class='goods-title'>{{item.commodity_name}}</view>
  20. <view class='f-box'>
  21. <view wx:if="{{item.commodity_channel_price && loginStatic}}" class='c-theme'>¥{{item.commodity_channel_price}}</view>
  22. <view class='c-theme f-item {{item.commodity_channel_price && loginStatic ? "price-cancel" : ""}}'>¥{{item.commodity_sale}}</view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. <data-none wx:if="{{contentList.length === 0}}"></data-none>
  29. <divider wx:if="{{!requestState && page !=0}}"></divider>