collection.wxml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <view class="wrapper">
  2. <view class="app_page-header-search margin-bottom-20">
  3. <view class="app_page-header-search-warp app_width-690">
  4. <label for="header-search">
  5. <image src="../../image/common/search@2x.png"></image>
  6. </label>
  7. <input
  8. placeholder-class="app_header-search-placeholder"
  9. value="{{searchForm.key_words}}"
  10. placeholder="搜索信息"
  11. data-formkey="key_words"
  12. bind:input="handleKeyWords"></input>
  13. </view>
  14. </view>
  15. <customer-tab
  16. nav="{{nav}}"
  17. active="{{active}}"
  18. bind:change="handleNav"/>
  19. <view
  20. class="main"
  21. hidden="{{active === '2'}}">
  22. <goods-item-normal
  23. listData="{{listData}}"/>
  24. </view>
  25. <view
  26. class="main"
  27. hidden="{{active === '1'}}">
  28. <business-item-normal
  29. listData="{{listData}}"/>
  30. </view>
  31. <!-- 无数据 -->
  32. <view class="list-bitmap" wx:if="{{finished && listData.length < 1}}">
  33. <image src="../../image/common/bitmap.png"></image>
  34. <text>暂无数据</text>
  35. </view>
  36. <view
  37. class="pullup-wrapper"
  38. wx:if="{{!isRefresh}}">
  39. <van-loading
  40. wx:if="{{!finished}}"
  41. size="24px"
  42. type="spinner">加载中...
  43. </van-loading>
  44. </view>
  45. </view>