|
|
@@ -28,6 +28,8 @@
|
|
|
@property(weak, nonatomic) IBOutlet UIButton *promoteBtn;
|
|
|
@property (weak, nonatomic) IBOutlet MineItemView *shop;
|
|
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *consHeight;
|
|
|
+@property (weak, nonatomic) IBOutlet UIView *inviteView;
|
|
|
+@property (weak, nonatomic) IBOutlet NSLayoutConstraint *inviteHeight;
|
|
|
|
|
|
@end
|
|
|
|
|
|
@@ -56,6 +58,8 @@
|
|
|
self.promoteBtn.layer.shadowRadius = 10;
|
|
|
self.shop.hidden = YES;
|
|
|
self.consHeight.constant = 0.f;
|
|
|
+ self.inviteView.hidden = YES;
|
|
|
+ self.inviteHeight.constant = 0.f;
|
|
|
[self.shop layoutIfNeeded];
|
|
|
|
|
|
NSString *str = [NSString stringWithFormat:@"%@memberInfo?action=auditStatus", webURL];
|
|
|
@@ -69,6 +73,8 @@
|
|
|
if([@"true" isEqualToString: data]){
|
|
|
self.shop.hidden = NO;
|
|
|
self.consHeight.constant = 60.f;
|
|
|
+ self.inviteView.hidden = NO;
|
|
|
+ self.inviteHeight.constant = 86;
|
|
|
[self.shop layoutIfNeeded];
|
|
|
}
|
|
|
}
|