个人中心UI调整
This commit is contained in:
@@ -105,7 +105,7 @@
|
|||||||
[self.avatarImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.avatarImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.size.mas_equalTo(CGSizeMake(50, 50));
|
make.size.mas_equalTo(CGSizeMake(50, 50));
|
||||||
make.left.mas_equalTo(self).offset(20);
|
make.left.mas_equalTo(self).offset(20);
|
||||||
make.top.mas_equalTo(self).offset(30 + kSafeAreaTopHeight);
|
make.top.mas_equalTo(self).offset(30 + kSafeAreaTopHeight-14);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
[self.nobleImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.nobleImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
@@ -540,7 +540,7 @@
|
|||||||
_skillCardButton.titleLabel.font = [UIFont systemFontOfSize:12 weight:UIFontWeightMedium];
|
_skillCardButton.titleLabel.font = [UIFont systemFontOfSize:12 weight:UIFontWeightMedium];
|
||||||
[_skillCardButton setTitleColor:UIColorFromRGB(0x000000) forState:UIControlStateNormal];
|
[_skillCardButton setTitleColor:UIColorFromRGB(0x000000) forState:UIControlStateNormal];
|
||||||
[_skillCardButton setImageEdgeInsets:UIEdgeInsetsMake(0, -10, 0, 0)];
|
[_skillCardButton setImageEdgeInsets:UIEdgeInsetsMake(0, -10, 0, 0)];
|
||||||
_skillCardButton.backgroundColor = [UIColor whiteColor];
|
_skillCardButton.backgroundColor = UIColorRGBAlpha(0xFFFFFF, 0.7);
|
||||||
_skillCardButton.layer.cornerRadius = 14;
|
_skillCardButton.layer.cornerRadius = 14;
|
||||||
_skillCardButton.layer.masksToBounds = YES;
|
_skillCardButton.layer.masksToBounds = YES;
|
||||||
[_skillCardButton addTarget:self action:@selector(tapSkillCardRecognizer) forControlEvents:UIControlEventTouchUpInside];
|
[_skillCardButton addTarget:self action:@selector(tapSkillCardRecognizer) forControlEvents:UIControlEventTouchUpInside];
|
||||||
|
@@ -149,7 +149,7 @@
|
|||||||
make.left.right.top.mas_equalTo(0);
|
make.left.right.top.mas_equalTo(0);
|
||||||
}];
|
}];
|
||||||
[self.settingButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.settingButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.size.mas_equalTo(CGSizeMake(18, 18));
|
make.size.mas_equalTo(CGSizeMake(21, 21));
|
||||||
make.right.mas_equalTo(self.view).offset(-14);
|
make.right.mas_equalTo(self.view).offset(-14);
|
||||||
make.top.mas_equalTo(self.view).offset(kSafeAreaTopHeight + 29);
|
make.top.mas_equalTo(self.view).offset(kSafeAreaTopHeight + 29);
|
||||||
}];
|
}];
|
||||||
@@ -593,8 +593,8 @@
|
|||||||
|
|
||||||
- (XPMineHeadView *)headView {
|
- (XPMineHeadView *)headView {
|
||||||
if (!_headView) {
|
if (!_headView) {
|
||||||
CGFloat height = (KScreenWidth - 30 - 17) * 0.5 * 64 / 164;
|
CGFloat height = (KScreenWidth - 30 - 16) * 0.5 * 64 / 164;
|
||||||
_headView = [[XPMineHeadView alloc] initWithFrame:CGRectMake(0, 0,KScreenWidth , 123 + height + kSafeAreaTopHeight + 50)];
|
_headView = [[XPMineHeadView alloc] initWithFrame:CGRectMake(0, 0,KScreenWidth , 142 +44 + height + kStatusBarHeight)];
|
||||||
_headView.delegate = self;
|
_headView.delegate = self;
|
||||||
}
|
}
|
||||||
return _headView;
|
return _headView;
|
||||||
|
Reference in New Issue
Block a user