Compare commits

..

No commits in common. "5780efa878094736fa68aae4f2662f142e00038a" and "480de8da616680600b2b033e9127a3b7f40402df" have entirely different histories.

3 changed files with 5 additions and 16 deletions

View File

@ -132,8 +132,10 @@
this.messages = privateMessages.sentMessages;
this.pendingMessages = privateMessages.pendingMessages;
console.log(this.friend.name)
this.setTitle(this.friend.name)
uni.setNavigationBarTitle({
title : this.friend.name
});
setTimeout(() => {
uni.setNavigationBarColor({
backgroundColor : '#FF780F',
@ -156,18 +158,6 @@
this.imService.uid = 0;
},
methods: {
setTitle(title){
let that = this
if(title == ""){
title = "这是空的"
}
uni.setNavigationBarTitle({
title : title,
fail(){
that.setTitle(title)
}
});
},
bindtapInput(){
console.log("222")
var _that = this;

View File

@ -497,7 +497,7 @@
{
"path": "privateChat/privateChat",
"style": {
"navigationBarTitleText": "商家",
"navigationBarTitleText": "uni-app",
"app-plus": {
"titleNView": true
}

View File

@ -149,7 +149,6 @@
},
gochat(id){
console.log(id)
this.$u.route({
url:"/pageD/privateChat/privateChat",
params:{