Merge pull request 'gdpao' (#101) from gyh into master

Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/101
This commit is contained in:
gyh 2020-09-15 17:41:25 +08:00
commit 341d733a16
2 changed files with 9 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<view id="content_tosign">
<u-form :model="form" ref="uForm">
<u-form-item label-position="right">
<u-input v-model="max" :placeholder="userinfo.rple != 4 ? '优秀的标题可以卖的更好哦~' : '优秀的标题可以吸引更多人观看哦~'" />
<u-input v-model="max" :placeholder="userinfo.role != 4 ? '优秀的标题可以卖的更好哦~' : '优秀的标题可以吸引更多人观看哦~'" />
</u-form-item>
<view class="values"><text>{{this.titleMaxLength - this.max.length}}</text>/20</view>
<u-form-item label-position="right">
@ -189,6 +189,7 @@
this.token = uni.getStorageSync('token');
this.userinfo = uni.getStorageSync("userinfo")
console.log(this.userinfo)
var config = {
appkey: 'mgb7ka1',
debug:true

View File

@ -386,6 +386,12 @@
this.stop()
this.startPreview()
this.start()
var message = {
senderNickname : this.room.currentUser.nickname ,
type : 1,
content : '重连'
}
this.chatRoomService.sendMessages(this.room.id, message);
},
onHide: function() {
console.log('App Hide');
@ -489,6 +495,7 @@
that.chatRoomService.warrings = that.jinggao
//获取当前聊天室数据
that.room = that.chatRoomService.room;
console.log(that.room)
that.chatRoomService.initialWhenOnlineUserChange(that.renqu)
}
})