index.wxml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <view wx:if="{{ detail.shop_id }}" class="container">
  2. <view class="header">
  3. <view class="shop-logo">
  4. <image src="{{ detail.logo.file_path }}"></image>
  5. </view>
  6. <view class="shop-name">
  7. <text>{{ detail.shop_name }}</text>
  8. </view>
  9. <view wx:if="{{ detail.summary }}" class="shop-summary dis-flex">
  10. <text>门店简介:{{ detail.summary }}</text>
  11. </view>
  12. </view>
  13. <view class="content">
  14. <view class="content-item dis-flex flex-y-center">
  15. <view class="content-item__icon dis-flex">
  16. <text class="iconfont icon-shijian"></text>
  17. </view>
  18. <view class="content-item__text flex-box dis-flex">
  19. <text class="f-26">{{ detail.shop_hours }}</text>
  20. </view>
  21. </view>
  22. <view catchtap="onOpenLocation" class="content-item dis-flex flex-y-center">
  23. <view class="content-item__icon dis-flex">
  24. <text class="iconfont icon-dingwei"></text>
  25. </view>
  26. <view class="content-item__text flex-box dis-flex">
  27. <text class="f-26">{{detail.region.province}}{{detail.region.city}}{{detail.region.region}}{{detail.address}}</text>
  28. </view>
  29. <view class="content-item__arrow dis-flex">
  30. <text class="iconfont icon-xiangyoujiantou user-orderJtou"></text>
  31. </view>
  32. </view>
  33. <view catchtap="onMakePhoneCall" class="content-item dis-flex flex-y-center">
  34. <view class="content-item__icon dis-flex">
  35. <text class="iconfont icon-dianhua"></text>
  36. </view>
  37. <view class="content-item__text flex-box dis-flex">
  38. <text class="f-26">{{ detail.phone }}</text>
  39. </view>
  40. <view class="content-item__arrow dis-flex">
  41. <text class="iconfont icon-xiangyoujiantou user-orderJtou"></text>
  42. </view>
  43. </view>
  44. </view>
  45. </view>