Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7275824

Browse files
CodingBannersView - 调整
1 parent c63c2a3 commit 7275824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Coding_iOS/Views/CodingBannersView.m‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ - (instancetype)init
2929
if (self) {
3030
self.backgroundColor = kColorTableBG;
3131
_padding_top = 0;
32-
_padding_bottom = 40;
32+
_padding_bottom = 44;
3333
_image_width = kScreen_Width;
3434
_ratio = 0.4;
3535
CGFloat viewHeight = _padding_top + _padding_bottom + _image_width * _ratio;
@@ -85,7 +85,7 @@ - (void)setCurBannerList:(NSArray *)curBannerList{
8585
}
8686
if (!_myPageControl) {
8787
_myPageControl = ({
88-
SMPageControl *pageControl = [[SMPageControl alloc] initWithFrame:CGRectMake(kScreen_Width - kPaddingLeftWidth - 30, _mySlideView.bottom + (40 - 10)/2, 30, 10)];
88+
SMPageControl *pageControl = [[SMPageControl alloc] initWithFrame:CGRectMake(kScreen_Width - kPaddingLeftWidth - 30, _mySlideView.bottom + (_padding_bottom - 10)/2, 30, 10)];
8989
pageControl.userInteractionEnabled = NO;
9090
pageControl.backgroundColor = [UIColor clearColor];
9191
pageControl.pageIndicatorImage = [UIImage imageNamed:@"banner__page_unselected"];

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /