|
@@ -30,9 +30,9 @@
|
|
|
<!-- 对方为用户显示预约看房按钮 -->
|
|
|
<div
|
|
|
@tap="sendMsgHandle('预约看房')"
|
|
|
- v-if="infoData.agentId === '0' || loginType == 1"
|
|
|
+ v-if="(!infoData.flag && (userType === 0 || loginType == 1)) || (infoData.flag && infoData.isShowSeeHouseBtn == 'true')"
|
|
|
>
|
|
|
- <!-- 电话沟通按钮状态根据是否聊过天判断,接受按钮根据是否发送面试邀请判断 -->
|
|
|
+ <!-- 电话沟通按钮状态根据是否聊过天判断 -->
|
|
|
<template v-if="messageList && messageList.length > 0">
|
|
|
<img
|
|
|
src="https://qianzhiy-applet.oss-rg-china-mainland.aliyuncs.com/h5/images/house/icon/chat-icon5-active.png"
|
|
@@ -391,6 +391,8 @@ const messageTarget = ref<IMessageModel>();
|
|
|
const scrollButtonInstanceRef = ref<InstanceType<typeof ScrollButton>>();
|
|
|
const historyFirstMessageID = ref<string>("");
|
|
|
let selfAddValue = 0;
|
|
|
+const userType = Number(uni.getStorageSync("userType"));
|
|
|
+console.log("userType:" + userType)
|
|
|
|
|
|
// audio control
|
|
|
const broadcastNewAudioSrc = ref<string>("");
|
|
@@ -429,6 +431,7 @@ const ShowDialogClose = () => {
|
|
|
showDialog.value = false;
|
|
|
};
|
|
|
const loginType = ref(uni.getStorageSync("loginType"));
|
|
|
+console.log("loginType:" + loginType)
|
|
|
onMounted(() => {
|
|
|
// 消息列表监听
|
|
|
TUIStore.watch(StoreName.CHAT, {
|