Skip to content

Commit 8a72d32

Browse files
committed
统一背景色
1 parent 83679af commit 8a72d32

42 files changed

Lines changed: 42 additions & 42 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Coding_iOS/Controllers/AddTopicViewController.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ - (void)loadView{
4545
CGRect frame = [UIView frameWithOutNav];
4646

4747
self.view = [[UIView alloc] initWithFrame:frame];
48-
self.view.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
49-
48+
5049
frame = CGRectMake(0, 30, kScreen_Width, 44);
5150
UIView *bgWhiteView = [[UIView alloc] initWithFrame:frame];
5251
bgWhiteView.backgroundColor = [UIColor whiteColor];

Coding_iOS/Controllers/AddUserViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ - (void)loadView{
5050
self.view = [[UIView alloc] initWithFrame:[UIView frameWithOutNav]];
5151
_myTableView = ({
5252
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
53+
tableView.backgroundColor = [UIColor clearColor];
5354
tableView.delegate = self;
5455
tableView.dataSource = self;
5556
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

Coding_iOS/Controllers/CodeViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ - (void)loadView{
3838
[super loadView];
3939
CGRect frame = [UIView frameWithOutNav];
4040
self.view = [[UIView alloc] initWithFrame:frame];
41-
self.view.backgroundColor = [UIColor whiteColor];
41+
4242
self.title = [[_myCodeFile.path componentsSeparatedByString:@"/"] lastObject];
4343

4444
{

Coding_iOS/Controllers/ConversationViewController.m

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ - (void)loadView{
8686
// 添加myTableView
8787
_myTableView = ({
8888
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
89-
tableView.backgroundColor = kColorTableBG;
89+
tableView.backgroundColor = [UIColor clearColor];
9090
tableView.dataSource = self;
9191
tableView.delegate = self;
9292
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
@@ -241,8 +241,6 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
241241
}
242242
}];
243243

244-
245-
246244
return cell;
247245
}
248246

@@ -278,20 +276,6 @@ - (void)scrollToBottomAnimated:(BOOL)animated
278276
}
279277
}
280278

281-
- (UIView *)msgInputView{
282-
UIView *msgInputView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreen_Width, 44)];
283-
msgInputView.backgroundColor = [UIColor redColor];
284-
285-
UITextView *inputView = [[UITextView alloc]initWithFrame:CGRectMake(15, 7, kScreen_Width-15*2-65, 30)];
286-
inputView.font = [UIFont systemFontOfSize:15];
287-
inputView.returnKeyType = UIReturnKeySend;
288-
inputView.scrollsToTop = NO;
289-
inputView.delegate = self;
290-
291-
[msgInputView addSubview:inputView];
292-
return msgInputView;
293-
}
294-
295279
#pragma mark UIMessageInputView M
296280
- (void)willTranspondMessage:(PrivateMessage *)message{
297281
__weak typeof(self) weakSelf = self;

Coding_iOS/Controllers/EditTaskViewController.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
331331
[actionSheet showInView:kKeyWindow];
332332
};
333333
}
334+
cell.backgroundColor = kColorTableBG;
334335
[tableView addLineforPlainCell:cell forRowAtIndexPath:indexPath withLeftSpace:20];
335336
return cell;
336337
// }else if (indexPath.section == 2){
@@ -346,24 +347,28 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
346347
}else if (indexPath.section == 1){
347348
LeftImage_LRTextCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_LeftImage_LRText forIndexPath:indexPath];
348349
[cell setObj:_myCopyTask type:indexPath.row];
350+
cell.backgroundColor = kColorTableBG;
349351
[tableView addLineforPlainCell:cell forRowAtIndexPath:indexPath withLeftSpace:20];
350352
return cell;
351353
}else{
352354
if (indexPath.row == 0) {
353355
TaskCommentTopCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_TaskCommentTop forIndexPath:indexPath];
354356
cell.commentNumStrLabel.text = [NSString stringWithFormat:@"%d 条评论", _myCopyTask.comments.intValue];
357+
cell.backgroundColor = kColorTableBG;
355358
[cell addLineUp:YES andDown:NO andColor:tableView.separatorColor];
356359
return cell;
357360
}else{
358361
if ([self hasComment]) {
359362
TaskCommentCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_TaskComment forIndexPath:indexPath];
360363
TaskComment *curComment = [_myCopyTask.commentList objectAtIndex:indexPath.row-1];
361364
cell.curComment = curComment;
365+
cell.backgroundColor = kColorTableBG;
362366
[tableView addLineforPlainCell:cell forRowAtIndexPath:indexPath withLeftSpace:20];
363367
return cell;
364368
}else{
365369
TaskCommentBlankCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_TaskCommentBlank forIndexPath:indexPath];
366370
cell.blankStrLabel.text = (_myCopyTask.comments.intValue <= 0)? @"尚无评论,速速抢个先手吧": @"正在加载评论...";
371+
cell.backgroundColor = kColorTableBG;
367372
[tableView addLineforPlainCell:cell forRowAtIndexPath:indexPath withLeftSpace:20];
368373
return cell;
369374
}

Coding_iOS/Controllers/FileListViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ - (void)loadView{
7575
// 添加myTableView
7676
_myTableView = ({
7777
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
78+
tableView.backgroundColor = [UIColor clearColor];
7879
tableView.dataSource = self;
7980
tableView.delegate = self;
8081
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

Coding_iOS/Controllers/FileViewController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ - (void)loadView{
4040
[super loadView];
4141
self.title = self.curFile.name;
4242
self.view = [[UIView alloc] initWithFrame:[UIView frameWithOutNav]];
43-
self.view.backgroundColor = [UIColor whiteColor];
4443

4544
if ([self.curFile isEmpty]) {
4645
[self requestFileData];

Coding_iOS/Controllers/FolderToMoveViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ - (void)loadView{
3535
// 添加myTableView
3636
_myTableView = ({
3737
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
38+
tableView.backgroundColor = [UIColor clearColor];
3839
tableView.dataSource = self;
3940
tableView.delegate = self;
4041
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

Coding_iOS/Controllers/LikersViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ - (void)loadView{
5757
self.title = @"点赞的人";
5858
_myTableView = ({
5959
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
60+
tableView.backgroundColor = [UIColor clearColor];
6061
[tableView registerClass:[UserCell class] forCellReuseIdentifier:kCellIdentifier_UserCell];
6162
tableView.delegate = self;
6263
tableView.dataSource = self;

Coding_iOS/Controllers/MeSetting/AboutViewController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ - (void)didReceiveMemoryWarning
3737
- (void)loadView{
3838
self.view = [[UIView alloc] init];
3939
self.title = @"关于Coding";
40-
self.view.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
4140

4241
CGFloat logoViewTop, logoLabelTop, versionLabelTop, infoLabelBottom;
4342
NSString *icon_user_monkey;

0 commit comments

Comments
 (0)