gdpao #101
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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)
 | 
			
		||||
                }
 | 
			
		||||
            })
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user