progressdetail.wxml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <wxs src="../../../utils/filters.wxs" module="filters"></wxs>
  2. <view class="{{dialog||showCutImage||showApproval?'overflowHidden':'progressdetail'}}">
  3. <view class="image-box">
  4. <swiper circular="{{true}}" bindchange="swiperChange" current="{{swiperIndex}}" class="height500 width100">
  5. <block wx:if="{{detail.cover[0]}}">
  6. <swiper-item item-id="cover-{{0}}" class="height500">
  7. <image src="{{detail.cover[0]}}" class="minHeight" data-type="cover" data-img="{{detail.cover[0]}}" bindtap="previewImage" mode="widthFix"></image>
  8. <view wx:if="{{detail.vr_link}}" data-vr="{{detail.vr_link}}" class="vr-box" data-type="2" bindtap="openVRLink">
  9. <image src="../../../img/zbvricon.png" class="vr-image" mode="widthFix"></image>
  10. </view>
  11. </swiper-item>
  12. </block>
  13. <block wx:if="{{imageArr.length}}">
  14. <swiper-item wx:for="{{imageArr}}" wx:key="{{index}}" item-id="img-{{index}}" class="height500">
  15. <image src="{{item}}" class="minHeight" data-type="image" data-img="{{item}}" bindtap="previewImage" mode="widthFix"></image>
  16. </swiper-item>
  17. </block>
  18. <block wx:if="{{VRlinklist.length}}">
  19. <swiper-item wx:for="{{VRlinklist}}" wx:key="{{index}}" item-id="vr-{{index}}" class="height500 relative">
  20. <image src="{{item.vrfirstImg}}" class="minHeight" data-type="vr" data-img="{{item.vrfirstImg}}" bindtap="previewImage" mode="widthFix"></image>
  21. <view wx:if="{{item.vrUrl}}" data-vr="{{item.vrUrl}}" class="vr-box" data-type="2" bindtap="openVRLink">
  22. <image src="../../../img/zbvricon.png" class="vr-image" mode="widthFix"></image>
  23. </view>
  24. </swiper-item>
  25. </block>
  26. <block wx:if="{{videolink.length}}">
  27. <swiper-item wx:for="{{videolink}}" wx:key="{{index}}" item-id="video-{{index}}" class="height500">
  28. <video-list miLinToken="327d74d81bca11ee8eba017370856519" id="videolink{{index}}" src="{{item.video}}" poster="{{item.cover?item.cover:item.cover+'?x-oss-process=video/snapshot,t_100,f_jpg,w_200,m_fast'}}" objectfit="contain" show-progress="{{true}}" show-fullscreen-btn="{{true}}" />
  29. </swiper-item>
  30. </block>
  31. </swiper>
  32. <view class="switchTab relative">
  33. <block wx:for="{{tab}}">
  34. <view wx:key="{{index}}" wx:if="{{item.count!=0}}" data-type="{{item.type}}" class="{{item.type==activeType?'activeTab':''}}" data-count="{{item.count}}" bindtap="handleSwitch">{{item.name}}</view>
  35. </block>
  36. </view>
  37. <text class="s-count">{{showSortNum}}/{{allDataCount}}</text>
  38. <view class="fullVideo" wx:if="{{activeType=='video'}}" data-id="videolink{{showSortNum-1}}" bindtap="handleFullPlay">
  39. <image src="../../../img/fullscreen.png" mode="widthFix"></image>
  40. </view>
  41. <view class="b_img_icon">
  42. <image src="https://o.nczyzs.com/xcx/750.png" mode="widthFix" />
  43. <view class="companyMsg">
  44. <view class="companyleft">
  45. <view class="companylogo">
  46. <image src="{{companyobj.logo}}" mode="" />
  47. </view>
  48. <view>{{companyobj.company_name}}</view>
  49. </view>
  50. <view class="companyright">
  51. {{detail.name}}
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="floorMsg">
  57. <view wx:if="{{false}}" class="f-title">
  58. <view class="clearfix f_left">{{detail.name}}</view>
  59. <view bindtap="handleCollect" class="collect_box">
  60. </view>
  61. </view>
  62. <view class="f-data">
  63. <view class="f-data-1">
  64. <view>
  65. <text class="f-data-num">{{detail.sign_num}}</text>
  66. <text class="f-data-name">签约户数</text>
  67. </view>
  68. </view>
  69. <view class="f-data-line"></view>
  70. <view>
  71. <text class="f-data-num">{{detail.start_num}}</text>
  72. <text class="f-data-name">开工户数</text>
  73. </view>
  74. <view class="f-data-line"></view>
  75. <view>
  76. <text class="f-data-num">{{detail.finish_num}}</text>
  77. <text class="f-data-name">完工户数</text>
  78. </view>
  79. </view>
  80. <view class="f-area">
  81. <view wx:for="{{detail.area_list}}">{{item}}㎡</view>
  82. <block wx:if="{{!detail.area_list.length}}">
  83. <view>暂未关联户型</view>
  84. </block>
  85. </view>
  86. <view class="f-address">
  87. <text class="f-address-name color999">地址:</text>
  88. <view class="flex-sub f-address-dsc color333">
  89. {{detail.address}}
  90. </view>
  91. <image class="f-address_ico" src="../../../img/zbicon3.png" mode="widthFix" />
  92. </view>
  93. <view class="f-dsc">
  94. <text class="f-dsc-name color999">简介:</text>
  95. <view class="{{!showContent?'flex-sub f-dsc-content ellipsisOne':'flex-sub f-dsc-content'}}" bindtap="showAllContent">
  96. {{detail.content}}
  97. </view>
  98. </view>
  99. </view>
  100. <view class="line"></view>
  101. <view class="listBoxStyle">
  102. <view class="communitymsg">
  103. <view class="c_title">户型解析({{detail.housetype_count}})</view>
  104. <view class="c_more">
  105. </view>
  106. </view>
  107. <view wx:if="{{houseTypeItemlist.length}}" class="houseTypeBox">
  108. <view wx:if="{{houseTypelists.length}}" class="houseTypeHeader">
  109. <view class="hhRight">
  110. <view wx:for="{{houseTypelists}}" wx:for-index="idx" wx:key="idx" data-index="{{idx}}" data-type="{{item.id}}" class="{{item.id==houseTypeActive?'hhactive':''}}" bindtap="handlelist">{{item.name}}({{item.count}})</view>
  111. </view>
  112. </view>
  113. <view class="houseTypeShowBox">
  114. <view wx:for="{{houseTypeItemlist}}" class="houseTypeItem" data-cid="{{item.id}}" bindtap="viewHouseType">
  115. <view class="house_image relative {{!item.house_img?'bcE8F3FF':''}}">
  116. <block wx:if="{{item.house_img && item.house_img.length}}">
  117. <image data-img="{{item.house_img[0]}}" data-index="{{index}}" data-type="himg" src="{{item.house_img[0]}}"></image>
  118. </block>
  119. <block wx:else="">
  120. <text class="noneHouseType">暂无户型图</text>
  121. </block>
  122. <image wx:if="{{item.vr_link}}" data-vr="{{item.vr_link}}" data-type="2" bindtap="openVRLink" class="vrEyeIcon" src="../../../img/zbicon4.png" mode="widthFix" />
  123. </view>
  124. <view class="h-dsc111">
  125. <block wx:if="{{item.room == 9}}">
  126. <view style="font-size: 28rpx;">别墅</view>
  127. </block>
  128. <block wx:else="">
  129. <view style="font-size: 28rpx;">{{item.room}}室{{item.hall}}厅{{item.bathroom}}卫</view>
  130. </block>
  131. <view wx:if="{{item.notes}}" class="remarkText">{{item.notes}}</view>
  132. </view>
  133. <view class="h-area111">{{item.area}}㎡/{{item.orientation||'朝向暂无'}}</view>
  134. <view class="h-operate">
  135. <image src="../../../img/zbicon5.png" mode="widthFix" />
  136. <button catchtap="houseTypeDsc" data-room="{{item.room}}" data-title="{{item.room}}室{{item.hall}}厅{{item.bathroom}}卫" data-index="{{index}}" class="colorDE2525">户型剖析</button>
  137. <button catchtap="inquiry" class="colorfff">进业主群</button>
  138. </view>
  139. </view>
  140. </view>
  141. </view>
  142. <nonedata style="width: 100%;" len="{{houseTypeItemlist.length}}" datashow="{{datashow}}"></nonedata>
  143. <view wx:if="{{devCaseData.length}}" class="lineBg"></view>
  144. <view wx:if="{{devCaseData.length}}" class="devCaseBox">
  145. <view class="dev_case_title">户型研发案例</view>
  146. <view wx:for="{{devCaseData}}" wx:for-index="index" wx:key="index" data-id="{{item.id}}" data-type="{{item.type}}" bindtap="devCaseDetail" class="devCaseItem {{(index+1)==devCaseData.length?'':'devCaseBorderBottom'}}">
  147. <view class="leftCase relative">
  148. <image src="{{item.cover}}"></image>
  149. <image wx:if="{{item.type == 1}}" src="../../../img/zbvricon.png" mode="widthFix" class="interVrStyle"></image>
  150. </view>
  151. <view class="rightCase">
  152. <view class="r_case_name">{{item.name}}</view>
  153. <block wx:if="{{item.room == 9}}">
  154. <view class="r_case_type">{{item.area}}㎡ | 别墅</view>
  155. </block>
  156. <block wx:else="">
  157. <view class="r_case_type">{{item.area}}㎡ | {{item.room}}室{{item.hall}}厅{{item.bathroom}}卫</view>
  158. </block>
  159. <view class="r_case_style">{{item.decostyles_name}}</view>
  160. </view>
  161. </view>
  162. </view>
  163. <block wx:if="{{type==4}}">
  164. <nonedata len="{{caselist.length}}" datashow="{{datashow}}"></nonedata>
  165. </block>
  166. <view class="lineBg"></view>
  167. <view class="timelineBox">
  168. <view class="timelineBox-header">
  169. <view class="p-type-btn">楼盘动态</view>
  170. </view>
  171. <view class="timelineBox-header labelTab">
  172. <view data-id="" class="{{labelId==''?'activelabel':''}}" bindtap="switchlabelFun">全部</view>
  173. <view wx:for="{{labelArr}}" wx:key="{{index}}" data-id="{{item.id}}" class="{{labelId==item.id?'activelabel':''}}" bindtap="switchlabelFun">{{item.name}}</view>
  174. </view>
  175. <view wx:for="{{progresslist}}" wx:for-item="item" wx:for-index="idx" wx:key="idx" class="timeline-item {{(idx + 1) == progresslist.length?'borderNone':''}}">
  176. <view class="timeline-item-name">
  177. <image class="lpicon" src="../../../img/zblpicon.png" mode="" />
  178. <view>
  179. <view class="fontw700 fontr28">{{item.name||'--'}}</view>
  180. <view class="color999">{{item.addtime}}</view>
  181. </view>
  182. <button wx:if="{{!bType}}" data-type="{{item.type}}" data-index="{{idx}}" data-id="{{item.id}}" bindtap="shareProgress" class="progress_share">
  183. <image src="../../../img/hshare.png" mode="widthFix"></image>
  184. </button>
  185. </view>
  186. <view class="timeline-item-dsc color666 {{showArticle==item.id?'':'ellipsisTwo'}}">
  187. {{item.content}}
  188. </view>
  189. <button wx:if="{{item.content.length > 52}}" class="t-allContent" data-cid="{{item.id}}" bindtap="toggleClass">{{showArticle==item.id?'隐藏':'全文'}}</button>
  190. <view class="timeline-item-img">
  191. <block wx:if="{{item.type == 'img'}}">
  192. <view wx:for="{{item.img}}" wx:for-index="ilx" wx:for-item="itemData" wx:key="itemData" class="vr-img-link {{(ilx+1)%3==0?'mr0':''}}">
  193. <image src="{{itemData}}?x-oss-process=image/resize,w_200" data-img="{{itemData}}" data-index="{{idx}}" bindtap="previewImage"></image>
  194. </view>
  195. </block>
  196. <block wx:if="{{item.type == 'video'}}">
  197. <view style="width: 100%;height: 380rpx;">
  198. <video-list miLinToken="327d74d81bca11ee8eba017370856519" src="{{item.video}}" poster="{{item.img[0]?item.img[0]:item.img[0]+'?x-oss-process=video/snapshot,t_100,f_jpg,w_200,m_fast'}}" objectfit="contain" show-progress="{{true}}" show-fullscreen-btn="{{true}}" />
  199. </view>
  200. </block>
  201. <block wx:if="{{item.type == 'group' && item.show_url}}">
  202. <view class="vr-img-link bgGroup">
  203. <image src="{{item.show_img}}?x-oss-process=image/resize,w_500" mode="heightFix"></image>
  204. <view data-vr="{{item.show_url}}" data-type="2" bindtap="openVRLink" class="vr-img-text">
  205. <image src="../../../img/zbvricon.png" class="vr-image-1" mode="widthFix"></image>
  206. </view>
  207. </view>
  208. </block>
  209. <block wx:else="">
  210. <view wx:for="{{item.vr}}" wx:for-index="ikx" wx:for-item="itemData" wx:key="ikx" class="vr-img-link {{(ikx+1)%3==0?'mr0':''}}">
  211. <image src="{{itemData.vrfirstImg}}?x-oss-process=image/resize,w_200" mode="widthFix"></image>
  212. <view data-vr="{{itemData.vrUrl}}" data-type="2" bindtap="openVRLink" class="vr-img-text">
  213. <image src="../../../img/zbvricon.png" class="vr-image-1" mode="widthFix"></image>
  214. </view>
  215. </view>
  216. </block>
  217. </view>
  218. </view>
  219. <nonedata len="{{progresslist.length}}" datashow="{{datashow}}"></nonedata>
  220. </view>
  221. </view>
  222. </view>
  223. <!-- 户型剖析 -->
  224. <view class="maskBg" wx:if="{{dialog}}" bindtap="closeMask">
  225. <view class="dialog" catchtap="dothis">
  226. <view class="ddTitle">{{dscTitle}}户型剖析</view>
  227. <view class="ddContent">
  228. <block wx:if="{{dscDataMsg.from==0}}">
  229. <block wx:if="{{dscDataMsg.house_count}}">
  230. <mp-html content="{{dscDataMsg.house_count}}" />
  231. </block>
  232. <block wx:else="">
  233. <nonedata len="{{0}}" datashow="{{datashow}}"></nonedata>
  234. </block>
  235. </block>
  236. <block wx:else="">
  237. <block wx:if="{{dscDataMsg.house_count || (dscDataMsg.img_content && dscDataMsg.img_content.length)}}">
  238. <view wx:if="{{dscDataMsg.house_count}}" class="houseDscStyle">{{dscDataMsg.house_count}}</view>
  239. <view wx:for="{{dscDataMsg.img_content}}" wx:key="index" class="houseDscImage">
  240. <image src="{{item}}?x-oss-process=image/resize,w_300" mode="widthFix"></image>
  241. </view>
  242. </block>
  243. <block wx:else="">
  244. <nonedata len="{{0}}" datashow="{{datashow}}"></nonedata>
  245. </block>
  246. </block>
  247. </view>
  248. </view>
  249. </view>
  250. <view wx:if="{{!ltype&&!bType}}" class="rightbtnbox">
  251. <view bindtap="sharetap" class="tcollectbox tsharebox tcenter">
  252. <image src="{{imgUrl}}xcx/aaa/tshare.png"></image>
  253. <view class="colorfff fontfpr fontr24 lhr24">分享</view>
  254. </view>
  255. <view bindtap="handleCollect" class="tcollectbox tcenter">
  256. <image wx:if="{{!detail.collected}}" src="{{imgUrl}}xcx/aaa/addcollect.png"></image>
  257. <image wx:if="{{detail.collected}}" src="{{imgUrl}}xcx/aaa/addcollected.png"></image>
  258. <view class="colorB6CADE fontfpr fontr24 lhr24">收藏</view>
  259. </view>
  260. </view>
  261. <block wx:if="{{bType == 'b'}}">
  262. <view wx:if="{{!showCutImage}}" style="width: 100%;height: 50rpx;"></view>
  263. <view class="shareTips">分享后上传分享截图可获得积分兑换现金</view>
  264. <view class="cutAndShare">
  265. <button wx:if="{{isBroker}}" bindtap="sharetap" class="shareBtn">立即分享</button>
  266. <button wx:else="" bindgetphonenumber="getPhoneNumberTap" open-type="getPhoneNumber" loading="{{loading}}" disabled="{{loading}}" class="shareBtn">立即分享</button>
  267. </view>
  268. </block>
  269. <!-- <sharefooter wx:if="{{ltype!=1&&pType!='b'}}" type="{{!ltype?1:2}}"></sharefooter> -->
  270. <view wx:if="{{bType != 'b'}}" class="contactFixedBottom">
  271. <view class="userInfo">
  272. <image class="userInfoAvatar" src="{{personMsg.headimgurl?personMsg.headimgurl:'../../../img/default.png'}}"></image>
  273. <view class="infoMsg">
  274. <view class="flex align-center">
  275. <span class="fontr28 fontw700">{{personMsg.binded?personMsg.binded.name:personMsg.nickname}}</span>
  276. <image bindtap="jumpNameCard" class="nameCard" src="../../../img/zbnc.png" mode="widthFix"></image>
  277. </view>
  278. <view class="color999 fontr24 mt10">{{companyobj.company_name}}</view>
  279. </view>
  280. </view>
  281. <view class="contactType">
  282. <view class="wechat flex align-center justify-center" bindtap="previewWechat">
  283. <image src="../../../img/WeChat.png" mode="widthFix" class="wechatIcon"></image>
  284. <span class="colorfff fontr26 ml10">微信</span>
  285. </view>
  286. <view class="mobile flex align-center justify-center" bindtap="mobileAction">
  287. <image src="../../../img/whitemobile.png" mode="widthFix" class="phoneIcon"></image>
  288. <span class="colorfff fontr26 ml10">电话</span>
  289. </view>
  290. </view>
  291. </view>
  292. <wshare wshareshow="{{wshareshow}}" bind:poster="setpostertap" bind:sendfriendcircle="sendfriendtap" bind:sfriend="publicsharetap" showTask="{{showTask}}" bind:shareurl="shareurltap" contentid="{{cid}}" type="Building"></wshare>