修正 bugs

This commit is contained in:
eggmanQQQ
2024-07-05 11:16:18 +08:00
parent aee0679353
commit d9fe86a3c2
3 changed files with 3 additions and 18 deletions

View File

@@ -194,7 +194,7 @@
_titleLabel.numberOfLines = 1;
[self.contentView addSubview:_titleLabel];
[_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.mas_equalTo(self.contentView).insets(UIEdgeInsetsMake(9, 10, 9, 10));
make.edges.mas_equalTo(self.contentView);
}];
}
return self;
@@ -218,7 +218,6 @@
@property (nonatomic, strong) UIImage *selectedImage;
@property (nonatomic, strong) FeedBackConfigModel *configModel;
@property (nonatomic, strong) FeedBackTypeModel *selectTypeModel;
@property (nonatomic, strong) NSLayoutConstraint *collectionViewHeightConstraint;
@end
@@ -242,15 +241,6 @@
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
// [self.submitButton setBackgroundImage:[UIImage gradientColorImageFromColors:@[UIColorFromRGB(0xa5eec8),UIColorFromRGB(0xabf5e3)]
// gradientType:GradientTypeTopToBottom
// imgSize:CGSizeMake(300, 50)]
// forState:UIControlStateNormal];
// [self.submitButton setBackgroundImage:[UIImage gradientColorImageFromColors:@[UIColorFromRGB(0x57e193),UIColorFromRGB(0x1402a6)]
// gradientType:GradientTypeTopToBottom
// imgSize:CGSizeMake(300, 50)]
// forState:UIControlStateSelected];
}
- (LoginPresenter *)createPresenter {
@@ -268,8 +258,6 @@
[self setupFakeTopBar];
[self.closeKeyboardButton setTitle:@"" forState:UIControlStateNormal];
// self.typeCollectionLayout.estimatedItemSize = UICollectionViewFlowLayoutAutomaticSize;
self.typeCollectionView.delegate = self;
self.typeCollectionView.dataSource = self;
@@ -435,8 +423,6 @@
make.height.mas_greaterThanOrEqualTo(31);
make.width.mas_equalTo(KScreenWidth - 32);
}];
// self.collectionViewHeightConstraint = [self.typeCollectionView.heightAnchor constraintEqualToConstant:1];
// self.collectionViewHeightConstraint.active = YES;
[self.closeKeyboardButton mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(self.typeCollectionView.mas_bottom);
@@ -695,7 +681,6 @@
[self.typeCollectionView mas_updateConstraints:^(MASConstraintMaker *make) {
make.height.mas_greaterThanOrEqualTo(contentSize.height);
}];
}
// section item

View File

@@ -63,7 +63,7 @@
}
- (void)sendMessage:(NIMMessage *)message didCompleteWithError:(NSError *)error {
}
#pragma mark - Response

View File

@@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN
///用户信息中的 头饰的动画 如果没有的话 就用这个 从 HeadwearModel 映射而来
@property (nonatomic,copy) NSString *headwearPic;
@property (nonatomic,assign) NSInteger headwearType; // 1 = svga, 表示 headwearEffect 是 svga 的链接
///头饰(新字段) 上麦的时候 在扩展字段中的 只用在坑位上 从 HeadwearModel 映射而来
///头饰(新字段) 上麦的时候 在扩展字段中的 只用在坑位上
@property (nonatomic,copy) NSString *headWearUrl;
#pragma mark - 相亲房的字段
///是否为相亲模式VIP坑位