C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

71 行
2.5 KiB

  1. <!--pages/index/detail/index.wxml-->
  2. <view>
  3. <swiper class="index-slide" autoplay="true" circular="false">
  4. <block wx:for="{{imglist}}" wx:key="unique">
  5. <swiper-item>
  6. <image src="{{item}}" class="index-slide-image" />
  7. </swiper-item>
  8. </block>
  9. </swiper>
  10. <!-- <view class='merchant-detail'>
  11. <view>{{data.merchantName}}</view>
  12. </view> -->
  13. <view class='merchant-detail'>
  14. <!-- 品牌信息 -->
  15. <view class='merchant-brand'>
  16. <view>
  17. <image src='{{data.brandImg}}'></image>
  18. </view>
  19. <view>
  20. <text>{{data.merchantName}}</text>
  21. <text>{{data.title}}</text>
  22. </view>
  23. </view>
  24. <!-- 一个商铺 -->
  25. <!-- <view class='merchant-shop' wx:if="{{shopVoList.length==1}}">
  26. <view>
  27. <text>商户位置</text>
  28. </view>
  29. <view>
  30. <text>{{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}}</text>
  31. <text></text>
  32. </view>
  33. </view> -->
  34. <!-- 多个商铺 -->
  35. <view class='merchant-shop'>
  36. <view >
  37. <view >
  38. <text>商户位置</text>
  39. </view>
  40. <view>
  41. <text wx:if="{{shopVoList.length==1}}">{{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}}</text>
  42. <text wx:else>{{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}}..</text>
  43. <text wx:if="{{shopVoList.length!=1}}" class='godetail' data-id='{{data.id}}' bindtap='shopList'>详情 ></text>
  44. </view>
  45. </view>
  46. </view>
  47. <!-- 联系方式 -->
  48. <view class='merchant-phone'>
  49. <view >
  50. <text>联系商户</text>
  51. </view>
  52. <view>
  53. <view>
  54. <text>{{data.merchantLinkPhone}}</text>
  55. </view>
  56. <image bindtap='phone' data-merchantLinkPhone='{{data.merchantLinkPhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
  57. </view>
  58. </view>
  59. <!-- 商户简介 -->
  60. <view class='merchant-phone'>
  61. <view>
  62. <text>商户简介</text>
  63. </view>
  64. </view>
  65. <view class='merchant-info'>
  66. <text wx:if="{{data.summary}}">{{data.summary}}</text>
  67. <text wx:else>{{"信息完善中,敬请期待。"}}</text>
  68. </view>
  69. </view>
  70. </view>