@@ -29,7 +29,7 @@ - (instancetype)init
29
29
if (self) {
30
30
self.backgroundColor = kColorTableBG ;
31
31
_padding_top = 0 ;
32
- _padding_bottom = 40 ;
32
+ _padding_bottom = 44 ;
33
33
_image_width = kScreen_Width ;
34
34
_ratio = 0.4 ;
35
35
CGFloat viewHeight = _padding_top + _padding_bottom + _image_width * _ratio;
@@ -85,7 +85,7 @@ - (void)setCurBannerList:(NSArray *)curBannerList{
85
85
}
86
86
if (!_myPageControl) {
87
87
_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 )];
89
89
pageControl.userInteractionEnabled = NO ;
90
90
pageControl.backgroundColor = [UIColor clearColor ];
91
91
pageControl.pageIndicatorImage = [UIImage imageNamed: @" banner__page_unselected" ];
0 commit comments