index.wxml 1.3 KB

12345678910111213141516171819202122232425
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class='searchGood'>
  3. <view class='search acea-row row-between-wrapper'>
  4. <view class='input acea-row row-between-wrapper'>
  5. <text class='iconfont icon-sousuo2'></text>
  6. <input type='text' value='{{searchValue}}' focus="{{focus}}" placeholder='点击搜索商品' placeholder-class='placeholder' bindinput="setValue"></input>
  7. </view>
  8. <view class='bnt' bindtap='searchBut'>搜索</view>
  9. </view>
  10. <view class='title'>热门搜索</view>
  11. <view class='list acea-row'>
  12. <block wx:for="{{hotSearchList}}" wx:key='index'>
  13. <view class='item' bindtap='setHotSearchValue' data-item="{{item}}">{{item}}</view>
  14. </block>
  15. </view>
  16. <view class='line'></view>
  17. <goodList bastList="{{bastList}}" wx:if="{{bastList.length > 0}}"></goodList>
  18. <view class='loadingicon acea-row row-center-wrapper' wx:if='{{bastList.length > 0}}'>
  19. <text class='loading iconfont icon-jiazai' hidden='{{loading==false}}'></text>{{loadTitle}}
  20. </view>
  21. </view>
  22. <view class='noCommodity'>
  23. <view class='pictrue' wx:if="{{bastList.length == 0}}"><image src='/images/noSearch.png'></image></view>
  24. <recommend host_product='{{host_product}}' wx:if="{{bastList.length == 0 && page > 1}}"></recommend>
  25. </view>