|
|
@@ -98,6 +98,14 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+- (void)viewWillDisappear:(BOOL)animated {
|
|
|
+ [super viewWillDisappear:animated];
|
|
|
+
|
|
|
+ if (!self.bubbleView.hidden) {
|
|
|
+ self.bubbleView.hidden = YES;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
- (void)viewDidLoad {
|
|
|
[super viewDidLoad];
|
|
|
// Do any additional setup after loading the view.
|
|
|
@@ -178,6 +186,7 @@
|
|
|
|
|
|
- (void)showBubble {
|
|
|
if (_bubbleView.superview) {
|
|
|
+ self.bubbleView.hidden = NO;
|
|
|
return;//防止重复弹出气泡
|
|
|
}
|
|
|
|
|
|
@@ -196,7 +205,7 @@
|
|
|
UIImage *originalImgae = [UIImage imageNamed:@"icon_recharge_bubble_bottom"];
|
|
|
self.bubbleView.bgImg = [originalImgae stretchLeftAndRightWithContainerSize:CGSizeMake(bubbleW, bubbleH)];
|
|
|
self.bubbleView.frame = CGRectMake(bubbleX, bubbleY, bubbleW, bubbleH);
|
|
|
- [self.view.superview addSubview:self.bubbleView];
|
|
|
+ [self.view addSubview:self.bubbleView];
|
|
|
|
|
|
if ([self checkNeedRepeatShowRechargeActivityBubble]) {
|
|
|
[self.bubbleView showWithAnimationTime:0.5 repeat:YES];
|
|
|
@@ -569,7 +578,9 @@ static BOOL MOActivityManageViewTag = NO;
|
|
|
}
|
|
|
view.isFollow = isFollow;
|
|
|
view.homeVC = self;
|
|
|
-
|
|
|
+ view.updateBlock = ^{
|
|
|
+ [weakSelf loadRightTopActivityData];
|
|
|
+ };
|
|
|
return view;
|
|
|
}
|
|
|
|