修复了星座礼物 关闭可以根据后台返回
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#import "XPHtmlUrl.h"
|
||||
#import "AccountInfoStorage.h"
|
||||
#import "NSArray+Safe.h"
|
||||
#import "ClientConfig.h"
|
||||
#import "XCCurrentVCStackManager.h"
|
||||
///Model
|
||||
#import "GiftInfoModel.h"
|
||||
@@ -498,14 +499,19 @@
|
||||
}
|
||||
} else if(type == GiftSegmentType_WeekStar) {
|
||||
[self.luckyBroadcastView removeFromSuperview];
|
||||
if (!self.constellationBanner.superview) {
|
||||
[self.view addSubview:self.constellationBanner];
|
||||
[self.constellationBanner mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.mas_equalTo(self.contentView.mas_top);
|
||||
make.left.right.mas_equalTo(0);
|
||||
make.height.mas_equalTo(75);
|
||||
}];
|
||||
}
|
||||
if ([ClientConfig shareConfig].configInfo.twelveStarSwitch) {
|
||||
self.constellationBanner.hidden = NO;
|
||||
if (!self.constellationBanner.superview) {
|
||||
[self.view addSubview:self.constellationBanner];
|
||||
[self.constellationBanner mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.mas_equalTo(self.contentView.mas_top);
|
||||
make.left.right.mas_equalTo(0);
|
||||
make.height.mas_equalTo(75);
|
||||
}];
|
||||
}
|
||||
} else {
|
||||
self.constellationBanner.hidden = YES;
|
||||
}
|
||||
} else {
|
||||
[self.luckyBroadcastView removeFromSuperview];
|
||||
[self.constellationBanner removeFromSuperview];
|
||||
|
@@ -31,6 +31,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic,strong) AdvertiseModel *splashVo;
|
||||
///官方消息Uid列表
|
||||
@property (nonatomic, strong) NSArray<NSString *> *officialMsgUids;
|
||||
///星座礼物顶部是否开启
|
||||
@property (nonatomic,assign) BOOL twelveStarSwitch;
|
||||
|
||||
@end
|
||||
|
||||
|
Reference in New Issue
Block a user