index.wxml 926 B

1234567891011121314151617181920212223242526272829303132333435
  1. <view
  2. class="item-info"
  3. wx:for="{{listData}}"
  4. wx:key="index"
  5. data-item="{{item}}"
  6. bindtap="jumpBusinessDetail">
  7. <view class="top">
  8. <view class="logo">
  9. <image
  10. mode="aspectFill"
  11. src="{{item.shop_img_url || '../../image/common/logo.png'}}"></image>
  12. </view>
  13. <view class="info">
  14. <view class="name">{{item.shop_name}}</view>
  15. <view class="goods-count">{{item.shop_product_count}}商品 {{item.shop_follow_num}}人关注</view>
  16. </view>
  17. <button
  18. class="btn-contact"
  19. type="default"
  20. data-item="{{item}}"
  21. catch:tap="handleContact">点击联系
  22. </button>
  23. </view>
  24. <view class="bottom">
  25. <button
  26. class="tel"
  27. type="default">电话:{{item.shop_phone}}
  28. </button>
  29. <button
  30. class="wechat"
  31. type="default"
  32. wx:if="{{!!item.user_wechat_code}}">微信:{{item.user_wechat_code}}
  33. </button>
  34. </view>
  35. </view>