|  | @@ -582,6 +582,9 @@
 | 
											
												
													
														|  |              if (suspensionArray.count) {
 |  |              if (suspensionArray.count) {
 | 
											
												
													
														|  |                  self.buttonModel = [[HomeMessageModel alloc] initWithDictionary:[suspensionArray firstObject]];
 |  |                  self.buttonModel = [[HomeMessageModel alloc] initWithDictionary:[suspensionArray firstObject]];
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  | 
 |  | +            else {
 | 
											
												
													
														|  | 
 |  | +                self.buttonModel = nil;
 | 
											
												
													
														|  | 
 |  | +            }
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          else {
 |  |          else {
 | 
											
												
													
														|  |              [self MBPShow:MESSAGEKEY];
 |  |              [self MBPShow:MESSAGEKEY];
 | 
											
										
											
												
													
														|  | @@ -860,6 +863,15 @@
 | 
											
												
													
														|  |      if (self.buttonModel) {
 |  |      if (self.buttonModel) {
 | 
											
												
													
														|  |          [self showFloatingWindow];
 |  |          [self showFloatingWindow];
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  | 
 |  | +    else {
 | 
											
												
													
														|  | 
 |  | +        [self removeFloatWindow];
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +- (void)removeFloatWindow {
 | 
											
												
													
														|  | 
 |  | +    if ([self.view.subviews containsObject:self.suspendButton]) {
 | 
											
												
													
														|  | 
 |  | +        [self.suspendButton removeFromSuperview];
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  // 显示悬浮窗
 |  |  // 显示悬浮窗
 |