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