Commit a2184432f1dc53b018c5f7a2e661a63e96f8a6e7

Authored by zhangxiaowen
1 parent 937cfa54

no message

CNLiveSettingModule/Classes/AboutUs/CNLiveAboutUsController.m
@@ -254,10 +254,10 @@ static const NSInteger timeValue = 1.5; @@ -254,10 +254,10 @@ static const NSInteger timeValue = 1.5;
254 254
255 - (UIView *)headerView { 255 - (UIView *)headerView {
256 if (!_headerView) { 256 if (!_headerView) {
257 - _headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 156)]; 257 + _headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 150)];
258 _headerView.clipsToBounds = YES; 258 _headerView.clipsToBounds = YES;
259 _headerView.backgroundColor = [UIColor colorWithRed:242/255.0 green:242/255.0 blue:242/255.0 alpha:1.0]; 259 _headerView.backgroundColor = [UIColor colorWithRed:242/255.0 green:242/255.0 blue:242/255.0 alpha:1.0];
260 - UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake((SCREEN_WIDTH-75)/2.0, 30, 75, 150)]; 260 + UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake((SCREEN_WIDTH-70)/2.0, 30, 70, 140)];
261 UIImage *image = [self xw_getImageName:@"about_us_icon" bundleName:@"CNLiveSettingModule" targetClass:[CNLiveSettingNavigationBar class]]; 261 UIImage *image = [self xw_getImageName:@"about_us_icon" bundleName:@"CNLiveSettingModule" targetClass:[CNLiveSettingNavigationBar class]];
262 imageView.image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 262 imageView.image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
263 imageView.contentMode = UIViewContentModeScaleAspectFill; 263 imageView.contentMode = UIViewContentModeScaleAspectFill;