zengh
2021-07-07 7001de2b8cd0b94d22815b4df65cbeb47e1ee216
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