Skip to content

Commit da07279

Browse files
committed
Banner 不要圆角 & 冒泡 User 昵称改回绿色
1 parent 0811f05 commit da07279

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Coding_iOS/Util/OC_Category/UIButton+Common.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ - (void)userNameStyle{
4545
self.layer.masksToBounds = YES;
4646
self.layer.cornerRadius = 2.0;
4747
self.titleLabel.font = [UIFont systemFontOfSize:17];
48-
[self setTitleColor:[UIColor colorWithHexString:@"0x222222"] forState:UIControlStateNormal];
49-
// [self setTitleColor:[UIColor colorWithHexString:@"0x3bbd79"] forState:UIControlStateNormal];
48+
// [self setTitleColor:[UIColor colorWithHexString:@"0x222222"] forState:UIControlStateNormal];
49+
[self setTitleColor:[UIColor colorWithHexString:@"0x3bbd79"] forState:UIControlStateNormal];
5050
[self setBackgroundImage:[UIImage imageWithColor:[UIColor clearColor]] forState:UIControlStateNormal];
5151
[self setBackgroundImage:[UIImage imageWithColor:[UIColor lightGrayColor]] forState:UIControlStateHighlighted];
5252
}

Coding_iOS/Views/CodingBannersView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ - (void)setCurBannerList:(NSArray *)curBannerList{
8989
_mySlideView = ({
9090
__weak typeof(self) weakSelf = self;
9191
AutoSlideScrollView *slideView = [[AutoSlideScrollView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, _padding_top, _image_width, _image_width * _ratio) animationDuration:10.0];
92-
slideView.layer.cornerRadius = 2.0;
92+
// slideView.layer.cornerRadius = 2.0;
9393
slideView.layer.masksToBounds = YES;
9494
slideView.scrollView.scrollsToTop = NO;
9595

0 commit comments

Comments
 (0)