progressdetail.wxml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  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 id="videolink{{index}}" vidoesrc="{{item.video}}" poster="{{item.cover?item.cover:item.cover+'?x-oss-process=video/snapshot,t_100,f_jpg,w_200,m_fast'}}" objectfit="contain" showProgress="{{true}}" showBottomProgress="{{true}}" showFullscreenBtn="{{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/Building/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. <!-- 更多信息
  61. <image src="../../../img/zbicon2.png" mode="widthFix" /> -->
  62. </view>
  63. </view>
  64. <view class="f-data">
  65. <view class="f-data-1">
  66. <view>
  67. <text class="f-data-num">{{detail.sign_num}}</text>
  68. <text class="f-data-name">签约户数</text>
  69. </view>
  70. </view>
  71. <view class="f-data-line"></view>
  72. <view>
  73. <text class="f-data-num">{{detail.start_num}}</text>
  74. <text class="f-data-name">开工户数</text>
  75. </view>
  76. <view class="f-data-line"></view>
  77. <view>
  78. <text class="f-data-num">{{detail.finish_num}}</text>
  79. <text class="f-data-name">完工户数</text>
  80. </view>
  81. </view>
  82. <view class="f-area">
  83. <view wx:for="{{detail.area_list}}">{{item}}㎡</view>
  84. <block wx:if="{{!detail.area_list.length}}">
  85. <view>暂未关联户型</view>
  86. </block>
  87. </view>
  88. <view class="f-address">
  89. <text class="f-address-name color999">地址:</text>
  90. <view class="flex-sub f-address-dsc color333">
  91. {{detail.address}}
  92. </view>
  93. <image class="f-address_ico" src="../../../img/zbicon3.png" mode="widthFix" />
  94. </view>
  95. <view class="f-dsc">
  96. <text class="f-dsc-name color999">简介:</text>
  97. <view class="{{!showContent?'flex-sub f-dsc-content ellipsisOne':'flex-sub f-dsc-content'}}" bindtap="showAllContent">
  98. {{detail.content}}
  99. </view>
  100. </view>
  101. </view>
  102. <view class="line"></view>
  103. <view class="listBoxStyle">
  104. <view class="communitymsg">
  105. <view class="c_title">户型解析({{detail.housetype_count}})</view>
  106. <view class="c_more">
  107. <!-- 更多户型
  108. <image src="../../../img/zbicon2.png" mode="widthFix" /> -->
  109. </view>
  110. </view>
  111. <view wx:if="{{houseTypeItemlist.length}}" class="houseTypeBox">
  112. <view wx:if="{{houseTypelists.length}}" class="houseTypeHeader">
  113. <view class="hhRight">
  114. <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>
  115. </view>
  116. </view>
  117. <view class="houseTypeShowBox">
  118. <view wx:for="{{houseTypeItemlist}}" class="houseTypeItem" data-cid="{{item.id}}" bindtap="viewHouseType">
  119. <view class="house_image relative {{!item.house_img?'bcE8F3FF':''}}">
  120. <block wx:if="{{item.house_img && item.house_img.length}}">
  121. <image data-img="{{item.house_img[0]}}" data-index="{{index}}" data-type="himg" src="{{item.house_img[0]}}"></image>
  122. </block>
  123. <block wx:else="">
  124. <text class="noneHouseType">暂无户型图</text>
  125. </block>
  126. <image wx:if="{{item.vr_link}}" data-vr="{{item.vr_link}}" data-type="2" bindtap="openVRLink" class="vrEyeIcon" src="../../../img/zbicon4.png" mode="widthFix" />
  127. </view>
  128. <view class="h-dsc111">
  129. <block wx:if="{{item.room == 9}}">
  130. <view style="font-size: 28rpx;">别墅</view>
  131. </block>
  132. <block wx:else="">
  133. <view style="font-size: 28rpx;">{{item.room}}室{{item.hall}}厅{{item.bathroom}}卫</view>
  134. </block>
  135. <view wx:if="{{item.notes}}" class="remarkText">{{item.notes}}</view>
  136. </view>
  137. <view class="h-area111">{{item.area}}㎡/{{item.orientation||'朝向暂无'}}</view>
  138. <view class="h-operate">
  139. <image src="../../../img/zbicon5.png" mode="widthFix" />
  140. <button catchtap="houseTypeDsc" data-room="{{item.room}}" data-title="{{item.room}}室{{item.hall}}厅{{item.bathroom}}卫" data-index="{{index}}" class="colorDE2525">户型剖析</button>
  141. <button catchtap="inquiry" class="colorfff">进业主群</button>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. <nonedata style="width: 100%;" len="{{houseTypeItemlist.length}}" datashow="{{datashow}}"></nonedata>
  147. <view wx:if="{{type==3 && devCaseData.length && false}}" class="lineBg"></view>
  148. <view wx:if="{{type==3 && devCaseData.length && false}}" class="devCaseBox">
  149. <view class="dev_case_title">户型研发案例</view>
  150. <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'}}">
  151. <view class="leftCase relative">
  152. <image src="{{item.cover}}"></image>
  153. <image wx:if="{{item.type == 1}}" src="../../../img/zbvricon.png" mode="widthFix" class="interVrStyle"></image>
  154. </view>
  155. <view class="rightCase">
  156. <view class="r_case_name">{{item.name}}</view>
  157. <block wx:if="{{item.room == 9}}">
  158. <view class="r_case_type">{{item.area}}㎡ | 别墅</view>
  159. </block>
  160. <block wx:else="">
  161. <view class="r_case_type">{{item.area}}㎡ | {{item.room}}室{{item.hall}}厅{{item.bathroom}}卫</view>
  162. </block>
  163. <view class="r_case_style">{{item.decostyles_name}}</view>
  164. </view>
  165. </view>
  166. </view>
  167. <block wx:if="{{type==4}}">
  168. <nonedata len="{{caselist.length}}" datashow="{{datashow}}"></nonedata>
  169. </block>
  170. <view class="lineBg"></view>
  171. <view class="timelineBox">
  172. <view class="timelineBox-header">
  173. <view class="p-type-btn">楼盘动态</view>
  174. </view>
  175. <view class="timelineBox-header labelTab">
  176. <view data-id="" class="{{labelId==''?'activelabel':''}}" bindtap="switchlabelFun">全部</view>
  177. <view wx:for="{{labelArr}}" wx:key="{{index}}" data-id="{{item.id}}" class="{{labelId==item.id?'activelabel':''}}" bindtap="switchlabelFun">{{item.name}}</view>
  178. </view>
  179. <view wx:for="{{progresslist}}" wx:for-item="item" wx:for-index="idx" wx:key="idx" class="timeline-item {{(idx + 1) == progresslist.length?'borderNone':''}}">
  180. <view class="timeline-item-name">
  181. <image class="lpicon" src="../../../img/zblpicon.png" mode="" />
  182. <view>
  183. <view class="fontw700 fontr28">{{item.name||'--'}}</view>
  184. <view class="color999">{{item.addtime}}</view>
  185. </view>
  186. <button wx:if="{{!bType}}" data-type="{{item.type}}" data-index="{{idx}}" data-id="{{item.id}}" bindtap="shareProgress" class="progress_share">
  187. <image src="../../../img/hshare.png" mode="widthFix"></image>
  188. </button>
  189. </view>
  190. <view class="timeline-item-dsc color666 {{showArticle==item.id?'':'ellipsisTwo'}}">
  191. {{item.content}}
  192. </view>
  193. <button wx:if="{{item.content.length > 52}}" class="t-allContent" data-cid="{{item.id}}" bindtap="toggleClass">{{showArticle==item.id?'隐藏':'全文'}}</button>
  194. <view class="timeline-item-img">
  195. <block wx:if="{{item.type == 'img'}}">
  196. <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':''}}">
  197. <image src="{{itemData}}?x-oss-process=image/resize,w_200" data-img="{{itemData}}" data-index="{{idx}}" bindtap="previewImage"></image>
  198. </view>
  199. </block>
  200. <block wx:if="{{item.type == 'video'}}">
  201. <view style="width: 100%;height: 380rpx;">
  202. <video-list vidoesrc="{{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" showProgress="{{true}}" showBottomProgress="{{true}}" showFullscreenBtn="{{true}}" />
  203. </view>
  204. </block>
  205. <block wx:if="{{item.type == 'group'}}">
  206. <view class="vr-img-link bgGroup">
  207. <image src="{{item.show_img}}?x-oss-process=image/resize,w_500" mode="heightFix"></image>
  208. <view data-vr="{{item.show_url}}" data-type="2" bindtap="openVRLink" class="vr-img-text">
  209. <image src="../../../img/zbvricon.png" class="vr-image-1" mode="widthFix"></image>
  210. </view>
  211. </view>
  212. </block>
  213. <block wx:else="">
  214. <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':''}}">
  215. <image src="{{itemData.vrfirstImg}}?x-oss-process=image/resize,w_200" mode="widthFix"></image>
  216. <view data-vr="{{itemData.vrUrl}}" data-type="2" bindtap="openVRLink" class="vr-img-text">
  217. <image src="../../../img/zbvricon.png" class="vr-image-1" mode="widthFix"></image>
  218. </view>
  219. </view>
  220. </block>
  221. </view>
  222. </view>
  223. <nonedata len="{{progresslist.length}}" datashow="{{datashow}}"></nonedata>
  224. </view>
  225. </view>
  226. </view>
  227. <!-- 户型剖析 -->
  228. <view class="maskBg" wx:if="{{dialog}}" bindtap="closeMask">
  229. <view class="dialog" catchtap="dothis">
  230. <view class="ddTitle">{{dscTitle}}户型剖析</view>
  231. <view class="ddContent">
  232. <block wx:if="{{dscDataMsg.from==0}}">
  233. <block wx:if="{{dscDataMsg.house_count}}">
  234. <mp-html content="{{dscDataMsg.house_count}}" />
  235. </block>
  236. <block wx:else="">
  237. <nonedata len="{{0}}" datashow="{{datashow}}"></nonedata>
  238. </block>
  239. </block>
  240. <block wx:else="">
  241. <block wx:if="{{dscDataMsg.house_count || (dscDataMsg.img_content && dscDataMsg.img_content.length)}}">
  242. <view wx:if="{{dscDataMsg.house_count}}" class="houseDscStyle">{{dscDataMsg.house_count}}</view>
  243. <view wx:for="{{dscDataMsg.img_content}}" wx:key="index" class="houseDscImage">
  244. <image src="{{item}}?x-oss-process=image/resize,w_300" mode="widthFix"></image>
  245. </view>
  246. </block>
  247. <block wx:else="">
  248. <nonedata len="{{0}}" datashow="{{datashow}}"></nonedata>
  249. </block>
  250. </block>
  251. </view>
  252. </view>
  253. </view>
  254. <view wx:if="{{!ltype&&!bType}}" class="rightbtnbox">
  255. <view bindtap="sharetap" class="tcollectbox tsharebox tcenter">
  256. <image src="{{imgUrl}}xcx/aaa/tshare.png"></image>
  257. <view class="colorfff fontfpr fontr24 lhr24">分享</view>
  258. </view>
  259. <view bindtap="handleCollect" class="tcollectbox tcenter">
  260. <image wx:if="{{!detail.collected}}" src="{{imgUrl}}xcx/aaa/addcollect.png"></image>
  261. <image wx:if="{{detail.collected}}" src="{{imgUrl}}xcx/aaa/addcollected.png"></image>
  262. <view class="colorB6CADE fontfpr fontr24 lhr24">收藏</view>
  263. </view>
  264. </view>
  265. <block wx:if="{{bType == 'b'}}">
  266. <view wx:if="{{!showCutImage}}" style="width: 100%;height: 50rpx;"></view>
  267. <view class="shareTips">分享后上传分享截图可获得积分兑换现金</view>
  268. <view class="cutAndShare">
  269. <button bindtap="sharetap" class="shareBtn">立即分享</button>
  270. </view>
  271. <view wx:if="{{showCutImage}}" class="cutMask" bindtap="closeDialog" bindtouchmove="dothis">
  272. <view class="cutBlock" catchtap="dothis">
  273. <view class="cutTitle">上传分享截图</view>
  274. <view class="cutContent">
  275. <view class="cutShareLabel">上传分享截图</view>
  276. <view class="cutImglistBox">
  277. <view wx:for="{{trackimgarr}}" class="imageItem">
  278. <image src="{{item.tempFilePath}}" mode="" />
  279. <view data-index="{{index}}" class="imgdel" bindtap="imageDel">
  280. <image src="../../../img/wdelt.png" mode="widthFix"></image>
  281. </view>
  282. </view>
  283. <view class="uploadImg" bindtap="uploadImage">
  284. <image src="../../../img/addicon.png" mode="widthFix"></image>
  285. <view class="u-text">上传</view>
  286. </view>
  287. </view>
  288. <view class="u-textarea-box">
  289. <textarea value="{{remark}}" bindinput="getTextarea" class="u-textarea" placeholder="请输入备注" cols="30" rows="10"></textarea>
  290. </view>
  291. </view>
  292. <button disabled="{{loading}}" loading="{{loading}}" class="cutConfirm" bindtap="submitData">保存并推荐分享</button>
  293. </view>
  294. </view>
  295. </block>
  296. <block wx:if="{{pType=='b' && false}}">
  297. <view class="shareApprovalbtn" bindtap="handleShowApproval">分享审核</view>
  298. <view wx:if="{{showApproval}}" class="shareMask" catchtap="closeDialog">
  299. <view class="shareBlock" catchtap="dothis">
  300. <view class="shareBlockTitle">分享审核</view>
  301. <view class="shareBlockContent">
  302. <view wx:for="{{shareApprovallist}}" wx:key="{{index}}" class="shareApprovalItem">
  303. <view class="shareApprovalLeft">
  304. <image src="{{item.headimgurl?item.headimgurl:'../../../img/default.png'}}" mode="" />
  305. </view>
  306. <view class="shareApprovalRight">
  307. <view class="shareApprovalText">
  308. <text class="satName">{{item.agent_name||'未知'}}</text>
  309. <text class="satTime">分享时间:{{item.addtime}}</text>
  310. </view>
  311. <view class="shareApprovalImgBox">
  312. <view wx:for="{{item.img}}" wx:for-item="imgItem" wx:for-index="idx" wx:key="{{idx}}" class="shareApprovalImgItem" data-index="{{index}}" data-idx="{{idx}}" bindtap="previewImageEvent">
  313. <image src="{{imgItem}}" mode="" />
  314. </view>
  315. </view>
  316. <view wx:if="{{item.remarks}}" class="shareApprovalMsg">
  317. {{item.remarks}}
  318. </view>
  319. <view class="shareApproValBtnBox">
  320. <button data-id="{{item.id}}" disabled="{{loading}}" loading="{{loading}}" bindtap="confirmApproval" class="aConfirmBtn">通过</button>
  321. <button data-id="{{item.id}}" disabled="{{loading}}" loading="{{loading}}" bindtap="rejectApproval" class="aRejectBtn">驳回</button>
  322. </view>
  323. </view>
  324. </view>
  325. <nonedata len="{{shareApprovallist.length}}" datashow="{{datashow}}"></nonedata>
  326. </view>
  327. </view>
  328. </view>
  329. </block>
  330. <!-- <sharefooter wx:if="{{ltype!=1&&pType!='b'}}" type="{{!ltype?1:2}}"></sharefooter> -->
  331. <view wx:if="{{bType != 'b'}}" class="contactFixedBottom">
  332. <view class="userInfo">
  333. <image class="userInfoAvatar" src="{{personMsg.headimgurl?personMsg.headimgurl:'../../../img/default.png'}}"></image>
  334. <view class="infoMsg">
  335. <view class="flex align-center">
  336. <span class="fontr28 fontw700">{{personMsg.binded?personMsg.binded.name:personMsg.nickname}}</span>
  337. <image bindtap="jumpNameCard" class="nameCard" src="../../../img/zbnc.png" mode="widthFix"></image>
  338. </view>
  339. <view class="color999 fontr24 mt10">{{companyobj.company_name}}</view>
  340. </view>
  341. </view>
  342. <view class="contactType">
  343. <view class="wechat flex align-center justify-center" bindtap="previewWechat">
  344. <image src="../../../img/WeChat.png" mode="widthFix" class="wechatIcon"></image>
  345. <span class="colorfff fontr26 ml10">微信</span>
  346. </view>
  347. <view class="mobile flex align-center justify-center" bindtap="mobileAction">
  348. <image src="../../../img/whitemobile.png" mode="widthFix" class="phoneIcon"></image>
  349. <span class="colorfff fontr26 ml10">电话</span>
  350. </view>
  351. </view>
  352. </view>
  353. <wshare wshareshow="{{wshareshow}}" bind:poster="setpostertap" bind:sendfriendcircle="sendfriendtap" bind:sfriend="publicsharetap" showTask="{{showTask}}" bind:shareurl="shareurltap" contentid="{{cid}}" type="Building"></wshare>