From 7001de2b8cd0b94d22815b4df65cbeb47e1ee216 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 07 Jul 2021 17:17:30 +0800
Subject: [PATCH] 问题修复

---
 components/contacts/contacts.vue |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/components/contacts/contacts.vue b/components/contacts/contacts.vue
index ca825b3..28acda7 100644
--- a/components/contacts/contacts.vue
+++ b/components/contacts/contacts.vue
@@ -19,9 +19,21 @@
 						<img class="img" :src=Pdata.avatar>
 					</view>
 					<view class="t-type">{{Pdata.GroupName}}</view>
-					<view class="t-id">{{Pdata.postTime}}</view>
+					<!-- <view class="t-id">{{Pdata.postTime}}</view> -->
 				</view>
 				<view class="bottom">{{Pdata.GroupContent}}</view>
+			</view>
+		</view>
+		<view class="inPColumn" v-if="fromW == 2">
+			<view class="left" @click="TXLchating">
+				<view class="top">
+					<view class="userImg">
+						<img class="img" :src=Pdata.avatar>
+					</view>
+					<view class="t-type">{{Pdata.realName}}</view>
+					<!-- <view class="t-id">{{Pdata.postTime}}</view> -->
+				</view>
+				<view class="bottom">电话:{{Pdata.phone}}</view>
 			</view>
 		</view>
 	</view>
@@ -59,6 +71,14 @@
 				    url: '/pages/groupChat/chatingQZ?chatID=' + datas.id.toString()
 				});
 			},
+			TXLchating(){
+				//发起聊天
+				var datas = this.Pdata;
+				//alert(datas.name)
+				uni.navigateTo({
+					url: '/pages/groupChat/chating?chatID=' + datas.id.toString()
+				});
+			},
 			onClose() { //触摸遮罩事件
 				this.setData({
 					popuShow: false

--
Gitblit v1.9.3