index.wxml 1.2 KB

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