抖音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.

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