替换个人信息页面图标
This commit is contained in:
@@ -430,7 +430,7 @@
|
|||||||
"path": "pages/im/friends/info",
|
"path": "pages/im/friends/info",
|
||||||
"name": "imFriendsInfo",
|
"name": "imFriendsInfo",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "用户资料"
|
"navigationBarTitleText": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -66,6 +66,7 @@
|
|||||||
},
|
},
|
||||||
onSuccess() {
|
onSuccess() {
|
||||||
this.$emit('onSuccess')
|
this.$emit('onSuccess')
|
||||||
|
this.chatText = { value: "", cursor: 0}
|
||||||
},
|
},
|
||||||
// 处理弹出层
|
// 处理弹出层
|
||||||
onHidePopus(){
|
onHidePopus(){
|
||||||
|
|||||||
@@ -3,9 +3,10 @@
|
|||||||
<!-- 用户信息 -->
|
<!-- 用户信息 -->
|
||||||
<view class="info-flex">
|
<view class="info-flex">
|
||||||
<u-avatar :src="userInfo.portraitUrl || require('@/static/user/cover.png')" shape="square"
|
<u-avatar :src="userInfo.portraitUrl || require('@/static/user/cover.png')" shape="square"
|
||||||
:size="rpx2px(100)" bg-color="#fff"></u-avatar>
|
:size="rpx2px(100)" bg-color="#fff" @click="previeImg(userInfo.portraitUrl)" />
|
||||||
<view class="info-text">
|
<view class="info-text">
|
||||||
<view class="nickname">{{ contact(targetId).name }} ({{ userInfo.name }})</view>
|
<view class="nickname">{{ contact(targetId).name }} </view>
|
||||||
|
<view class="address" @longpress="copyAddress">昵称:{{ userInfo.name }}</view>
|
||||||
<view class="address" @longpress="copyAddress">地址:{{ userInfo.address }}</view>
|
<view class="address" @longpress="copyAddress">地址:{{ userInfo.address }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -37,7 +38,7 @@
|
|||||||
<view class="footer">
|
<view class="footer">
|
||||||
<view class="footer-item" @click="deleteFriend">
|
<view class="footer-item" @click="deleteFriend">
|
||||||
<view class="icon">
|
<view class="icon">
|
||||||
<u-icon class="icon-u" name="close-circle-fill" color="#fff" size="30" />
|
<u-icon class="icon-u" name="minus-people-fill" color="#fff" size="30" />
|
||||||
</view>
|
</view>
|
||||||
<view class="text">删除好友</view>
|
<view class="text">删除好友</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -49,7 +50,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="footer-item" @click="callShow = true">
|
<view class="footer-item" @click="callShow = true">
|
||||||
<view class="icon">
|
<view class="icon">
|
||||||
<u-icon class="icon-u" name="camera-fill" color="#fff" size="30" />
|
<u-icon class="icon-u" :name="require('@/static/imgs/tel-call.png')" color="#fff" size="30" />
|
||||||
</view>
|
</view>
|
||||||
<view class="text">音/视频通话</view>
|
<view class="text">音/视频通话</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -127,9 +128,9 @@
|
|||||||
this.userInfo = res
|
this.userInfo = res
|
||||||
// 获取到用户信息之后,去检查一下要不要更新
|
// 获取到用户信息之后,去检查一下要不要更新
|
||||||
this.$store.dispatch('updateContact', res)
|
this.$store.dispatch('updateContact', res)
|
||||||
uni.setNavigationBarTitle({
|
// uni.setNavigationBarTitle({
|
||||||
title: res.name
|
// title: res.name
|
||||||
})
|
// })
|
||||||
})
|
})
|
||||||
RongIMLib.getConversationNotificationStatus(this.conversationType, this.targetId, ({
|
RongIMLib.getConversationNotificationStatus(this.conversationType, this.targetId, ({
|
||||||
status
|
status
|
||||||
@@ -156,6 +157,9 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
previeImg(url){
|
||||||
|
console.log(url)
|
||||||
},
|
},
|
||||||
toPrivate() {
|
toPrivate() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
@@ -59,13 +59,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
uni.setNavigationBarTitle({
|
||||||
|
title: this.contact(this.targetId).name
|
||||||
|
})
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
this.targetId = e.targetId
|
this.targetId = e.targetId
|
||||||
this.userInfo = this.$store.getters.contactInfo(this.targetId)
|
this.userInfo = this.$store.getters.contactInfo(this.targetId)
|
||||||
uni.setNavigationBarTitle({
|
|
||||||
title: this.contact(this.targetId).name
|
|
||||||
})
|
|
||||||
// 获取消息列表
|
// 获取消息列表
|
||||||
this.getMessageList()
|
this.getMessageList()
|
||||||
// 监听新消息
|
// 监听新消息
|
||||||
|
|||||||
BIN
static/.DS_Store
vendored
BIN
static/.DS_Store
vendored
Binary file not shown.
BIN
static/imgs/tel-call.png
Normal file
BIN
static/imgs/tel-call.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Reference in New Issue
Block a user