Merge branch 'feature/1.0.9/New_Home_Me_Page#916' into feature/1.0.10/User_Detail_Page_Update#962
* feature/1.0.9/New_Home_Me_Page#916: fix some PK ui bugs 修正 UI 效果
This commit is contained in:
@@ -146,9 +146,8 @@
|
||||
make.width.mas_equalTo(width);
|
||||
}];
|
||||
}];
|
||||
|
||||
_subView.text = _roomInfo.introduction;
|
||||
_subView.text = _roomInfo.roomDesc;
|
||||
|
||||
_subView.text = _roomInfo.roomDesc.length > 0 ? _roomInfo.roomDesc : YMLocalizedString(@"XPHomeMineViewController3");
|
||||
_heatView.text = @(_roomInfo.onlineNum).stringValue;
|
||||
_rankImageView.image = nil;
|
||||
_pkImageView.hidden = !_roomInfo.crossPking;
|
||||
|
@@ -248,7 +248,7 @@
|
||||
_pi_BannerView.layer.masksToBounds = YES;
|
||||
_pi_BannerView.delegate = self;
|
||||
_pi_BannerView.showPageControl = NO;
|
||||
_pi_BannerView.autoScrollTimeInterval = 10.0;
|
||||
_pi_BannerView.autoScrollTimeInterval = 5.0;
|
||||
[_pi_BannerView disableScrollGesture];
|
||||
_pi_BannerView.bannerImageViewContentMode = UIViewContentModeScaleAspectFill;
|
||||
_pi_BannerView.scrollDirection = UICollectionViewScrollDirectionVertical;
|
||||
|
@@ -87,22 +87,6 @@
|
||||
[subView removeFromSuperview];
|
||||
}
|
||||
}
|
||||
|
||||
if (self.miniAvatarsContainer.subviews.count == 0) {
|
||||
NetImageConfig *config = [[NetImageConfig alloc]init];
|
||||
config.placeHolder = [UIImageConstant defaultAvatarPlaceholder];
|
||||
NetImageView *iconView = [[NetImageView alloc]initWithConfig:config];
|
||||
iconView.layer.cornerRadius = kGetScaleWidth(20)/2;
|
||||
iconView.layer.masksToBounds = YES;
|
||||
iconView.layer.borderWidth = 1;
|
||||
iconView.layer.borderColor = [UIColor whiteColor].CGColor;
|
||||
[self.miniAvatarsContainer addSubview:iconView];
|
||||
[iconView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.top.equalTo(self.miniAvatarsContainer);
|
||||
make.leading.mas_equalTo(self.miniAvatarsContainer);
|
||||
make.width.height.mas_equalTo(20);
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)setupUI {
|
||||
|
Reference in New Issue
Block a user