472 lines
21 KiB
Plaintext
472 lines
21 KiB
Plaintext
<import src="../../wxParse/wxParse.wxml" />
|
||
<template name="hot_btn">
|
||
<view class="hot-btn">HOT</view>
|
||
</template>
|
||
|
||
<template name="tobottom">
|
||
<image class='tobottom' src="../../img/tobottom.png" />
|
||
</template>
|
||
<template name="location">
|
||
<image class='location' src="../../img/location.png" />
|
||
</template>
|
||
<template name="search">
|
||
<image class='searchbtn' src="../../img/searchbtn.png" />
|
||
</template>
|
||
|
||
<template name="list">
|
||
<navigator class='info-list' url="../show/show?tid={{ item.tid }}&uniqid={{ item.uniqid }}&cityid={{ item.currency == '港元' ? 1 : ''}}">
|
||
<form bindsubmit="send_form_id" report-submit='true' data-types="confirm" class='submit-form'>
|
||
<view class='title'>
|
||
<image class='newbtn' wx:if="{{ item.isnew }}" src="../../img/newbtn.png" />
|
||
<image class='hotbtn' wx:if="{{ item.ishot }}" src="../../img/hotbtn.png" />
|
||
<image class='videobtn' wx:if="{{ item.isvideo }}" src="../../img/videologo.png" />
|
||
<image src="../../img/pics.jpg" wx:if="{{ item.ispic }}" class='imgbtn'></image>
|
||
{{ item.subject }}
|
||
<image wx:if="{{ item.verified==1 }}" class="ischeck" src="/img/ischeck.png"></image>
|
||
</view>
|
||
<view class='tips'>
|
||
<view class='i' wx:if="{{ item.location }}">{{ item.location }}</view>
|
||
<view class='i' wx:if="{{ item.type }}">{{ item.type }}</view>
|
||
<view class='i' wx:if="{{ item.acreage }}">{{ item.acreage }}平方{{ item.currency == '港元' ? '呎' : '米'}}</view>
|
||
<view class='i' wx:if="{{ item.gender }}">{{ item.gender }}</view>
|
||
<view class='i' wx:if="{{ item.leaseterm }}">{{ item.leaseterm ==1 ?'长租':(item.leaseterm ==2 ?'短租' :'')}}</view>
|
||
</view>
|
||
<view class='footer'>
|
||
<view class='l'>
|
||
{{ item.currency }}
|
||
<view class='num'>{{ item.rent }}</view>/{{ item.rentalperiod || '月' }}
|
||
</view>
|
||
|
||
<!-- 认证房东 -->
|
||
<block wx:if="{{ item.groupid == 19 }}">
|
||
<image class="authentication-icon" mode="widthFix" src="/img/u30.png"></image>
|
||
</block>
|
||
<block wx:elif="{{ item.intermediary != 2 && item.intermediary != 5 }}">
|
||
<view class='agent'>{{ item.intermediary_text }}</view>
|
||
</block>
|
||
|
||
<view class='footer-right'>
|
||
<view class='see' wx:if="{{item.count_view >0 }}">
|
||
<image src="../../img/eye.png" />{{ item.count_view }}
|
||
</view>
|
||
<view class='stars' wx:if="{{item.count_fav >0 }}">
|
||
<image src="../../img/star.png" />{{ item.count_fav }}
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class='publish_tips' wx:if="{{ item.status==0 }}" style="margin-top:30rpx;">
|
||
<view class="caution">
|
||
<view class="caution-baitiao"></view>
|
||
</view> 该信息尚未发布
|
||
</view>
|
||
<button form-type="submit" hover-class="none" type="default" size="mini"></button>
|
||
</form>
|
||
</navigator>
|
||
</template>
|
||
|
||
<!--二级选项 -->
|
||
<template name="select2">
|
||
<view class='select-options2' wx:if="{{ data.show }}">
|
||
<view class='black' bindtap='close_alert' bindtap='close_alert' data-box="{{ data.title }}"></view>
|
||
<view class='tab-box'>
|
||
<view class="{{ data.tab=='level1' ?'tab active' :'tab red'}}" bindtap='change_select_tab' data-title="{{ data.title }}" data-tab="level1">{{ data.tab=='level1' ?(data.title=='location' ? '区域' :'一级'):data.level1_name }}</view>
|
||
<view class="{{ data.tab=='level2' ?'tab active' :'tab'}}" bindtap='change_select_tab' data-title="{{ data.title }}" data-tab="level2">{{ data.title=='location' ? '范围' :'二级' }}</view>
|
||
</view>
|
||
<view class='box' wx:if="{{ data.tab=='level1' }}">
|
||
<view class='li' wx:for="{{ data.level1 }}" data-name="{{ item }}" data-title="{{ data.title }}" data-value="{{ index }}" wx:key="index" bindtap='select_options2_value' data-tab="level1">
|
||
{{ item }}
|
||
<image src='../../img/right.png' wx:if="{{ index == data.level1_value }}"></image>
|
||
</view>
|
||
</view>
|
||
<view class='box' wx:if="{{ data.tab=='level2' }}">
|
||
<view class='li' wx:key="index" wx:for="{{ data.level2[data.level1_value] }}" data-name="{{ item }}" data-title="{{ data.title }}" data-value="{{ index }}" bindtap='select_options2_value' data-tab="level2">
|
||
{{ item }}
|
||
<image src='../../img/right.png' wx:if="{{ index==data.level2_value }}"></image>
|
||
</view>
|
||
</view>
|
||
<view class='cle' bindtap='close_box' data-title="{{ data.title }}">取消</view>
|
||
<!-- <view class='submit' wx:if="{{ data.tab=='level2' }}">完成</view> -->
|
||
</view>
|
||
</template>
|
||
|
||
<!--一级选项 -->
|
||
<template name="select1">
|
||
<view class='select-options1' wx:if="{{ data.show }}">
|
||
<view class='black' bindtap='close_alert' data-box="{{ data.title }}"></view>
|
||
<view class='box'>
|
||
<view class='li' wx:for="{{ data.list }}" wx:key="index" data-title="{{ data.title }}" data-name="{{ item }}" data-value="{{ index }}" catchtap='select_value'>
|
||
{{ item }}
|
||
<image src='../../img/right.png' wx:if="{{ index == data.value }}"></image>
|
||
</view>
|
||
<view wx:if="{{ data.showTips == 'leaseterm'}}" class='tips'>*选择长租 or 短租,只展示2019/06/05日后发布的房源信息。</view>
|
||
</view>
|
||
|
||
</view>
|
||
</template>
|
||
<!--新功能弹窗 -->
|
||
<template name="irenCouponReceive">
|
||
<view class="iren-coupon-receive" wx:if="{{ irenCouponReceive }}">
|
||
<block wx:if="{{ irentCouponBig }}">
|
||
<view class="mask"></view>
|
||
<view class="all-over-the-screen">
|
||
|
||
<view class="inner">
|
||
<image class="bg" src="/img/irent_bg.png" mode="widthFix"></image>
|
||
<view class="irent-title">{{ irenCouponReceive.writings.Brand }}</view>
|
||
<view class="name">{{ irenCouponReceive.writings.title }}</view>
|
||
<view class="money">{{ irenCouponReceive.writings.currency }}<view class="num">{{ irenCouponReceive.writings.amount }}</view>
|
||
</view>
|
||
<view class="tips">{{ irenCouponReceive.writings.tips }}</view>
|
||
<view class="btn" bindtap="tominiProgram" data-types="irenCouponReceive">
|
||
<image class="img" src="/img/irent_btn.png" mode="widthFix"></image>
|
||
<view class="text">{{ irenCouponReceive.writings.button }}</view>
|
||
</view>
|
||
<view class="close" bindtap="showIrentCoupon">
|
||
<image src="/img/close-f.png" class="img"></image>
|
||
</view>
|
||
</view>
|
||
|
||
</view>
|
||
</block>
|
||
<view wx:else class="iren-coupon-right" bindtap="showIrentCoupon">
|
||
<view class="small {{ hideCoupon ? 'hide' :''}}">
|
||
<image src="/img/irent_small.png" class="img"></image>
|
||
<view class="text">{{ irenCouponReceive.writings.amount }}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<!-- 个人房源列表 -->
|
||
<template name="personalList">
|
||
<navigator class='info-list personalList' url="../show/show?tid={{ item.tid }}&uniqid={{ item.uniqid }}&cityid={{ item.currency == '港元' ? 1 : 0}}">
|
||
<!-- <form bindsubmit="send_form_id" report-submit='true' data-types="confirm" class='submit-form'> -->
|
||
<view class="submit-form">
|
||
<view class="personalList-top">
|
||
<view class='title'>
|
||
<image class='newbtn' wx:if="{{ item.isnew }}" src="../../img/newbtn.png" />
|
||
<image class='hotbtn' wx:if="{{ item.ishot }}" src="../../img/hotbtn.png" />
|
||
{{ item.subject }}
|
||
<image wx:if="{{ item.verified==1 }}" class="ischeck" src="/img/ischeck.png"></image>
|
||
</view>
|
||
<view class="housingInfo">
|
||
<view class="housingSite">
|
||
<!-- 地区 -->
|
||
<view wx:if="{{ item.location }}" class="region">
|
||
<image class="orientation" mode="widthFix" src="/img/orientation.png"></image>
|
||
{{ item.location }}
|
||
</view>
|
||
<view class='tips'>
|
||
<view class='i' wx:if="{{ item.type }}">{{ item.type }}</view>
|
||
<view class='i' wx:if="{{ item.acreage }}">{{ item.acreage }}平方{{ item.currency == '港元' ? '呎' : '米'}}</view>
|
||
<view class='i' wx:if="{{ item.gender }}">{{ item.gender }}</view>
|
||
<!-- <view class='i' wx:if="{{ item.leaseterm }}">{{ item.leaseterm ==1 ?'长租':(item.leaseterm ==2 ?'短租' :'')}}</view> -->
|
||
<view class='i' wx:if="{{ item.leaseterm }}">{{ item.leaseterm }}</view>
|
||
</view>
|
||
<view class="money"> {{ item.currency }}
|
||
<view class='num'>{{ item.rent }}</view>/{{ item.rentalperiod || '月' }}
|
||
</view>
|
||
</view>
|
||
|
||
<view class="housingMedia housingVideo" wx:if="{{ item.isvideo }}">
|
||
<view class="playBtn-bj">
|
||
<image class="playBtn" src="/img/videoplay.png"></image>
|
||
</view>
|
||
<image class="housingVideo-image" mode="aspectFill" src="{{ item.imageurl }}"></image>
|
||
</view>
|
||
<view class="housingMedia" wx:elif="{{ item.ispic }}">
|
||
<image src="{{ item.imageurl }}" mode="aspectFill"></image>
|
||
</view>
|
||
|
||
</view>
|
||
</view>
|
||
|
||
<view class='footer'>
|
||
<view class='l'>
|
||
<image class="personalList-avatar" src="{{ item.avatar }}"></image>
|
||
<text class="personalList-name">{{ item.author }}</text>
|
||
|
||
<block wx:if="{{ item.groupid == 19 }}">
|
||
<image class="authentication-icon" mode="heightFix" src="/img/u30.png"></image>
|
||
</block>
|
||
<block wx:else>
|
||
<view class='agent'>{{ item.intermediary }}</view>
|
||
</block>
|
||
</view>
|
||
<view class='footer-right'>
|
||
{{ item.gptype }}
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- <button form-type="submit" hover-class="none" type="default" size="mini"></button> -->
|
||
<!-- </form> -->
|
||
</navigator>
|
||
</template>
|
||
|
||
<!-- 触发规则1 -->
|
||
<template name="repeatedRelease">
|
||
<!-- 触发规则1时 重复发布 -->
|
||
<view class="repeatedRelease">
|
||
<view class="repeatedRelease-box">
|
||
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png" catchtap="triggerRulesClose">
|
||
</image>
|
||
<view class="repeatedRelease-headline">
|
||
<text>提交失败</text>
|
||
<text>
|
||
<block wx:if="{{ pages != 'user'}}">
|
||
已存为草稿
|
||
</block>
|
||
</text>
|
||
</view>
|
||
<view class="repeatedRelease-top">
|
||
<view class="topRightCorner"></view>
|
||
<view class="hint">
|
||
<image class="warn" src="../../img/tips.png"></image><text>系统中已有该房源,请勿重复发布</text>
|
||
</view>
|
||
<view class="appeal" catchtap="goAppeal">我要申诉 <view class="rightArrow"></view>
|
||
</view>
|
||
</view>
|
||
<view class="repeatedRelease-centre"></view>
|
||
<view class="repeatedRelease-bottom">
|
||
<view class="topRightCorner"></view>
|
||
<view class="repeatedRelease-title">
|
||
<view class="repeatedRelease-title-icon">
|
||
<image class="" src="../../img/u50.png"></image>
|
||
<text>推荐使用“顶上去”功能</text>
|
||
</view>
|
||
<text>增加房源曝光率</text>
|
||
</view>
|
||
|
||
<view class="repeatedRelease-housing-information info-list">
|
||
<view class="title">
|
||
<text>三房找一位室友合租,设备齐全,拎包入住</text>
|
||
<image class="videobtn" src="../../img/pics.jpg" mode="widthFix"></image>
|
||
</view>
|
||
<view class="tips">
|
||
<view class="i">尖沙咀/佐敦</view>
|
||
<view class="i">房间</view>
|
||
<view class="i">800平方呎</view>
|
||
<view class="i">男女皆可</view>
|
||
</view>
|
||
<view class="footer">
|
||
<view class="l">港元<view class="num">6500</view>/月份</view>
|
||
<view class="agent">有房招室友</view>
|
||
</view>
|
||
<view class="house-id">房源ID:224072</view>
|
||
<view class="house-operation">
|
||
<view class="operation-item flexcenter">删除</view>
|
||
<view class="operation-item flexcenter">编辑</view>
|
||
<view class="operation-item flexcenter">下架</view>
|
||
<view class="operation-item blue flexcenter">顶上去</view>
|
||
</view>
|
||
</view>
|
||
<view class="repeatedRelease-message">
|
||
<view class="repeatedRelease-message-item"><i class="yellow-dot"></i><text class="underline">“顶上去”功能可将房源实时推送到房源列表的首位</text>
|
||
</view>
|
||
<view class="repeatedRelease-message-item"><i class="yellow-dot"></i><text class="underline">通过“<text class="daheise">我的-发布</text>”中找到房源,点击“顶上去”</text>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 立即前往按钮 -->
|
||
<view class="immediately-btn" catchtap="goUser">
|
||
<!-- 特殊处理按钮在编辑页面是 立即前往 ,在 我的页面是 知道了 -->
|
||
<block wx:if="{{ pages == 'user'}}">
|
||
知道了
|
||
</block>
|
||
<block wx:else>
|
||
立即前往<image mode="widthFix" src="/img/u149.svg"></image>
|
||
</block>
|
||
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- 提交失败 -->
|
||
<view class="submit failure"></view>
|
||
</view>
|
||
</template>
|
||
|
||
<!-- 触发规则2 -->
|
||
<template name="submitFailuretwo">
|
||
<view class="submitFailure" bindtap="triggerRulesClose">
|
||
<view class="submitFailure-box" catchtap="1">
|
||
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png" catchtap="triggerRulesClose">
|
||
</image>
|
||
<!-- 提示 -->
|
||
<view class="submitFailure-reminder">
|
||
<image class="submitFailure-icon" mode="widthFix" src="/img/u82.png"></image>
|
||
<view class="submitFailure-title">
|
||
<text>提交失败</text>
|
||
<text>
|
||
<block wx:if="{{ !isnodraft }}">
|
||
已存为草稿
|
||
</block>
|
||
</text>
|
||
</view>
|
||
<view class="submitFailure-reminder-item">该联系方式所发布的房源数量已超出上限</view>
|
||
<view class="submitFailure-reminder-item">建议处理方式如下</view>
|
||
</view>
|
||
|
||
<!-- 方法 -->
|
||
<view class="method">
|
||
<view class="method-item">
|
||
<view class="method-item-head">
|
||
<view class="serial-number">方法1</view>
|
||
<text>下架已发布的房源,便可发布新房源</text>
|
||
</view>
|
||
<view class="method-item-btn" catchtap="goUser"><text>下架房源</text>
|
||
<view class="jiantou"></view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="method-item">
|
||
<view class="method-item-head">
|
||
<view class="serial-number">方法2</view>
|
||
<text>提交给管理团队进行人工审核</text>
|
||
</view>
|
||
<view class="method-item-btn" catchtap="goAppeal"><text>我要申诉</text>
|
||
<view class="jiantou"></view>
|
||
</view>
|
||
</view>
|
||
|
||
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<!-- 触发规则3 -->
|
||
<template name="submitFailurethree">
|
||
<view class="submitFailure" bindtap="triggerRulesClose">
|
||
<view class="submitFailure-box" catchtap="1">
|
||
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png" catchtap="triggerRulesClose">
|
||
</image>
|
||
<!-- 提示 -->
|
||
<view class="submitFailure-reminder">
|
||
<image class="submitFailure-icon" mode="widthFix" src="/img/u82.png"></image>
|
||
<view class="submitFailure-title">
|
||
<text>提交失败</text>
|
||
<text>
|
||
<block wx:if="{{ !isnodraft }}">
|
||
已存为草稿
|
||
</block>
|
||
</text>
|
||
</view>
|
||
<view class="submitFailure-reminder-item">你的账号所发布的房源数量已超出上限</view>
|
||
<view class="submitFailure-reminder-item">建议处理方式如下</view>
|
||
</view>
|
||
|
||
<!-- 方法 -->
|
||
<view class="method">
|
||
<view class="method-item">
|
||
<view class="method-item-head">
|
||
<view class="serial-number">方法1</view>
|
||
<text>下架已发布的房源,便可发布新房源</text>
|
||
</view>
|
||
<view class="method-item-btn" catchtap="goUser"><text>下架房源</text>
|
||
<view class="jiantou"></view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="method-item">
|
||
<view class="method-item-head">
|
||
<view class="serial-number">方法2</view>
|
||
<text>提交给管理团队进行人工审核</text>
|
||
</view>
|
||
<view class="method-item-btn" catchtap="goAppeal"><text>我要申诉</text>
|
||
<view class="jiantou"></view>
|
||
</view>
|
||
</view>
|
||
|
||
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<!-- 触发规则 4 -->
|
||
<template name="wrong-micro-signal">
|
||
<!-- 触发规则3时 你的微信号有误 -->
|
||
<view class="wrong-micro-signal" bindtap="triggerRulesClose">
|
||
<view class="wrong-micro-signal-box" catchtap="catchtap">
|
||
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png" catchtap="WechatIDClose">
|
||
</image>
|
||
<image class="wrong-micro-signal-icon" src="/img/u858.png"></image>
|
||
<view class="wrong-micro-signal-title">你的微信号有误</view>
|
||
<view class="wrong-micro-signal-text">经核实,凡 wxid_ 开头的微信号均无法添加为好友</view>
|
||
<view class="wrong-micro-signal-text">建议你上传微信二维码,或修改微信号</view>
|
||
|
||
<view class="wrong-micro-signal-method">
|
||
<view class="topRightCorner"></view>
|
||
<view class="wrong-micro-signal-method-text">
|
||
<image src="/img/u876.png" mode="widthFix"></image><text>如何获取微信二维码、修改微信号?</text>
|
||
</view>
|
||
<image class="wrong-micro-signal-method-image" mode="widthFix" catchtap="methodPreview" src="https://oss.gter.net/attachment/Zvt57TuJSUvkyhw-xG7Y2l-T_pIqc3nqqsgFptxhXa6RWi26P-BuTQdCF7eV7tkb8MVYZjQ0Mjk~">
|
||
</image>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<!-- 4.0 的发布成功后弹窗 -->
|
||
<template name="succeed-pop">
|
||
<view class="succeed-pop">
|
||
<view class="succeed-box flexcenter">
|
||
<image class="succeed-icom" src="/img/succeed-icon.png"></image>
|
||
<view class="succeed-title">发布成功</view>
|
||
<block wx:if="{{ popState == 'ask' }}">
|
||
<view class="automatically-skip">
|
||
2秒后自动跳转页面
|
||
</view>
|
||
</block>
|
||
<block wx:else>
|
||
<block wx:if="{{ false }}">
|
||
<view class="succeed-reminder">完成房源认证更快租出去</view>
|
||
|
||
<view class="succeed-hint">激活专属认证标识</view>
|
||
<view class="succeed-hint">不占用普通房源的发布条数</view>
|
||
|
||
<view class="succeed-btn flexcenter">前往认证<image class="succeed-btn-icom" mode="widthFix" src="/img/arrows-right-black.png"></image>
|
||
</view>
|
||
<view class="succeed-btn-no flexcenter">暂不认证</view>
|
||
</block>
|
||
<block wx:else>
|
||
<view class="succeed-reminder">完成中介认证更快租出去</view>
|
||
|
||
<view class="succeed-hint">激活专属认证标识</view>
|
||
<view class="succeed-hint">发布上限马上提升到 <text>20</text> 条</view>
|
||
<view class="succeed-hint">可以搜索、筛选求房源信息</view>
|
||
|
||
<view class="succeed-btn flexcenter">前往认证<image class="succeed-btn-icom" mode="widthFix" src="/img/arrows-right-black.png"></image>
|
||
</view>
|
||
<view class="succeed-btn-no flexcenter">暂不认证</view>
|
||
</block>
|
||
|
||
</block>
|
||
|
||
|
||
</view>
|
||
</view>
|
||
|
||
</template>
|
||
|
||
<!-- 4.0 的发失败后弹窗 -->
|
||
<template name="fail-pop">
|
||
|
||
<view class="fail-pop">
|
||
<view class="fail-box flexcenter">
|
||
<image class="fail-icom" src="/img/u82.png"></image>
|
||
<view class="fail-title">提交失败</view>
|
||
|
||
<view class="fail-hint">已存为草稿</view>
|
||
<view class="fail-explain">房源数量已达上限</view>
|
||
<view class="fail-explain">下架旧房源,便可发布新房源</view>
|
||
|
||
<!-- <view class="fail-btn flexcenter">房源管理<image class="fail-btn-icom" mode="widthFix" src="/img/arrows-right-white.png"></image> -->
|
||
<!-- </view> -->
|
||
|
||
<navigator class="fail-btn flexcenter" hover-class="none" open-type="redirect" url="/pages/user/user?tab=publish">
|
||
房源管理<image class="fail-btn-icom" mode="widthFix" src="/img/arrows-right-white.png"></image>
|
||
</navigator>
|
||
</view>
|
||
</view>
|
||
</template> |