|
@@ -70,7 +70,7 @@
|
|
|
<view class="register-title ddflex fflex">
|
|
<view class="register-title ddflex fflex">
|
|
|
<image class="register-title-icon" :src="item.avatar?item.avatar:'/static/images/userimg.png'" mode="aspectFill"></image>
|
|
<image class="register-title-icon" :src="item.avatar?item.avatar:'/static/images/userimg.png'" mode="aspectFill"></image>
|
|
|
<view class="flex" style="min-width: 0;">
|
|
<view class="flex" style="min-width: 0;">
|
|
|
- <view class="ddflex">
|
|
|
|
|
|
|
+ <view class="ddflex" @click.stop="jumpSingleChatRoom(item)">
|
|
|
<view class="card-name fflex tover">{{item.realName?item.realName:''}}</view>
|
|
<view class="card-name fflex tover">{{item.realName?item.realName:''}}</view>
|
|
|
<image style="width: 64rpx;height: 64rpx;margin-left: 10rpx;" src="/card/static/images/wxChat.png"></image>
|
|
<image style="width: 64rpx;height: 64rpx;margin-left: 10rpx;" src="/card/static/images/wxChat.png"></image>
|
|
|
</view>
|
|
</view>
|
|
@@ -248,6 +248,12 @@
|
|
|
url: url
|
|
url: url
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+ jumpSingleChatRoom(item) {
|
|
|
|
|
+ if (item) {
|
|
|
|
|
+ req.jumpSingleChatRoom(item.userId, item.avatar, item.realName);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
getDict(){
|
|
getDict(){
|
|
|
return new Promise((r,j)=>{
|
|
return new Promise((r,j)=>{
|
|
|
req.getRequest('/api/other/dict/info',{dictType:'job'},res=>{
|
|
req.getRequest('/api/other/dict/info',{dictType:'job'},res=>{
|