抖音c端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
3.3 KiB

  1. <view class="components">
  2. <view class="header">
  3. <view class='applyshop'>{{"适用门店("+mallNum+"家)"}}</view>
  4. <!-- <image src="../../assets/itemImg/chevron.png" mode="widthFix" class="rightArrow">
  5. </image> -->
  6. <!-- <view class="goShop">{{'共'+mallNum+'家门店适用'}}</view> -->
  7. </view>
  8. <view tt:for="{{list}}" tt:for-index="index" tt:key="index" class="body">
  9. <view class="mall">
  10. <image class="img" src="../../assets/itemImg/merchantImgCover.png"></image>
  11. <view class="mallItem">
  12. <view class="title">{{item.mallName}}</view>
  13. </view>
  14. </view>
  15. <!-- 当商户数量不大于三个时 -->
  16. <view class="goExpand" catchtap="expandList" data-index="{{index}}">
  17. <view>
  18. <view>{{item.merchantVoList.length+'家门店适用'}}</view>
  19. <image tt:if="{{!item.expand}}" src="../../assets/itemImg/chevron.png" mode="widthFix"
  20. class="rightArrowDown">
  21. </image>
  22. <image tt:else src="../../assets/itemImg/chevron.png" mode="widthFix" class="rightArrowUp"></image>
  23. </view>
  24. </view>
  25. <!-- 当item.expand为true且商户数量不大于三个时 -->
  26. <view class="shop" tt:if="{{item.expand}}">
  27. <view class='posi' tt:for="{{item.merchantVoList}}" tt:key="index">
  28. <view class='posi_logo'>
  29. <view bindtap='gotoDetail' data-id='{{item.id}}' data-tenantId='{{item.tenantId}}'>
  30. <image src='{{item.merchantImgUrl}}'></image>
  31. </view>
  32. <view bindtap='gotoDetail' data-id='{{item.id}}' data-tenantId='{{item.tenantId}}'>
  33. <view class='name'>{{item.merchantName}}</view>
  34. <view class='shopVoList'>
  35. <view tt:for="{{item.shopVoList}}" tt:key="{{index}}" tt:for-item="itemName">
  36. <text>{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text>
  37. <text class='douhao' tt:if="{{item.shopVoList.length>1}}">,</text>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="telBox" tt:if="{{item.linkLinePhone}}">
  42. <image bindtap='phone' data-merchantLinkPhone='{{item.linkLinePhone}}' class="telImg"
  43. src="{{teljpgUrl}}" mode="widthFix" />
  44. <view class="telText">电话</view>
  45. </view>
  46. <view class="certificationBox" tt:if="{{item.latitude&&item.longitude}}" bindtap="goCertification"
  47. data-id="{{item.id}}">
  48. <image class="certificationImg" src="../../assets/imgData/certification.png" mode="widthFix" />
  49. <view class="telText">资质</view>
  50. </view>
  51. </view>
  52. <view class="siteBox" tt:if="{{item.latitude&&item.longitude}}" bindtap="goMap" data-item="{{item}}">
  53. <view class="siteText">{{item.addr}}</view>
  54. <image class="siteImg" src="../../assets/imgData/siteImg.png" mode="widthFix" />
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>