From d9fe86a3c2f0cb9c3c6b7b0a604ab017120b19cc Mon Sep 17 00:00:00 2001 From: eggmanQQQ <3671373519@qq.com> Date: Fri, 5 Jul 2024 11:16:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20bugs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../YMLogin/View/FeedBackViewController.m | 17 +---------------- .../View/MenuContainerView/XPRoomSendTextView.m | 2 +- YuMi/Structure/MVP/Model/UserInfoModel.h | 2 +- 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/YuMi/Modules/YMLogin/View/FeedBackViewController.m b/YuMi/Modules/YMLogin/View/FeedBackViewController.m index 5c27c579..0dedbef6 100644 --- a/YuMi/Modules/YMLogin/View/FeedBackViewController.m +++ b/YuMi/Modules/YMLogin/View/FeedBackViewController.m @@ -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 数量 diff --git a/YuMi/Modules/YMRoom/View/MenuContainerView/XPRoomSendTextView.m b/YuMi/Modules/YMRoom/View/MenuContainerView/XPRoomSendTextView.m index f256df5a..66a8c6e8 100644 --- a/YuMi/Modules/YMRoom/View/MenuContainerView/XPRoomSendTextView.m +++ b/YuMi/Modules/YMRoom/View/MenuContainerView/XPRoomSendTextView.m @@ -63,7 +63,7 @@ } - (void)sendMessage:(NIMMessage *)message didCompleteWithError:(NSError *)error { - + } #pragma mark - Response diff --git a/YuMi/Structure/MVP/Model/UserInfoModel.h b/YuMi/Structure/MVP/Model/UserInfoModel.h index c0718592..d9d026bf 100644 --- a/YuMi/Structure/MVP/Model/UserInfoModel.h +++ b/YuMi/Structure/MVP/Model/UserInfoModel.h @@ -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坑位