xbx #338
@ -132,10 +132,8 @@
|
|||||||
|
|
||||||
this.messages = privateMessages.sentMessages;
|
this.messages = privateMessages.sentMessages;
|
||||||
this.pendingMessages = privateMessages.pendingMessages;
|
this.pendingMessages = privateMessages.pendingMessages;
|
||||||
|
console.log(this.friend.name)
|
||||||
uni.setNavigationBarTitle({
|
this.setTitle(this.friend.name)
|
||||||
title : this.friend.name
|
|
||||||
});
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.setNavigationBarColor({
|
uni.setNavigationBarColor({
|
||||||
backgroundColor : '#FF780F',
|
backgroundColor : '#FF780F',
|
||||||
@ -158,6 +156,15 @@
|
|||||||
this.imService.uid = 0;
|
this.imService.uid = 0;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
setTitle(title){
|
||||||
|
let that = this
|
||||||
|
uni.setNavigationBarTitle({
|
||||||
|
title : title,
|
||||||
|
fail(){
|
||||||
|
that.setTitle(title)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
bindtapInput(){
|
bindtapInput(){
|
||||||
console.log("222")
|
console.log("222")
|
||||||
var _that = this;
|
var _that = this;
|
||||||
|
@ -497,7 +497,7 @@
|
|||||||
{
|
{
|
||||||
"path": "privateChat/privateChat",
|
"path": "privateChat/privateChat",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "uni-app",
|
"navigationBarTitleText": "商家",
|
||||||
"app-plus": {
|
"app-plus": {
|
||||||
"titleNView": true
|
"titleNView": true
|
||||||
}
|
}
|
||||||
|
@ -149,6 +149,7 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
gochat(id){
|
gochat(id){
|
||||||
|
console.log(id)
|
||||||
this.$u.route({
|
this.$u.route({
|
||||||
url:"/pageD/privateChat/privateChat",
|
url:"/pageD/privateChat/privateChat",
|
||||||
params:{
|
params:{
|
||||||
|
Loading…
Reference in New Issue
Block a user