temp save

This commit is contained in:
eggmanQQQ
2024-09-18 17:45:11 +08:00
parent 1b0b461fd8
commit 994df0af28

View File

@@ -156,9 +156,6 @@ return view;\
}
#pragma mark - Private Method
- (void)setupUI {
self.backgroundColor = [UIColor clearColor];
@@ -189,6 +186,8 @@ return view;\
[self setupCustomDesc];
[self setupRelationshipArea];
[self setupCPArea];
}
- (void)setupAlbumScrollView {
@@ -404,6 +403,28 @@ return view;\
}
- (void)setupCPArea {
UIView *greenLine = [[UIView alloc] init];
greenLine.layer.backgroundColor = UIColorFromRGB(0x04D5C6).CGColor;
greenLine.layer.cornerRadius = 2;
[self.userInfoView addSubview:greenLine];
[greenLine mas_makeConstraints:^(MASConstraintMaker *make) {
make.leading.mas_equalTo(kGetScaleWidth(15));
make.top.mas_equalTo(self.signatureLabel.mas_bottom).offset(57);
make.size.mas_equalTo(CGSizeMake(3, 15));
}];
UILabel *titleLabel = [UILabel labelInitWithText:@"CP" font:kFontSemibold(16) textColor:[UIColor whiteColor]];
[self.userInfoView addSubview:titleLabel];
[titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.leading.mas_equalTo(greenLine.mas_trailing).offset(7);
make.centerY.mas_equalTo(greenLine);
}];
UIButton *cpListButton = [UIButton buttonWithType:UIButtonTypeCustom];
[cpListButton setImage:kImage(@"") forState:UIControlStateNormal];
[cpListButton addTarget:self action:@selector(clickCPListButton) forControlEvents:UIControlEventTouchUpInside];
[];
}
@@ -463,6 +484,10 @@ return view;\
[browser show];
}
- (void)clickCPListButton {
}
- (void)onlineButtonAction:(UIButton *)sender {
if (self.delegate && [self.delegate respondsToSelector:@selector(xPMineUserInfoHeaderView:didClickGoToRoom:)]) {
[self.delegate xPMineUserInfoHeaderView:self didClickGoToRoom:self.roomUid];