index.wxml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <view class="business-info">
  2. <view
  3. class="box">
  4. <van-icon
  5. custom-class="business-name-icon"
  6. name="manager" />
  7. <view
  8. class="value">供应商名称:{{shopDetail.user_name}}
  9. </view>
  10. </view>
  11. <view
  12. class="box"
  13. bind:tap="openLocationBridge"
  14. wx:if="{{!!shopDetail.shop_address.address_name}}">
  15. <image
  16. class="label"
  17. src="../../image/common/location.png"></image>
  18. <view
  19. class="value">地址:{{shopDetail.shop_address.address_name}}{{shopDetail.shop_address.name}}
  20. </view>
  21. <image
  22. class="arrow"
  23. src="../../image/common/arrow_2.png"></image>
  24. </view>
  25. <view
  26. class="box tel"
  27. bind:tap="showActionSheet">
  28. <image
  29. class="label"
  30. src="../../image/common/tel.png"></image>
  31. <view
  32. class="value">手机:{{shopDetail.shop_phone}}
  33. </view>
  34. <image
  35. class="arrow"
  36. src="../../image/common/arrow_2.png"></image>
  37. </view>
  38. <block wx:if="{{!!shopDetail.user_code_url}}">
  39. <view class="qrcode">
  40. <image
  41. class="code"
  42. src="{{shopDetail.user_code_url}}"
  43. show-menu-by-longpress="{{true}}"></image>
  44. </view>
  45. <view class="tip">长按扫码,添加微信</view>
  46. </block>
  47. </view>
  48. <van-action-sheet
  49. show="{{ booShow }}"
  50. actions="{{ actions }}"
  51. cancel-text="取消"
  52. description="{{shopDetail.shop_phone}}可能是一个电话号码,你可以"
  53. bind:cancel="hideActionSheet"
  54. bind:select="onSelect"
  55. />