partner.wxml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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
  31. mode="aspectFill"
  32. src="{{item.shop_img_url || '../../image/common/logo.png'}}"></image>
  33. </view>
  34. <view class="name-wrap">
  35. <view class="name">{{item.shop_name}}</view>
  36. <view class="abstract">{{item.shop_product_count}}商品 {{item.shop_follow_num}}人关注</view>
  37. </view>
  38. <button class="btn" type="default">查看详情</button>
  39. </view>
  40. <view class="phone">
  41. <view class="label">电话:</view>
  42. <view class="value">{{item.shop_phone}}</view>
  43. </view>
  44. <view class="wechat" wx:if="{{!!item.user_wechat_code}}">
  45. <view class="label">微信:</view>
  46. <view class="value">{{item.user_wechat_code}}</view>
  47. </view>
  48. <view class="adress" wx:if="{{!!item.shop_address.address_name}}">
  49. <text class="label">地址:</text>
  50. <text class="value">{{item.shop_address.address_name}}{{item.shop_address.name}}</text>
  51. </view>
  52. </view>
  53. <!-- 无数据 -->
  54. <view class="list-bitmap" wx:if="{{finished && listData.length < 1}}">
  55. <image src="../../image/common/bitmap.png"></image>
  56. <text>暂无数据</text>
  57. </view>
  58. <view class="pullup-wrapper" wx:if="{{!isRefresh}}">
  59. <van-loading
  60. wx:if="{{!finished}}"
  61. size="24px"
  62. type="spinner">加载中...
  63. </van-loading>
  64. </view>
  65. </view>
  66. </view>
  67. <!--自定义tabbar页面被遮挡-->
  68. <view style="padding-bottom:25%;"></view>