detail-scroll.wxml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <detail-banner imglist="{{house.detail_images}}" vrLink="{{house.vrLink}}" bind:onlineWatch="onlineWatch"
  2. bind:toVrHouse="toVrHouse" />
  3. <!-- <scroll-view class="contanerbox" scroll-y="false" wx:if="{{house.house_id}}"> -->
  4. <view class="contanerbox" wx:if="{{house.house_id}}">
  5. <view class="house-info padding-container">
  6. <view class="tab-list">
  7. <view class="tab-item" wx:for="{{house.tags}}" wx:key="index">{{ item }}</view>
  8. <!-- <view class="tab-item" wx:for="{{house.tags}}" wx:key="index">{{ item }}</view> -->
  9. <!-- <view class="tab-item" > 满两年 </view>
  10. <view class="tab-item" > 随时可看 </view> -->
  11. </view>
  12. <view class="follow-status-w">
  13. <button class="follow-status" open-type="getPhoneNumber" bindgetphonenumber="bindgetphonenumber"
  14. wx:if="{{ !loginStatus && app_type !== 'user' }}">
  15. <image class="follow-icon" src="/image/4Dage/detail/icon-follow.svg" />
  16. 关注
  17. </button>
  18. <button class="follow-status" data-action="changeFocusStatus" open-type="getUserInfo"
  19. bindgetuserinfo="bindgetuserinfo" wx:elif="{{ !loginStatus && app_type === 'user' }}">
  20. <image class="follow-icon" src="/image/4Dage/detail/icon-follow.svg" />
  21. 关注
  22. </button>
  23. <view class="follow-status" wx:elif="{{ !isFocused }}" bindtap="changeFocusStatus">
  24. <image class="follow-icon" src="/image/4Dage/detail/icon-follow.svg" />
  25. 关注
  26. </view>
  27. <view class="follow-status" wx:elif="{{ isFocused }}" bindtap="cancleFocusStatus">
  28. <image class="follow-icon" src="/image/4Dage/detail/icon-follow-active.svg" />
  29. 已关注
  30. </view>
  31. </view>
  32. <view class="house-name ">{{ house.title }}</view>
  33. <view class="contact-user">房源负责人:{{ agent_user.name }}<view class="icon-idcard"></view>
  34. </view>
  35. <view class="house-parameter">
  36. <view class="parameter-item">
  37. <!-- <view class="price">${{ house.price / 10000 }}万</view> -->
  38. <view class="price">${{ house.price }}</view>
  39. <view class="parameter-name">售价</view>
  40. </view>
  41. <view class="parameter-item">
  42. <!-- <view class="price">{{ house.house_type || '暂无数据' }}</view> -->
  43. <view class="price">{{house.bedroomAmount+'卧'+house.showerroomAmount+'卫' || '暂无数据' }}</view>
  44. <view class="parameter-name">房型</view>
  45. </view>
  46. <view class="parameter-item">
  47. <!-- <view class="price">{{ house.area ? house.area + 'm²' : '暂无数据' }}</view> -->
  48. <view class="price">{{ house.area ? house.area + 'ft²' : '暂无数据' }}</view>
  49. <view class="parameter-name">建筑面积</view>
  50. </view>
  51. </view>
  52. <view class="house-detail">
  53. <view class="detail-item" wx:for="{{detailItems}}" wx:key="name">
  54. <text class="label">{{ item.label }}:</text>
  55. <text class="value"> <text class="value" wx:if="{{item.name=='unit_price' }}"> $</text>{{ item.value
  56. }}</text>
  57. <text class="value" wx:if="{{item.name=='bedroomAmount' ||item.name=='showerroomAmount' }}"></text>
  58. <text class="value" wx:if="{{item.name=='unit_price' }}"></text>
  59. <text class="value" wx:if="{{item.name=='area' ||item.name=='floorSpace' }}">平方英尺</text>
  60. </view>
  61. </view>
  62. <!-- <view class="vr-tip" wx:if="{{!isAgency && house.vrLink}}">
  63. <view class="vr-tip-logo"></view>
  64. <view class="vr-tip-right">
  65. <view class="vr-tip-title">语音云带看</view>
  66. <view class="vr-tip-intro">在线语音带看,足不出户看实况</view>
  67. <view class="vr-tip-btn" bind:tap="onlineWatch">线上带看</view>
  68. </view>
  69. </view> -->
  70. </view>
  71. <view class="location-info padding-container">
  72. <view class="location-text-info">
  73. <view class="detail-title">位置及周边配套</view>
  74. <view class="location-item">
  75. <text class="location-label">位置:</text>
  76. <!-- <text class="location-value">{{ house.city + house.estate_name }}</text> -->
  77. <!-- <text class="location-value">{{ house.address + ' ' + house.city }}</text> -->
  78. <text class="location-value">
  79. <text>{{house.address}}</text><text wx:if="{{house.city}}"> ,</text>
  80. <text>{{house.city}}</text><text wx:if="{{house.province}}"> ,</text>
  81. <text>{{house.province}}</text><text wx:if="{{house.postcode}}"> ,</text>
  82. <text>{{house.postcode}}</text>
  83. </text>
  84. </view>
  85. <view class="location-item" wx:if="{{!isAgency}}">
  86. <text class="location-label">学校信息:</text>
  87. <text class="location-link" bindtap="sendSchoolMsg">咨询经纪人中小学情况</text>
  88. </view>
  89. </view>
  90. </view>
  91. <view class="map-w" wx:if="{{house.addres_images}}">
  92. <!-- <map id="map" class="detail-map" longitude="{{markers[0].longitude}}" latitude="{{markers[0].latitude}}"
  93. enable-scroll="{{ false }}" enable-zoom="{{ false }}" markers="{{markers}}" show-location>
  94. </map>
  95. <view class="cover" bindtap="toMap"></view> -->
  96. <view class="detail-map">
  97. <image mode="aspectFill" lazy-load="true" src="{{house.addres_images}}"></image>
  98. </view>
  99. </view>
  100. <!-- <view class=" padding-container" bind:tap="toMoreIntro"> -->
  101. <view class=" padding-container"
  102. wx:if="{{!( house.remarks.length == 1 &&house.remarks[0].title == '' &&house.remarks[0].text == '') }}">
  103. <view class="location-text-info border-btn">
  104. <!-- <view class="detail-title">房源介绍 -->
  105. <view class="detail-title">物业特色
  106. <!-- <view class="arrow-right fr"></view> -->
  107. </view>
  108. <view wx:for="{{house.remarks}}" :key="name">
  109. <view class="detail-title-mini ">{{item.title}}</view>
  110. <view class="detail-text">
  111. {{item.text}}
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. <!-- 配套设施 -->
  117. <view class=" padding-container" wx:if="{{house.ancillaryFacility.length>0}}">
  118. <view class="location-text-info border-btn">
  119. <view class="detail-title m-t-32">配套设施
  120. </view>
  121. <view class="detail-tag">
  122. <view class="tag-item" wx:for="{{house.ancillaryFacility}}" wx:key="index">{{item}}</view>
  123. <!-- <text class="tag-item">壁炉</text> -->
  124. <!-- <text class="tag-item">大理石</text>
  125. <text class="tag-item">微波炉</text>
  126. <text class="tag-item">洗碗机</text>
  127. <text class="tag-item">浴缸</text>
  128. <text class="tag-item">食品储蓄室</text>
  129. <text class="tag-item">藏书师</text> -->
  130. </view>
  131. </view>
  132. </view>
  133. <!-- 免责声明 -->
  134. <view class=" padding-container">
  135. <view class="location-text-info border-btn">
  136. <view class="detail-title m-t-32">免责声明
  137. </view>
  138. <view class="box" style="background:#eee; padding:20rpx;font-size:28rpx;text-align:justify;color:#666;">
  139. 平台房源所提供的信息仅供个人非商业用途使用,消费者不得用于其他任何用途。平台房源信息与实际信息可能所有偏差,请购房者在决定购买前,与相关专人人士确认沟通。平台将保留所有解释权。
  140. </view>
  141. </view>
  142. </view>
  143. <view class="padding-container" wx:if="{{recommendList.length>0}}">
  144. <view class="detail-title m-t-32">推荐房源({{recommendList.length}})</view>
  145. <view class="house-list">
  146. <house-item wx:for="{{recommendList}}" wx:key="id" house="{{item}}" />
  147. </view>
  148. </view>
  149. </view>