聚合云播

排序

芦苇地剧情简介

"; //model = [[JS_AnimationShowModel alloc]init]; //model.title = @"小川阿美"; //model.cover = @"biaotikuang"; //model.descript = @"12月17日,小川阿美在东京举行新书「 全力以赴的多愁善感 」发售纪念招待会。"; WS(ws); // 设置 标题 UIView * titleView = [[UIView alloc] init]; // titleView.backgroundColor = [UIColor redColor]; [self.view addSubview:titleView]; [titleView mas_makeConstraints:^(MASConstraintMaker *make) { make.top.left.right.equalTo(ws.view); make.height.mas_equalTo(@64); }]; UIView * titleView1 = [[UIView alloc] init]; titleView1.backgroundColor = [UIColor colorWithHexString:@"#393939"]; titleView1.alpha = 0.5; [titleView addSubview:titleView1]; [titleView1 mas_makeConstraints:^(MASConstraintMaker *make) { make.top.left.right.bottom.equalTo(titleView); }]; UIButton * leftBtn = [UIButton buttonWithType:UIButtonTypeCustom]; [leftBtn setImage:[UIImage imageNamed:@"im_back_btn_a"] forState:UIControlStateNormal]; [leftBtn addTarget:self action:@selector(navLeftBtnCLick) forControlEvents:UIControlEventTouchUpInside]; [titleView addSubview:leftBtn]; [leftBtn mas_makeConstraints:^(MASConstraintMaker *make) { make.left.equalTo(titleView).offset(5); make.top.equalTo(titleView).offset(25); make.width.height.mas_equalTo(@30); }]; UIButton * rightBtn = [UIButton buttonWithType:UIButtonTypeCustom]; [rightBtn setImage:[UIImage imageNamed:@"iconfont-xihuan"] forState:UIControlStateNormal]; [rightBtn addTarget:self action:@selector(navRightBtnCLick) forControlEvents:UIControlEventTouchUpInside]; [titleView addSubview:rightBtn]; [rightBtn mas_makeConstraints:^(MASConstraintMaker *make) { make.right.equalTo(titleView).offset(-5); make.top.equalTo(titleView).offset(25); make.width.height.mas_equalTo(@30); }]; UILabel * label = [[UILabel alloc] init]; label.text = _str; label.font = [UIFont systemFontOfSize:18]; label.textColor = [UIColor whiteColor]; label.textAlignment = NSTextAlignmentCenter; label.numberOfLines = 1; [titleView addSubview:label]; [label mas_makeConstraints:^(MASConstraintMaker *make) { make.centerX.equalTo(titleView); make.top.equalTo(titleView).offset(25); make.width.mas_equalTo(@(SCREEN_WIDTH*0.75)); make.height.mas_equalTo(@30); }]; UIView * lineView = [[UIView alloc] init]; lineView.backgroundColor = [UIColor colorWithHexString:@"#e20202"]; [self.view addSubview:lineView]; [lineView mas_makeConstraints:^(MASConstraintMaker *make) { make.left.right.equalTo(ws.view); make.top.equalTo(titleView.mas_bottom).offset(0); make.height.mas_equalTo(@1); }]; // 设置 标题 UIView * titleView2 = [[UIView alloc] init]; // titleView.backgroundColor = [UIColor redColor]; [self.view addSubview:titleView2]; [titleView2 mas_makeConstraints:^(MASConstraintMaker *make) { make.bottom.left.right.equalTo(ws.view); make.height.mas_equalTo(@50); }]; UIView * titleView3 = [[UIView alloc] init]; titleView3.backgroundColor = [UIColor colorWithHexString:@"#393939"]; titleView3.alpha = 0.5; [titleView2 addSubview:titleView3]; [titleView3 mas_makeConstraints:^(MASConstraintMaker *make) { make.bottom.left.right.top.equalTo(titleView2); }]; UILabel * descript = [[UILabel alloc] init]; descript.text = @"上拉查看图文详情"; descript.font = [UIFont systemFontOfSize:14]; descript.textColor = [UIColor whiteColor]; descript.textAlignment = NSTextAlignmentCenter; descript.numberOfLines = 1; [titleView2 addSubview:descript]; [descript mas_makeConstraints:^(MASConstraintMaker *make) { make.centerX.centerY.equalTo(titleView2); make.width.mas_equalTo(@(SCREEN_WIDTH)); make.height.mas_equalTo(@30); }]; //设置 tableview self.automaticallyAdjustsScrollViewInsets = NO; _tableView = [[UITableView alloc] initWithFrame:CGRectMake(0 ,65 ,SCREEN_WIDTH,SCREEN_HEIGHT-115)] style:UITableViewStylePlain]; _tableView.dataSource = self; _tableView.delegate = self; _tableView.separatorStyle = UITableViewCellSeparatorStyleNone; _tableView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0); _tableView