A1300399510 d2e863a889 提交
2023-05-10 19:35:30 +08:00

824 lines
39 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>
<view class="certification resource-beg" wx:if="{{ info.intermediary == 6 }}">
<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 flexcenter'>{{ info.intermediary_text }}</view>
<!-- <view wx:else class='agent flexcenter'>{{ langs['intermediary'][info.intermediary]}}</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="rent-label flexcenter">预算</view>
<view id="unit" class="unit">{{ info.currency || "HK$"}}</view>
<view class="money">{{ info.rent }}</view>
<view class="month">
/{{ info.rentalperiod }}
</view>
</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>
<!-- 基本要求 -->
<view class="HResource-item basic-ask-for">
<view class="HResource-item-head flexacenter">
<image class="HResource-item-head-icon" src="/img/ask-for.png" mode="widthFix"></image>
基本要求
</view>
<view class="HResource-item-list basic-list-aLine">
<block wx:for="{{ basicRequirementsList }}" wx:key="index">
<view class="basic-item-aLine flexacenter" wx:if="{{ info[item.key] != null && info[item.key] != undefined && info[item.key] != '' }}">
<view class="basic-aLine-key">{{ item.name }}</view>
<view class="basic-aLine-value flex1" wx:if="{{ item.key == 'acreage' }}">{{ info[item.key] + ' 平方呎' }}</view>
<view class="basic-aLine-value flex1" wx:elif="{{ (item.key == 'sunshinearea' || item.key == 'property') && info[item.key] != 0 }}">
<block wx:for="{{ info[item.key] }}" wx:for-item="it" wx:key="index">
{{ langs[item.key][it] }} {{ index == info[item.key].length - 1 ? '' : '/' }}
</block>
</view>
<view class="basic-aLine-value flex1" wx:elif="{{ (item.key == 'sunshinearea' || item.key == 'property') && info[item.key] == 0 }}">
不限
</view>
<view class="basic-aLine-value flex1" wx:elif="{{ item.key == 'gender' || item.key == 'publishergender' }}">
{{ langs['gender'][info[item.key]] }}
</view>
<view class="basic-aLine-value flex1" wx:elif="{{ item.key == 'elevator' }}">
{{ langs[item.key][info[item.key]] }}
</view>
<view class="basic-aLine-value flex1" wx:else>{{ info[item.key] }}</view>
</view>
</block>
</view>
</view>
<!-- 目标区域 -->
<view class="HResource-item">
<view class="HResource-item-head flexacenter">
<image class="HResource-item-head-icon" src="/img/ask-for.png" mode="widthFix"></image>
目标区域
</view>
<view class="HResource-item-list target-area-list">
<view class="target-area-item flexacenter" wx:for="{{ info.locationList }}" wx:key="index">
{{ item.head }}<view class="target-area-arrows flexcenter">
<image class="target-area-arrows-icon" mode="widthFix" src="/img/Back.svg"></image>
</view>{{ item.end }}
</view>
</view>
</view>
<!-- 求租描述 -->
<view class="HResource-item" wx:if="{{ info.introduction }}">
<view class="HResource-item-head flexacenter">
<image class="HResource-item-head-icon" src="/img/ask-for.png" mode="widthFix"></image>
求租描述
</view>
<view class="HResource-item-list rent-seeking-description">
<template is="wxParse" data="{{wxParseData:info.introduction.nodes }}" />
</view>
</view>
<!-- 房源数据 -->
<view class="HResource-item">
<template is="HResourceState" data="{{ info }}"></template>
</view>
<!-- 免责声明 -->
<template is="disclaimer" data="{{ info }}"></template>
<image wx:if="{{ service }}" show-menu-by-longpress class="popularize" bindtap="copyy" src="{{ service }}" mode="widthFix"></image>
<!-- 底部 -->
<template is="footer1" data="{{ info,isfav,bottomLift,bottomUnitState }}"></template>
<!-- 联系方式弹窗 -->
<view class="root-portal" wx:if="{{ contactInformationState }}" catchtouchmove="locationmove">
<template is="root-portal" data="{{ info }}"></template>
</view>
</view>
</view>
<!-- 认证房东的页面 -->
<block wx:elif="{{ 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 flexcenter'>{{ 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="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: langs['property'][info.property] }}"></template>
<template wx:if="{{ info.floor }}" is="HResource-detail-tier1" data="{{ name:'所在楼层', value1: info.floor,value2: langs['elevator'][info['elevator']] }}"></template>
<template wx:if="{{ info.sunshinearea }}" is="HResource-detail-tier" data="{{ name:'晾晒区', value: langs['sunshinearea'][info['sunshinearea']] }}"></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: langs['gender'][info.gender] }}"></template>
</view>
</view>
<!-- 图片和视频 -->
<view class="media-box" wx:if="{{ (info.video && info.video.length != 0) || (info.picturegroup && info.picturegroup.length != 0) }}">
<view class="media-header">
<block wx:if="{{ info.video && 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 && 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 || '')) }} -->
{{ info.locationList[0].head + ' > ' + info.locationList[0].end }}
</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" wx:if="{{ info.introduction }}">
<view class="information-title">个人情况介绍</view>
<view class="information-content">
<template is="wxParse" data="{{wxParseData:info.introduction.nodes }}" />
</view>
</view>
<!-- 其他描述 -->
<view class="otherDescription-box" wx:if="{{ info.message }}">
<view class="otherDescription-title">其他描述</view>
<view class="otherDescription-content">
<template is="wxParse" data="{{wxParseData:info.message.nodes }}" />
</view>
</view>
<!-- 浏览量等 -->
<template is="HResourceState" data="{{ info }}"></template>
<!-- 温馨提示 -->
<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>
<!-- 底部操作栏 -->
<template is="footer1" data="{{ bottomLift, info, isfav,bottomUnitState }}"></template>
<!-- 联系方式弹窗 -->
<view class="root-portal" wx:if="{{ contactInformationState }}" catchtouchmove="locationmove">
<template is="root-portal" data="{{ info }}"></template>
</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 || '-' }} -->
<image class='eye' src="../../img/eye.png" />{{ info.count_view || '-' }}
</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 flexcenter'>{{ 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'>
<view class='name'>出租时长</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="{{ 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-detail-tier1">
<view class="HResource-detail-tier">
<view class="HResource-detail-name">{{ name }}</view>
<view class="HResource-detail-value flexacenter">{{ value1 }}
<block wx:if="{{ value2 }}">
<view class="HResource-detail-vertical"></view>{{ value2 }}
</block>
</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>
<!-- 免责声明 -->
<template name="disclaimer">
<view class="disclaimer">
<view class="disclaimer-title">免责声明</view>
<view class="disclaimer-item" bindtap="publicCopy" data-value="{{ info.id }}"><text>房源ID{{ info.id }}</text>(点击可复制)</view>
<view class="disclaimer-item">发布者对房源信息的真实性、合法性等负责,平台不负责甄别和审核具体内容真实性和有效性等,请务必仔细核实相关信息,谨防上当受骗。</view>
<view class="disclaimer-item">如房源信息中有内容侵犯了您的合法权益,可点击屏幕右侧的举报或联系寄托方同学<view bindtap="publicCopy" data-value="gternet2">(微信号<text>gternet2</text>,点击可复制)</view>,我们会及时处理。谢谢!</view>
<view class="disclaimer-item">公寓/酒店/中介房源推广合作请联系:<view bindtap="publicCopy" data-value="ad@gter.net"><text>ad@gter.net</text>(点击可复制)</view>
</view>
</view>
</template>
<!-- 浏览量等 -->
<template name="HResourceState">
<view class="HResourceState">
<view class="HResourceState-item">浏览:{{ info.count_view || '-' }}</view>
<view class="HResourceState-item">发布:{{ info.timestamp }}</view>
<view class="HResourceState-item">更新:{{ info.updatetime }}</view>
</view>
</template>
<!-- 联系方式弹窗 -->
<template name="root-portal">
<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>
</template>
<!-- 底部操作栏 -->
<template name="footer1">
<view class="footer1" style="padding-bottom: {{ bottomLift }}rpx;">
<view class="rent-budget flexflex" wx:if="{{ info.intermediary == 6 && bottomUnitState }}">
<view class="rent-budget-money">{{ info.rent }}</view>
<view class="">租金预算</view>
</view>
<!-- 收藏 -->
<view class="flexacenter">
<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" bindtap="share_pic">
<image class="transpond-icon" mode="widthFix" src="/img/u1975.png"></image>
<text class="transpond-num">转发</text>
</button>
</view>
<!-- 联系方式 -->
<view class="contactInformation" catchtap="negation" data-key="contactInformationState">联系方式</view>
</view>
</template>