租房新通知

This commit is contained in:
A1300399510 2025-02-24 18:58:52 +08:00
parent d733bb6aa3
commit ff28e698b8
14 changed files with 234 additions and 51 deletions

View File

@ -739,7 +739,7 @@
<!-- 咨询弹窗 -->
<template name="consultation-window">
<view class="consultation-window flexcenter " wx:if="{{ popwindowState }}">
<view class="consultation-window flexcenter " wx:if="{{ popwindowState }}" catch:touchmove="return">
<view class="consultation-window-box flexcenter">
<image class="star star1" src="https://app.gter.net/image/miniApp/HKRenting/star-icon.png" mode="widthFix">
</image>

View File

@ -997,7 +997,6 @@ Page({
// 上传图片
upload_picnew: function (imgUrl, index) {
var that = this;
// console.log("uploadData", this.data.uploadData);
const uploadTask = wx.uploadFile({
url: `https://oss.gter.net/upload`,
filePath: imgUrl,
@ -1057,7 +1056,6 @@ Page({
})
uploadTask.onProgressUpdate(res => {
let imgs = this.data.imgs
console.log("imgs", imgs, "imgUrl", imgUrl);
// imgs[index - 1]['progress'] = res.progress
imgs.forEach((element, index) => {
if (element.path == imgUrl) element['progress'] = res.progress
@ -1067,7 +1065,6 @@ Page({
imgs
})
})
console.log("uploadTask", uploadTask);
},
// 选择mp4

View File

@ -425,9 +425,6 @@ Page({
type
} = e.currentTarget.dataset
console.log("index", index);
console.log("type", type);
if (type == this.data.listType) return // 点击选中 type 时
const currentTime = new Date().getTime();
@ -439,9 +436,6 @@ Page({
el['select'] = false
})
recommendedTab[index]['select'] = true
console.log("recommendedTab", recommendedTab);
// 初始化数据
this.setData({
recommendedTab,

View File

@ -17,6 +17,10 @@ Page({
operationsTop: false,
screen_data: {},
wechat: {},
gtergreenonionqrcode: miucms.gtergreenonionqrcode,
consultState: false,
},
/**
@ -68,6 +72,9 @@ Page({
element.message = element.message.trim()
});
// console.log("data", data.data);
// data.data[0].event = "certapplication"
// data.data[0].data[]
this.setData({
list: this.data.list.concat(data.data),
page: data.count > data.page * data.limit ? this.data.page + 1 : 0,
@ -118,6 +125,12 @@ Page({
})
},
cutConsultState() {
this.setData({
consultState: !this.data.consultState,
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/

View File

@ -28,8 +28,14 @@
<view code="true" class="information-title">
<view class="information-message" style="display: inline; word-break: break-all;">{{ item.message }}</view>
</view>
<view class="go-authenticate-btn flexcenter" bindtap="publicJumps" data-url="{{ item['data'].url }}">
去认证<image class="go-authenticate-icon" src="/img/green-circular-arrow.svg"></image>
<view class="operate flexcenter">
<view class="go-authenticate-btn flexcenter flex1" bindtap="publicJumps" data-url="{{ item['data'].url }}">
{{ item.data.type == "intermediary" ? '身份' : "房源" }}认证<image class="go-authenticate-icon" src="https://app.gter.net/image/miniApp/HKRenting/arrow-circular-blue.svg"></image>
</view>
<view class="add flexcenter flex1" bind:tap="cutConsultState">
<image class="icon" src="https://app.gter.net/image/miniApp/HKRenting/WeChat-icon-blue.svg" mode="widthFix"></image>
<text>添加小助手</text>
</view>
</view>
</view>
<!-- 中介 -->
@ -40,9 +46,14 @@
<view code="true" class="information-title">
<view class="information-message" style="display: inline; word-break: break-all;">{{ item.message }}</view>
</view>
<view wx:if="{{ item.data && item.data['middlemanauthstatus'] == 0 && item.data.url }}" class="go-authenticate-btn flexcenter" bindtap="publicJumps" data-url="{{ item.data.url }}">
去认证
<image class="go-authenticate-icon" src="/img/green-circular-arrow.svg"></image>
<view class="operate flexcenter">
<view wx:if="{{ item.data && item.data['middlemanauthstatus'] == 0 && item.data.url }}" class="go-authenticate-btn flexcenter flex1" bindtap="publicJumps" data-url="{{ item.data.url }}">
身份认证<image class="go-authenticate-icon" src="https://app.gter.net/image/miniApp/HKRenting/arrow-circular-blue.svg"></image>
</view>
<view class="add flexcenter flex1" bind:tap="cutConsultState">
<image class="icon" src="https://app.gter.net/image/miniApp/HKRenting/WeChat-icon-blue.svg" mode="widthFix"></image>
<text>添加小助手</text>
</view>
</view>
</view>
<!-- 房源认证 -->
@ -63,8 +74,43 @@
</view>
<view class="resource-id">房源ID{{ item.data.id }}</view>
</view>
<view wx:if="{{ item.data && item.data['tenementcertifiedstatus'] == 0 && item.data.url }}" class="go-authenticate-btn flexcenter" bindtap="publicJumps" data-url="{{ item.data.url }}">
去认证<image class="go-authenticate-icon" src="/img/green-circular-arrow.svg"></image>
<view class="operate flexcenter">
<view wx:if="{{ item.data && item.data['tenementcertifiedstatus'] == 0 && item.data.url }}" class="go-authenticate-btn flexcenter flex1" bindtap="publicJumps" data-url="{{ item.data.url }}">
房源认证<image class="go-authenticate-icon" src="https://app.gter.net/image/miniApp/HKRenting/arrow-circular-blue.svg"></image>
</view>
<view class="add flexcenter flex1" bind:tap="cutConsultState">
<image class="icon" src="https://app.gter.net/image/miniApp/HKRenting/WeChat-icon-blue.svg" mode="widthFix"></image>
<text>添加小助手</text>
</view>
</view>
</view>
<!-- 到期 -->
<view class="information-item" wx:elif="{{ item.event == 'overduenotice' }}">
<view class="time"><text>{{ item.timestamp }}</text>
<image wx:if="{{ item.isread == 0 }}" mode="widthFix" src="../../img/u20.png"></image>
</view>
<view code="true" class="information-title">
<view class="information-message" style="display: inline; word-break: break-all;">{{ item.message }}</view>
</view>
<view class="information-cause-box" wx:if="{{ item.data && item.data.reportnummessage }}">
<view class="information-cause-item" wx:for="{{ item.data.reportnummessage}}" wx:for-item="it" wx:key="it">- {{ it }}</view>
</view>
<view class="resource-information" wx:if="{{ item.data.id }}">
<image wx:if="{{ item.data.status != 1}}" class="resource-information-top-icon" src="/img/u75.png" mode="widthFix"></image>
<view class="resource-title" bindtap="{{ item.data.status == 1 ? 'jumpDetails' : 'jumpUserPost' }}" data-uniqid="{{ item.data.uniqid }}" data-tenementcertifiedstatus="{{ item.data.tenementcertifiedstatus }}"><text>{{ item.data.subject }}</text>
<image class="pic" wx:if="{{ item.data.isimage == 1 }}" src="/img/pics.jpg" mode="widthFix"></image>
</view>
<view class="resource-id">房源ID{{ item.data.id }}</view>
</view>
<view class="operate flexcenter">
<view class="go-authenticate-btn flexcenter flex1" bindtap="publicJumps" data-url="{{ item.data.url }}">
{{ item.data.type == "intermediary" ? '身份认证' : "房源认证" }}
<image class="go-authenticate-icon" src="https://app.gter.net/image/miniApp/HKRenting/arrow-circular-blue.svg"></image>
</view>
<view class="add flexcenter flex1" bind:tap="cutConsultState">
<image class="icon" src="https://app.gter.net/image/miniApp/HKRenting/WeChat-icon-blue.svg" mode="widthFix"></image>
<text>添加小助手</text>
</view>
</view>
</view>
<!-- 举报等其他数据 -->
@ -95,7 +141,7 @@
</view>
<!-- 疑问 -->
<view class="query-box flexcenter" wx:if="{{ data.length != 0 }}">
<view class="query-box flexcenter" wx:if="{{ page == 0 }}">
<view class="query-text flexacenter">有疑问?来找<image class="query-img" mode="widthFix" src="/img/smiling-face.png"></image>{{ wechat.nickname }}</view>
<view class="query-btn flexcenter" bindtap="copy" data-value="{{ wechat['wechat'] }}">复制微信号</view>
</view>
@ -112,18 +158,21 @@
</view>
<!-- 咨询 -->
<view class="popup-bj consult-pop flexflex">
<view class="box flexacenter">
<view class="popup-bj consult-pop flexflex" wx:if="{{ consultState }}" bind:tap="cutConsultState">
<view class="box flexacenter" catch:tap="return">
<image class="title" mode="widthFix" src="https://app.gter.net/image/miniApp/HKRenting/consult-title.png"></image>
<view class="hint flexacenter">
<image class="icon" mode="widthFix"></image>
<image class="icon" src="/img/wechat-name-icon.png" mode="widthFix"></image>
寄托方同学的小助手
</view>
<view class="QR-code">
<!-- <image class="" mode="widthFix"></image> -->
<view class="text"></view>
<view class="QR-code flexflex">
<image class="img" src="{{ gtergreenonionqrcode }}" mode="widthFix" show-menu-by-longpress></image>
<view class="text">长按识别二维码</view>
</view>
<image class="frame frame1" src="https://app.gter.net/image/miniApp/HKRenting/frame-1.svg"></image>
<image class="frame frame2" src="https://app.gter.net/image/miniApp/HKRenting/frame-2.svg"></image>
</view>
</view>
</view>

View File

@ -311,23 +311,4 @@
border: 2rpx solid #333333;
margin-top: 25.5rpx;
border-radius: 50rpx;
}
.go-authenticate-btn {
width: 690rpx;
height: 100rpx;
color: #50E3C2;
font-weight: 650;
font-size: 27rpx;
margin-top: 30rpx;
margin-left: -30rpx;
margin-bottom: -30rpx;
border-top: 1rpx solid #ebebeb;
}
.go-authenticate-btn .go-authenticate-icon {
width: 27rpx;
height: 27rpx;
margin-left: 9rpx;
}

View File

@ -1,6 +1,7 @@
.consult-pop {
align-items: flex-end;
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
z-index: 1000;
.box {
width: 100%;
@ -8,10 +9,13 @@
background: linear-gradient(180deg, rgba(244, 244, 244, 1) -1%, rgba(247, 250, 255, 1) 100%);
border-radius: 30rpx 30rpx 0 0;
flex-direction: column;
padding-top: 90rpx;
z-index: 1;
.title {
width: 331.5rpx;
height: 72rpx;
margin-bottom: 27rpx;
}
.hint {
@ -22,7 +26,83 @@
font-size: 27rpx;
color: #333333;
margin-bottom: 52.5rpx;
}
.QR-code {
width: 420rpx;
height: 490.5rpx;
border-radius: 30rpx;
background: linear-gradient(0deg, rgba(62, 22, 156, 1) -1%, rgba(252, 203, 142, 1) 99%);
flex-direction: column;
padding-top: 34.5rpx;
.img {
width: 360rpx;
height: 360rpx;
margin: 0 auto 25.5rpx;
}
.text {
font-size: 24rpx;
letter-spacing: 1.5rpx;
color: #FFFFFF;
text-align: center;
line-height: 42rpx;
}
}
.frame {
position: absolute;
left: 0;
bottom: 0;
z-index: -1;
&.frame1 {
width: 750rpx;
height: 232.5rpx;
}
&.frame2 {
width: 750rpx;
height: 226.5rpx;
}
}
}
}
.operate {
height: 100rpx;
border-top: 1rpx solid #ebebeb;
font-size: 27rpx;
font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif;
font-weight: 650;
margin-left: -30rpx;
margin-right: -30rpx;
margin-bottom: -40rpx;
.go-authenticate-btn {
color: #266CBF;
height: 100%;
border-right: 1rpx solid #ebebeb;
.go-authenticate-icon {
width: 27rpx;
height: 27rpx;
margin-left: 9rpx;
}
}
.add {
color: #266CBF;
height: 100%;
.icon {
width: 30rpx;
height: 25.5rpx;
margin-right: 9rpx;
}
}
}

View File

@ -1,6 +1,7 @@
.consult-pop {
align-items: flex-end;
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
z-index: 1000;
}
.consult-pop .box {
width: 100%;
@ -8,16 +9,83 @@
background: linear-gradient(180deg, #f4f4f4 -1%, #f7faff 100%);
border-radius: 30rpx 30rpx 0 0;
flex-direction: column;
padding-top: 90rpx;
z-index: 1;
}
.consult-pop .box .title {
width: 331.5rpx;
height: 72rpx;
margin-bottom: 27rpx;
}
.consult-pop .box .hint {
font-size: 27rpx;
color: #333333;
margin-bottom: 52.5rpx;
}
.consult-pop .box .hint .icon {
width: 33rpx;
height: 33rpx;
}
.consult-pop .box .QR-code {
width: 420rpx;
height: 490.5rpx;
border-radius: 30rpx;
background: linear-gradient(0deg, #3e169c -1%, #fccb8e 99%);
flex-direction: column;
padding-top: 34.5rpx;
}
.consult-pop .box .QR-code .img {
width: 360rpx;
height: 360rpx;
margin: 0 auto 25.5rpx;
}
.consult-pop .box .QR-code .text {
font-size: 24rpx;
letter-spacing: 1.5rpx;
color: #FFFFFF;
text-align: center;
line-height: 42rpx;
}
.consult-pop .box .frame {
position: absolute;
left: 0;
bottom: 0;
z-index: -1;
}
.consult-pop .box .frame.frame1 {
width: 750rpx;
height: 232.5rpx;
}
.consult-pop .box .frame.frame2 {
width: 750rpx;
height: 226.5rpx;
}
.operate {
height: 100rpx;
border-top: 1rpx solid #ebebeb;
font-size: 27rpx;
font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif;
font-weight: 650;
margin-left: -30rpx;
margin-right: -30rpx;
margin-bottom: -40rpx;
}
.operate .go-authenticate-btn {
color: #266CBF;
height: 100%;
border-right: 1rpx solid #ebebeb;
}
.operate .go-authenticate-btn .go-authenticate-icon {
width: 27rpx;
height: 27rpx;
margin-left: 9rpx;
}
.operate .add {
color: #266CBF;
height: 100%;
}
.operate .add .icon {
width: 30rpx;
height: 25.5rpx;
margin-right: 9rpx;
}

View File

@ -521,6 +521,10 @@ Page({
token: that.data.token,
uniqid: that.data.uniqid
}).then(data => {
wx.showToast({
title: data.message,
icon: 'none'
})
if (data.extraparam && data.extraparam.mode == 'right') {
// 成功
that.data.info.count_fav = data.data.count;
@ -529,11 +533,6 @@ Page({
info: that.data.info,
isfav: that.data.isfav
})
} else {
wx.showToast({
title: data.message,
icon: 'none'
})
}
}).catch(res => {})
},

View File

@ -1,5 +1,5 @@
<!--template/QRCodePop/QRCodePop.wxml-->
<view class="pop flexflex" bind:tap="closePop">
<view class="pop flexflex" bind:tap="closePop" catch:touchmove="return">
<view class="pop-box flexacenter" catch:tap="return">
<image class="pop-title" src="{{ titleUrl }}" mode="widthFix"></image>
<view class="pop-wechat-name flexcenter">

View File

@ -103,6 +103,7 @@
background: rgba(0, 0, 0, 0.4);
border-radius: 20rpx;
height: 40rpx;
line-height: 40rpx;
display: flex;
align-items: center;
justify-content: center;

View File

@ -34,7 +34,7 @@ Component({
ishongkongoffer: 0, // 是否报告 香港 offer
gtergreenonionqrcode: "https://oss.x-php.com/Zvt57TuJSUvkyhw-xG7Y2l-d_pIqcXjqqsgFptxhcq_cQnrlcvd3DQYcBq_D-81qNDQyOQ~~", // 群 二维码
gtergreenonionqrcode: miucms.gtergreenonionqrcode, // 群 二维码
groupState: false, // 群 弹窗显示状态
},
/**

View File

@ -14,7 +14,7 @@
</view>
<view class="group-pop" wx:if="{{ groupState }}" bind:tap="closeGroup">
<view class="group-pop" wx:if="{{ groupState }}" bind:tap="closeGroup" catch:touchmove="return">
<image class="bj" src="https://app.gter.net/image/miniApp/HKRenting/huddle-bj.jpg" mode="widthFix" catch:tap="return"></image>
<image class="QRCode" src="{{ gtergreenonionqrcode }}" mode="widthFix" show-menu-by-longpress catch:tap="return"></image>
</view>

View File

@ -707,4 +707,5 @@ module.exports = {
statistics,
bindingUser,
objectToQueryString,
gtergreenonionqrcode: "https://oss.x-php.com/Zvt57TuJSUvkyhw-xG7Y2l-d_pIqcXjqqsgFptxhcq_cQnrlcvd3DQYcBq_D-81qNDQyOQ~~",
}