Commit 560d2699 authored by polo2013's avatar polo2013

修改右侧功能菜单的头部

parent 5e0d9609
......@@ -79,11 +79,17 @@
#pragma mark -头部视图
- (void)createHeaderview
{
UIView *headerView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, RightWidth, 200)];
UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 80, 80)];
imageView.center = CGPointMake(RightWidth/2, 100);
imageView.image = TCImage(@"weibo");
[headerView addSubview:imageView];
UIView *headerView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, RightWidth, NavigationHeight)];
//UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(10, 13, 115, 35)];
//imageView.center = CGPointMake(RightWidth/2, 100);
//imageView.image = TCImage(@"欧");
//[headerView addSubview:imageView];
headerView.backgroundColor = [UIColor colorWithRed:61.0f/255.0f green:171.0f/255.0f blue:225.0f/255.0f alpha:1];
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(RightWidth/4, 13, 115, 35)];
label.text = @"功能菜单";
label.font = [UIFont fontWithName:@"Helvetica" size:20.0];
[label setTextColor:[UIColor whiteColor]];
[headerView addSubview:label];
self.rightTableview.tableHeaderView = headerView;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment