index.wxml 1.3 KB

12345678910111213141516171819202122232425262728
  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='点击搜索商品'
  7. placeholder-class='placeholder' bindinput="setValue" bindconfirm="searchBut"></input>
  8. </view>
  9. <view class='bnt' bindtap='searchBut'>搜索</view>
  10. </view>
  11. <view class='title'>热门搜索</view>
  12. <view class='list acea-row'>
  13. <block wx:for="{{hotSearchList}}" wx:key='index'>
  14. <view class='item' bindtap='setHotSearchValue' data-item="{{item}}">{{item}}</view>
  15. </block>
  16. </view>
  17. <view class='line'></view>
  18. <goodList bastList="{{bastList}}" wx:if="{{bastList.length > 0}}"></goodList>
  19. <view class='loadingicon acea-row row-center-wrapper' wx:if='{{bastList.length > 0}}'>
  20. <text class='loading iconfont icon-jiazai' hidden='{{loading==false}}'></text>{{loadTitle}}
  21. </view>
  22. </view>
  23. <view class='noCommodity'>
  24. <view class='pictrue' wx:if="{{bastList.length == 0}}">
  25. <image src='/images/noSearch.png'></image>
  26. </view>
  27. <recommend host_product='{{host_product}}' wx:if="{{bastList.length == 0 && page > 1}}"></recommend>
  28. </view>