partner.wxml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <view class="wrapper">
  2. <view class="app_page-header-search">
  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. class="leaving-a-message"
  16. bind:tap="jumpLeavingAMessage" wx:if="{{false}}">
  17. <image src="../../image/common/message@2x.png"></image>
  18. <view>8</view>
  19. </view>
  20. </view>
  21. <view class="main">
  22. <view
  23. class="list"
  24. wx:for="{{listData}}"
  25. wx:key="id"
  26. data-item="{{item}}"
  27. bind:tap="jumpBusinessDetail">
  28. <view class="top">
  29. <view class="photo-wrap">
  30. <image src="{{item.shop_img_url}}"></image>
  31. </view>
  32. <view class="name-wrap">
  33. <view class="name">{{item.shop_name}}</view>
  34. <view class="abstract">{{item.shop_product_count}}商品 {{item.shop_follow_num}}人关注</view>
  35. </view>
  36. <button class="btn" type="default">查看详情</button>
  37. </view>
  38. <view class="phone">
  39. <view class="label">电话:</view>
  40. <view class="value">{{item.shop_phone}}</view>
  41. </view>
  42. <view class="wechat">
  43. <view class="label">微信:</view>
  44. <view class="value">{{item.user_wechat_code}}</view>
  45. </view>
  46. <view class="adress">
  47. <text class="label">地址:</text>
  48. <text class="value">{{item.shop_address.address_name}}{{item.shop_address.name}}</text>
  49. </view>
  50. </view>
  51. <!-- 无数据 -->
  52. <view class="list-bitmap" wx:if="{{finished && listData.length < 1}}">
  53. <image src="../../image/common/bitmap.png"></image>
  54. <text>暂无数据</text>
  55. </view>
  56. <view class="pullup-wrapper" wx:if="{{!isRefresh}}">
  57. <van-loading
  58. wx:if="{{!finished}}"
  59. size="24px"
  60. type="spinner">加载中...
  61. </van-loading>
  62. </view>
  63. </view>
  64. </view>
  65. <!--自定义tabbar页面被遮挡-->
  66. <view style="padding-bottom:25%;"></view>