663 lines
31 KiB
Plaintext
663 lines
31 KiB
Plaintext
<import src="../common/common.wxml" />
|
||
<import src="../../wxParse/wxParse.wxml" />
|
||
<!-- <view class="container" style="background-color: {{info.city == '香港' ? groupid == 19 ? 'rgba(238, 239, 242, 1)' : '' : ''}};"> -->
|
||
<view class="container" wx:if="{{ !loding }}">
|
||
<block wx:if="{{ isUserAuthorization==1 }}">
|
||
<go-login bindislogin="islogin"></go-login>
|
||
</block>
|
||
<header-nav inner-text="Some text" bindgoIsMessage="goIsMessage" bgcolor="{{ groupid == 19 ? 'rgba(238, 239, 242, 1)' : ''}}">信息详情</header-nav>
|
||
<!-- 广告位置 -->
|
||
<block>
|
||
<view class="advertisingSpace">
|
||
<block wx:if="{{ adsposOption == 0}}">
|
||
<image bindtap="statisticsTopAds" data-id="{{ adsTop.id }}" mode="widthFix" src="{{ adsTop.image }}"></image>
|
||
</block>
|
||
<block wx:if="{{ adsposOption == 1}}">
|
||
<swiper autoplay="{{ true }}" duration="1000" current="{{ current }}" interval="3000" circular style="height: {{ imgheights[current] }}rpx;" bindchange="onSlideChangeEnd">
|
||
<swiper-item wx:for="{{ adsTop }}" wx:key="index" class="picture-swiper-item" bindtap="statisticsTopAds" data-id="{{ item.id }}">
|
||
<image id="seiper-image" mode="widthFix" src="{{ item.image }}" bindload="imageLoaded" data-index="{{ index }}"></image>
|
||
</swiper-item>
|
||
</swiper>
|
||
</block>
|
||
</view>
|
||
</block>
|
||
<!-- 品牌公寓的红包弹窗 -->
|
||
<template is="irenCouponReceive" data="{{ irentCouponBig:irentCouponBig,hideCoupon:hideCoupon,irenCouponReceive:irenCouponReceive }}"></template>
|
||
<canvas style="width:288px; height: {{ canvas1 }}px;" canvas-id="mycanvas1"></canvas>
|
||
<canvas style="width: 100vw; height: {{ canvas11 }}px;" canvas-id="mycanvas11"></canvas>
|
||
<!-- 认证房东的页面 -->
|
||
<block wx:if="{{ info.cityid == 1 }}">
|
||
<view class="certification">
|
||
<view class="header" wx:if="{{ groupid == 19 }}">
|
||
<view class="header-left">
|
||
<image class="landlord-avatar" src="{{ info.avatar }}"></image>
|
||
<view class="landlord-info" bindtap="goScrollToEles">
|
||
<view class="landlord-name">{{ info.author }}</view>
|
||
<view class="" style="display: flex;align-items: center;">共 <text class="bold">{{ listingcount }}</text> 个房源 <image wx:if="{{ listingcount > 1}}" class="arr-bottom" src="/img/u1764.svg"></image>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<image class="authentication-icon" bindtap="goApprove" mode="widthFix" src="/img/u30.png"></image>
|
||
</view>
|
||
|
||
<view class="HResource-box {{ groupid != 19 ? 'HResource-box1' : ''}}">
|
||
<view class='title' wx:if="{{ groupid != 19 }}">
|
||
{{ info.subject }}
|
||
</view>
|
||
|
||
<view class='user-info' wx:if="{{ groupid != 19 }}">
|
||
<image src="{{ info.avatar }}"></image> {{ info.author }}
|
||
<image wx:if="{{ groupid == 19 }}" class="authentication-icon" mode="widthFix" src="/img/u30.png"></image>
|
||
<view wx:else class='agent'>{{ info.intermediary_text }}</view>
|
||
<view class='is_rent_btn' wx:if="{{ info.status==2}}">已出租</view>
|
||
</view>
|
||
|
||
<view class="HResource-title" wx:if="{{ groupid == 19 }}">{{ info.subject }}</view>
|
||
<!-- 房源月租和id -->
|
||
<view class="HResource-rentAndId">
|
||
<view class="rent">
|
||
<view class="unit">{{ info.currency || "HK$"}}</view>
|
||
<view class="unit"></view>
|
||
<view class="money">{{ info.rent }}</view>
|
||
<view class="month">
|
||
/{{ info.rentalperiod }}
|
||
</view>
|
||
</view>
|
||
<view class="HResource-id" bindtap="copy" data-num="id" data-hint="已复制房源ID">
|
||
房源ID:{{ info.id }}
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 房源详细信息 -->
|
||
<view class="HResource-detail">
|
||
<view class="HResource-header">
|
||
<!-- 租房类型、合租整租 房间 -->
|
||
<template is="HResource-header-item" data="{{ name: info.gptype,value: info.type }}"></template>
|
||
<!-- 租期 -->
|
||
<template is="HResource-header-item" data="{{ name: '租期', value: info.rentalduration != 0 ? info.rentalduration: '不限' }}"></template>
|
||
<!-- 起租日期 -->
|
||
<template is="HResource-header-item" data="{{ name: '起租日期',value: info.leasetime || '随时' }}"></template>
|
||
</view>
|
||
<view class="HResource-detail-content-item">
|
||
<template wx:if="{{ info.property }}" is="HResource-detail-tier" data="{{ name: '房屋类型', value: info.property }}"></template>
|
||
<template wx:if="{{ info.floor }}" is="HResource-detail-tier" data="{{ name:'所在楼层', value: info.floor }}"></template>
|
||
<template wx:if="{{ info.acreage }}" is="HResource-detail-tier" data="{{ name:'面积', value: info.acreage + (info.cityid==1 ? ' 平方呎':' 平方米') }}"></template>
|
||
<template wx:if="{{ info.gender }}" is="HResource-detail-tier" data="{{ name:'性别要求', value: info.gender }}"></template>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 图片和视频 -->
|
||
<view class="media-box" wx:if="{{ !(info.video.length == 0 && info.picturegroup.length == 0) }}">
|
||
<view class="media-header">
|
||
<block wx:if="{{ info.video.length != 0 }}">
|
||
<image class="video-icon" mode="widthFix" src="/img/u1737.png"></image>
|
||
<text class="media-num">{{ info.video.length }}</text>
|
||
</block>
|
||
<block wx:if="{{ info.images.length != 0 }}">
|
||
<image class="pic-icon" mode="widthFix" src="/img/u1738.png"></image>
|
||
<text class="media-num">{{ info.picturegroup.length }}</text>
|
||
</block>
|
||
</view>
|
||
<view class="media-content">
|
||
<scroll-view class="scroll-view_H" scroll-x="true" style="width: 100%">
|
||
<block wx:if="{{ info.video && info.video.length>0 }}">
|
||
<view class="media-item media-video" wx:for="{{ info.video }}" wx:key="index" bindtap="show_video" data-src="{{ item.url }}">
|
||
<image class="media-video-bj" src="{{ item.image }}"></image>
|
||
<view class="media-video-play">
|
||
<image class="media-video-play-icon" src="/img/videoplay.png"></image>
|
||
<view class="size">{{ item.size }}</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<block wx:if="{{ info.images && info.images.length>0 }}">
|
||
<view class="media-item" wx:for="{{ info.picturegroup }}" wx:key="index">
|
||
<image mode="heightFix" src="{{ item.thumbnail }}" bindtap="preview_img" lazy-load="true" data-index="{{ index }}"></image>
|
||
</view>
|
||
</block>
|
||
</scroll-view>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 地址 -->
|
||
<view class="location-box">
|
||
<view class="location-header">
|
||
<image class="location-icon" mode="widthFix" src="/img/u1695.png"></image>
|
||
{{ info.cityid==1 ? info.location :((info.country || '') +' > ' + (info.city || '')) }}
|
||
</view>
|
||
<!-- 地图 -->
|
||
<block wx:if="{{info.cityid==1 && info.point && info.point.length==2 && info.point[0]>0 && info.point[1]>0 }}">
|
||
<view class="location">
|
||
<map class="map" latitude='{{ info.point[0] }}' longitude='{{ info.point[1] }}' markers="{{ markers }}"></map>
|
||
<view class="location-bj" catchtouchmove="locationmove" bindtap='to_map' data-longitude="{{ info.point[1] || '' }}" data-latitude="{{ info.point[0] || '' }}">
|
||
<view class="location-site" wx:if="{{ info.address }}">
|
||
<image class="tracingPoint" mode="widthFix" src="/img/u1704.png"></image>
|
||
<view class="location-name">{{ info.address }}</view>
|
||
<image class="location-arrows" mode="widthFix" src="/img/u353.svg"></image>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- 附近学校 -->
|
||
<view class="school" bindtap="negation" data-key="academyState">
|
||
<block wx:for="{{ info.pointData }}" wx:key="index">
|
||
<view class="school-item" wx:if="{{ index < 7 }}">
|
||
<text class="school-name">{{ item.alias }}</text>
|
||
<text class="school-distance">{{ item.recently_distance }}km</text>
|
||
</view>
|
||
</block>
|
||
<!-- 更多 -->
|
||
<view class="school-item more">
|
||
<text class="school-name">更多</text>
|
||
<image class="more-icon" src="/img/u1908.svg"></image>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
</view>
|
||
|
||
<!-- 个人情况介绍 -->
|
||
<view class="information-box">
|
||
<view class="information-title">个人情况介绍</view>
|
||
<view class="information-content">
|
||
<template is="wxParse" data="{{wxParseData:info.introduction.nodes }}" />
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 其他描述 -->
|
||
<view class="otherDescription-box">
|
||
<view class="otherDescription-title">其他描述</view>
|
||
<view class="otherDescription-content">
|
||
<template is="wxParse" data="{{wxParseData:info.message.nodes }}" />
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 浏览量等 -->
|
||
<view class="HResourceState">
|
||
<view class="HResourceState-item">浏览:{{ info.count_view*1 + thread.views*1 || '-' }}</view>
|
||
<view class="HResourceState-item">发布:{{ info.timestamp }}</view>
|
||
<view class="HResourceState-item">更新:{{ info.updatetime }}</view>
|
||
</view>
|
||
|
||
<!-- 温馨提示 -->
|
||
<view class="hint-box">
|
||
<view class='disclaimer'>温馨提示:房源信息及身份认证资料,均由平台用户提供,发布者对其真实性、合法性等负责,平台不负责甄别和审核具体内容真实性和有效性等,请务必仔细核实相关信息,谨防上当受骗。</view>
|
||
<view class='ad-contact' bindtap="copyWebsite">公寓/酒店/中介房源推广合作请联系ad@gter.net</view>
|
||
</view>
|
||
</view>
|
||
|
||
<image wx:if="{{ service }}" show-menu-by-longpress class="popularize" bindtap="copyy" src="{{ service }}" mode="widthFix"></image>
|
||
|
||
<!-- 其他房源 -->
|
||
<view class="else" id="else" wx:if="{{ groupid == 19 && listingcount != 1}}">
|
||
<view class="else-title">Ta的其他房源<text style="font-weight: 500;">({{ listingcount - 1 }})</text></view>
|
||
<view class="else-list">
|
||
<block wx:for="{{ elseResourceData }}" wx:key="index">
|
||
<template is="personalList" data="{{ item }}"></template>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 底部操作栏 -->
|
||
<view class="footer1" style="padding-bottom: {{ bottomLift }}rpx;">
|
||
<!-- 收藏 -->
|
||
<view class="collect" catchtap="add_to_fav">
|
||
<image class="collect-icon" wx:if="{{ isfav }}" src="/img/star-yellow.png"></image>
|
||
<image class="collect-icon" wx:else src="/img/u1970.png"></image>
|
||
<text class="collect-num">{{ info.count_fav == 0 ? '收藏' : info.count_fav }}</text>
|
||
</view>
|
||
<!-- 转发 -->
|
||
<!-- <button class="transpond" open-type="share"> -->
|
||
<button class="transpond" bindtap="share_pic">
|
||
<image class="transpond-icon" mode="widthFix" src="/img/u1975.png"></image>
|
||
<text class="transpond-num">转发</text>
|
||
</button>
|
||
<!-- 联系方式 -->
|
||
<view class="contactInformation" catchtap="negation" data-key="contactInformationState">联系方式</view>
|
||
</view>
|
||
|
||
<!-- 联系方式弹窗 -->
|
||
<view class="root-portal" wx:if="{{ contactInformationState }}" catchtouchmove="locationmove">
|
||
<view class="contactInformation-pop">
|
||
<!-- 关闭 -->
|
||
<image class="pop-close" bindtap="negation" data-key="contactInformationState" src="/img/u1849.svg"></image>
|
||
<view class="contactInformation-headline">联系方式</view>
|
||
<view class="contactInformation-box">
|
||
<!-- 微信二维码 -->
|
||
<block wx:if="{{ info.wechatdata.aid > 0 }}">
|
||
<view class="contactInformation-item">
|
||
<!-- 黄圈 -->
|
||
<view class="yellowSpot-outer">
|
||
<view class="yellowSpot-inside"></view>
|
||
</view>
|
||
<view class="contactInformation-title">微信</view>
|
||
<view class="contactInformation-content">
|
||
<view class="contactInformation-left">
|
||
<view>长按二维码添加好友<image src="/img/u1803.svg"></image>
|
||
</view>
|
||
<view>备注:寄托租房</view>
|
||
</view>
|
||
<view class="contactInformation-right">
|
||
<image class="contactInformation-icon" show-menu-by-longpress="true" src="{{ info.wechatdata.url }}"></image>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
|
||
<!-- 微信号 -->
|
||
<block wx:if="{{ info.wechat }}">
|
||
<template is="certificationContact" data="{{ name: '微信号' ,value:info.wechat,num: 'wechat' }}"></template>
|
||
</block>
|
||
|
||
<!-- WhatsApp -->
|
||
<block wx:if="{{ info.whatsapp }}">
|
||
<template is="certificationContact" data="{{ name: 'WhatsApp' ,value:info.whatsapp,num: 'whatsapp' }}"></template>
|
||
</block>
|
||
|
||
<!-- 电话号码 -->
|
||
<block wx:if="{{ info.tel }}">
|
||
<template is="certificationContact" data="{{ name: '电话号码' ,value:info.tel,num: 'tel',dial: true }}"></template>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- 房源距离院校弹窗 -->
|
||
<view class="root-portal" wx:if="{{ academyState }}" catchtouchmove="locationmove">
|
||
<view class="root-portal-bj"></view>
|
||
<view class="academy-pop">
|
||
<!-- 关闭 -->
|
||
<image class="pop-close" bindtap="negation" data-key="academyState" src="/img/u1849.svg"></image>
|
||
<view class="academy-headline">房源距离院校</view>
|
||
<view class="academy-box">
|
||
<scroll-view scroll-y style="height: 100%;">
|
||
<view class="academy-item">
|
||
<view class="academy-title">
|
||
<view class="academy-icon-box">
|
||
<image class="academy-icon" src="/img/u1827.png"></image>
|
||
</view>
|
||
<view class="academy-place">
|
||
{{ info.address }}
|
||
</view>
|
||
</view>
|
||
<view class="school-list"></view>
|
||
</view>
|
||
<view class="academy-item" wx:for="{{ info.pointData }}" wx:key="index">
|
||
<view class="academy-title">
|
||
<view class="academy-icon-box">
|
||
<image class="academy-icon" src="/img/u1834.png"></image>
|
||
</view>
|
||
<view class="academy-place">
|
||
{{ item.name }}
|
||
</view>
|
||
</view>
|
||
<view class="school-list">
|
||
<view class="school-item" wx:for="{{ item.point }}" wx:for-item="it" wx:for-index="i" wx:key="index">
|
||
<view class="school-name">{{ it.title }}</view>
|
||
<view class="school-distance">{{ it.distance }} km</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</scroll-view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<block wx:else>
|
||
<view class='toptips'>
|
||
<view class='i'>
|
||
<image class='eye' src="../../img/eye.png" />{{ info.count_view*1 + thread.views*1 || '-' }}
|
||
</view>
|
||
<view class='i'>
|
||
<image class='star' src="../../img/star.png" />{{ info.count_fav }}
|
||
</view>
|
||
<view class='i'>
|
||
<image class='time' src="../../img/time.png" />{{ info.updatetime }}更新
|
||
</view>
|
||
</view>
|
||
<view class='title'>
|
||
{{ info.subject }}
|
||
<image class='isvideo' wx:if="{{ info.video&& info.video.length>0 }}" src="../../img/videologo.png" />
|
||
<image class='img' wx:if="{{ info.images&& info.images.length>0 }}" src="../../img/pics.jpg" />
|
||
<image class='ischecked' wx:if="{{ info.verified==1 }}" src="../../img/ischecktext.png" />
|
||
</view>
|
||
<view class='user-info'>
|
||
<image src="{{ info.avatar }}"></image> {{ info.author }}
|
||
<image wx:if="{{ groupid == 19 }}" mode="heightFix" class="authentication-icon" src="/img/u30.png"></image>
|
||
<view wx:else class='agent'>{{ info.intermediary_text }}</view>
|
||
<view class='is_rent_btn' wx:if="{{ info.status==2}}">已出租</view>
|
||
</view>
|
||
<view class='table'>
|
||
<view class='cell'>
|
||
<view>{{ info.gptype }}</view>
|
||
<view class='red'>{{ info.type }}</view>
|
||
</view>
|
||
<view class='cell'>
|
||
<view>{{ info.currency || "HK$"}}/{{ info.rentalperiod }}</view>
|
||
<view class='num'>{{ info.rent }}</view>
|
||
</view>
|
||
</view>
|
||
<view class='item-box'>
|
||
|
||
<view class='item'>
|
||
<view class='name'>房屋类型</view>
|
||
<view class='c'>{{ info.property }}</view>
|
||
</view>
|
||
<view class='item'>
|
||
<view class='name'>所在楼层</view>
|
||
<view class='c'>{{ info.floor }}</view>
|
||
</view>
|
||
<view class='item' wx:if="{{ info.acreage }}">
|
||
<view class='name'>面积</view>
|
||
<view class='c'>{{ info.acreage }}(平方{{info.cityid==1 ? "呎":"米"}})</view>
|
||
</view>
|
||
<view class='item'>
|
||
<view class='name'>性别要求</view>
|
||
<view class='c'>{{ info.gender }}</view>
|
||
</view>
|
||
<!-- <view class='item' wx:if="{{ info.leaseterm >0 }}"> -->
|
||
<view class='item'>
|
||
<view class='name'>出租时长</view>
|
||
<!-- <view class='c'>{{ info.rentalduration ? info.rentalduration+"个月" : (info.leaseterm ==1?"长租":"短租" ) }}</view> -->
|
||
<view class='c'>{{ info.rentalduration != 0 ? info.rentalduration: '不限' }}</view>
|
||
</view>
|
||
<view class='item'>
|
||
<view class='name'>起租日期</view>
|
||
<view class='c'>{{ info.leasetime || "随时" }}</view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="map-box" id="contract">
|
||
<view class='name'>地理位置</view>
|
||
<block>
|
||
<!-- 区域 -->
|
||
<view class='traffic'>
|
||
<image src='/img/quyu.png'></image>
|
||
<view class='text'>
|
||
<view class='intro'>
|
||
<view class="item tomap">
|
||
<view>{{ info.cityid==1 ? info.location :((info.country || '') +' > ' + (info.city || '')) }}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- 地址 -->
|
||
<view class='traffic' wx:if="{{ info.address }}" bindtap='to_map' data-longitude="{{ info.point[1] || '' }}" data-latitude="{{ info.point[0] || '' }}">
|
||
<image src='../../img/traffic-location.png'></image>
|
||
<view class='text'>
|
||
<view class='intro'>
|
||
<view class="item tomap">
|
||
<view>{{ info.address }}</view>
|
||
<image src='../../img/back.png' wx:if="{{ info.cityid==1 && info.point && info.point.length==2 && info.point[0]>0 && info.point[1]>0}}">
|
||
</image>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- 地图 香港且有坐标,坐标>0才出现 -->
|
||
<block wx:if="{{info.cityid==1 && info.point && info.point.length==2 && info.point[0]>0 && info.point[1]>0 }}">
|
||
<map latitude='{{ info.point[0] }}' longitude='{{ info.point[1] }}' markers="{{ markers }}">
|
||
<cover-view class='clickmap' bindtap='to_map' data-longitude="{{ info.point[1] }}" data-latitude="{{ info.point[0] }}"></cover-view>
|
||
</map>
|
||
<!-- 香港的附近学校只在有地图的时候出现 -->
|
||
<view class="aroundSchool">
|
||
<view class="li" wx:for="{{ info.pointData }}" wx:if="{{ index<3 }}" wx:key="index">
|
||
<view class="schoolname">{{ item.name}}</view>
|
||
<view class="distance">{{ item.recently_text }}</view>
|
||
</view>
|
||
</view>
|
||
<view class="showmore" wx:if="{{ info.pointData &&info.pointData.length>0 }}" bindtap="showSchoolAlert" data-show="1">显示更多</view>
|
||
</block>
|
||
|
||
</block>
|
||
<block wx:if="{{ info.cityid!=1 && info.school.length>0 }}">
|
||
<view class='traffic'>
|
||
<image src='/img/school.png' class="around-school-img"></image>
|
||
<view class='text'>
|
||
<view class='intro'>
|
||
<view class="item tomap">
|
||
<view>附近学校</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="school-list">
|
||
<view class="li" wx:for="{{ info.school }}" wx:key="index">
|
||
<view class="point"></view>
|
||
<view class="school">
|
||
<view class="name">{{ item.name }}</view>
|
||
<view class="gate">{{ item.distance }}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
</view>
|
||
<view id="relation">
|
||
<view class='wechart' wx:if="{{ info.wechat }}">
|
||
<view class='name'>微信号</view>
|
||
<view class='num'>{{ info.wechat }}</view>
|
||
<view class='btn' data-num="wechat" bindtap="copy">
|
||
<image class='copy' src="../../img/copy-blue.png" />
|
||
</view>
|
||
</view>
|
||
<view class='wechart' wx:if="{{ info.wechatdata.aid > 0 }}">
|
||
<view class='name'>微信二维码</view>
|
||
<view class='num'>{{ '点击右侧图标打开二维码' }}</view>
|
||
<view class='btn' bindtap="openQRCode">
|
||
<image class='copy' src="../../img/u16.svg" />
|
||
</view>
|
||
</view>
|
||
<view class='wechart' wx:if="{{ info.whatsapp }}">
|
||
<view class='name'>WhatsApp</view>
|
||
<view class='num'>{{ info.whatsapp }}</view>
|
||
<view class='btn' data-num="whatsapp" bindtap="copy">
|
||
<image class='copy' src="../../img/copy-blue.png" />
|
||
</view>
|
||
</view>
|
||
<view class='wechart' wx:if="{{ info.tel }}">
|
||
<view class='name'>电话号码</view>
|
||
<view class='num'>{{ info.tel }}</view>
|
||
<view class='btn' data-num="tel" bindtap="call_us">
|
||
<image class='copy' src="../../img/call-blue.png" />
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class='info'>
|
||
<view class='name'>
|
||
个人情况介绍
|
||
</view>
|
||
<view class='conent'>
|
||
<template is="wxParse" data="{{wxParseData:info.introduction.nodes }}" />
|
||
<!-- <view class="color-9" wx:if="!info.introduction || !info.introduction.nodes">暂无</view> -->
|
||
</view>
|
||
</view>
|
||
<view class='info'>
|
||
<view class='name'>
|
||
其他描述
|
||
</view>
|
||
<view class='conent'>
|
||
<template is="wxParse" data="{{wxParseData:info.message.nodes }}" />
|
||
<!-- <view class="color-9" wx:if="!info.message || !info.message.nodes">暂无</view> -->
|
||
</view>
|
||
</view>
|
||
<view wx:if="{{ info.video && info.video.length>0 }}" class="video-box">
|
||
<view class='name'>共{{ info.video.length }}个视频</view>
|
||
<view wx:for="{{ info.video }}" wx:key="index" class='item' data-src="{{ item.url }}" bindtap='show_video'>
|
||
<image src='../../img/videoplay.png'></image>
|
||
<view class='num'>{{ item.size }}</view>
|
||
</view>
|
||
</view>
|
||
<view wx:if="{{ info.images && info.images.length>0 }}">
|
||
<view class="images" wx:for="{{ info.images }}" wx:key="index">
|
||
<image src="{{ item }}" style="height:{{image_height[index]}}px" bindload="imageLoad" mode="aspectFill" bindtap='preview_img' data-index="{{ index }}" />
|
||
</view>
|
||
</view>
|
||
<view class="house-id" bindtap="copy" data-num="id">
|
||
<view class="id">房源ID:{{ info.id }}</view>
|
||
<view>轻点即可复制此编号</view>
|
||
</view>
|
||
<ads item="{{ adv }}" wx:if="{{ adv }}" bindclickAD="clickAD" bindcloseAD="closeAD"></ads>
|
||
<view class='disclaimer'>温馨提示:房源信息及身份认证资料,均由平台用户提供,发布者对其真实性、合法性等负责,平台不负责甄别和审核具体内容真实性和有效性等,请务必仔细核实相关信息,谨防上当受骗。</view>
|
||
<view class='ad-contact' bindtap="copyWebsite">公寓/酒店/中介房源推广合作请联系ad@gter.net</view>
|
||
|
||
<!-- 加入 QRCodeState 判断原因 需要加入点击弹出二维码,但是底部使用 cover-view 组件图层最高,会出现在 二维码层,解决办法是隐藏底部 -->
|
||
<view class="detailFooter" wx:if="{{ !QRCodeState }}">
|
||
<!-- 发布者本人 -->
|
||
<cover-view class='fixfooter' wx:if="{{ isself }}">
|
||
<cover-view class='item'>
|
||
<!-- <cover-view bindtap='toindex' class='cells'>
|
||
<cover-image class='index' src="../../img/indexblack.png"></cover-image>
|
||
</cover-view> -->
|
||
<cover-view class='cells' bindtap="add_to_fav">
|
||
<cover-image class='star-bottom' src="../../img/star-yellow.png" wx:if="{{ isfav }}"></cover-image>
|
||
<cover-image class='star-bottom' src="../../img/staro.png" wx:if="{{ !isfav }}"></cover-image>
|
||
</cover-view>
|
||
<cover-view class='cells' bindtap="share_pic">
|
||
<cover-image class='share' src="../../img/share.png"></cover-image>
|
||
</cover-view>
|
||
<navigator class='cells' url="../edit/edit?uniqid={{ uniqid }}&token={{ token }}&types=edit">
|
||
<cover-image class='pen' src="../../img/pen.png"></cover-image>
|
||
</navigator>
|
||
</cover-view>
|
||
</cover-view>
|
||
|
||
<!-- 不是发布者本人 -->
|
||
<cover-view class='fixfooter' wx:if="{{ !isself }}">
|
||
<cover-view class='item'>
|
||
<!-- <cover-view bindtap='toindex' class='cells'>
|
||
<cover-image class='index' src="/img/indexblack.png"></cover-image>
|
||
</cover-view> -->
|
||
<cover-view class='cells' bindtap="add_to_fav">
|
||
<cover-image class='star-bottom' src="/img/star-yellow.png" wx:if="{{ isfav }}"></cover-image>
|
||
<cover-image class='star-bottom' src="/img/staro.png" wx:if="{{ !isfav }}"></cover-image>
|
||
</cover-view>
|
||
<cover-view class='cells' bindtap="share_pic">
|
||
<cover-image class='share' src="/img/share.png"></cover-image>
|
||
</cover-view>
|
||
|
||
</cover-view>
|
||
<!--来源为小程序 -->
|
||
<cover-view class='item phone' wx:if="{{ info.wechat || info.tel || info.whatsapp || info.wechatdata.aid }}" bindtap="to_message">联系方式</cover-view>
|
||
</cover-view>
|
||
|
||
<!--分享弹层 -->
|
||
<!-- <cover-view class='share-box' wx:if="{{share }}">
|
||
<cover-view class='whitebox' bindtap="close_share"></cover-view>
|
||
<cover-view class='box'>
|
||
<cover-view class='name'>分享</cover-view>
|
||
<cover-view wx:if="{{ show_naviagate }}" class='item' url="../share/share" bindtap="to_share">
|
||
<cover-image class='download image' src="/img/download.png"></cover-image>
|
||
<cover-view>生成分享海报</cover-view>
|
||
</cover-view>
|
||
<button class='item' open-type="share">
|
||
<cover-image class='wechat image' src="/img/wechat.png"></cover-image>
|
||
<cover-view>转发给好友</cover-view>
|
||
</button>
|
||
</cover-view>
|
||
</cover-view> -->
|
||
|
||
<!--保存海报图层 -->
|
||
<cover-view class='share-box' wx:if="{{ show_share_box }}">
|
||
<cover-view class='whitebox' bindtap="close_share"></cover-view>
|
||
<cover-view class='box'>
|
||
<cover-view class='title'>海报已保存到系统相册</cover-view>
|
||
<cover-view class='tips'>快去分享给小伙伴们吧</cover-view>
|
||
<cover-view class='btn' bindtap="close_share">知道了</cover-view>
|
||
</cover-view>
|
||
</cover-view>
|
||
</view>
|
||
<cover-view class="around-school-alert" data-show="0" hidden="{{ !showSchool }}">
|
||
<cover-view class="inner">
|
||
<cover-view class="title">
|
||
<cover-view class="text">房源距离学校</cover-view>
|
||
<cover-image src="/img/right-close.png" class="close" bindtap="showSchoolAlert" data-show="0"></cover-image>
|
||
</cover-view>
|
||
<cover-view class="list">
|
||
<cover-view class="item" wx:for="{{ info.pointData }}" wx:key="index">
|
||
<cover-view class="school">
|
||
<cover-image class="icon" src="/img/school.png"></cover-image>
|
||
<cover-view class="name">{{ item.name }}</cover-view>
|
||
</cover-view>
|
||
<cover-view class="distance-list" wx:for="{{ item.point }}" wx:for-item="s" wx:for-index="i" wx:key="i">
|
||
<cover-view class="gate">{{ s.title }}</cover-view>
|
||
<cover-view class="distance">{{ s.distance }}公里</cover-view>
|
||
</cover-view>
|
||
</cover-view>
|
||
</cover-view>
|
||
</cover-view>
|
||
</cover-view>
|
||
</block>
|
||
|
||
</view>
|
||
|
||
<!-- 反馈 -->
|
||
<!-- 特殊处理:因为在反馈里面使用了 cover-view ,所以需要在弹出弹窗的时候隐藏反馈按钮 -->
|
||
<block wx:if="{{ !(contactInformationState || academyState || QRCodeState) }}">
|
||
<report uniqid="{{ info.uniqid}}" bindtoReport="toReport" types="housing"></report>
|
||
</block>
|
||
|
||
<!-- 点击展示二维码的 -->
|
||
<view class="QRCode" wx:if="{{ QRCodeState }}">
|
||
<image class="QRCode-img" mode="widthFix" src="{{ info.wechatdata.url }}" show-menu-by-longpress="true"></image>
|
||
<view class="QRCodeClose" bindtap="openQRCode">
|
||
<image class="QRCodeClose-img" src="/img/plusf.png"></image>
|
||
</view>
|
||
</view>
|
||
|
||
|
||
<!-- 认证房东的 联系方式模板 -->
|
||
<template name="certificationContact">
|
||
<view class="contactInformation-item">
|
||
<!-- 黄圈 -->
|
||
<view class="yellowSpot-outer">
|
||
<view class="yellowSpot-inside"></view>
|
||
</view>
|
||
<view class="contactInformation-title">{{ name }}</view>
|
||
<view class="contactInformation-content">
|
||
<view class="contactInformation-left">
|
||
<view>{{ value }}</view>
|
||
</view>
|
||
<view class="contactInformation-right">
|
||
<view class="type-dial" wx:if="{{ dial }}" bindtap="call_us">拨打</view>
|
||
<view class="type-btn" bindtap="copy" data-num="{{ num }}">复制</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<!-- 香港房源的详细详细表格 房屋类型 楼层 -->
|
||
<template name="HResource-detail-tier">
|
||
<view class="HResource-detail-tier">
|
||
<view class="HResource-detail-name">{{ name }}</view>
|
||
<view class="HResource-detail-value">{{value}}</view>
|
||
</view>
|
||
</template>
|
||
<!-- 香港房源的详细详细表格 整租、 房屋类型 楼层 -->
|
||
<template name="HResource-header-item">
|
||
<view class="HResource-header-item">
|
||
<view class="HResource-header-top">
|
||
<image class="HResource-arrows" mode="widthFix" src="/img/u1638.svg"></image>
|
||
<view class="HResource-header-top-text">{{ name }}</view>
|
||
</view>
|
||
<view class="HResource-header-bottom">
|
||
<view class="HResource-arrows"></view>
|
||
<view class="HResource-header-bottom-text">{{ value }}</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<!--分享弹层 -->
|
||
<view class="detailFooter">
|
||
<cover-view class='share-box' wx:if="{{share }}">
|
||
<cover-view class='whitebox' bindtap="close_share"></cover-view>
|
||
<cover-view class='box'>
|
||
<cover-view class='name'>分享</cover-view>
|
||
<cover-view wx:if="{{ show_naviagate }}" class='item' url="../share/share" bindtap="to_share">
|
||
<cover-image class='download image' src="/img/download.png"></cover-image>
|
||
<cover-view>生成分享海报</cover-view>
|
||
</cover-view>
|
||
<button class='item' open-type="share">
|
||
<cover-image class='wechat image' src="/img/wechat.png"></cover-image>
|
||
<cover-view>转发给好友</cover-view>
|
||
</button>
|
||
</cover-view>
|
||
</cover-view>
|
||
</view> |