Skip to content

Commit e040353

Browse files
committed
看板 - 配图
1 parent 61d88de commit e040353

20 files changed

+83
-4
lines changed

Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 64 additions & 0 deletions
Large diffs are not rendered by default.

Coding_iOS/Controllers/NProjectViewController/NProjectViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
229229
@"本地阅读")];
230230
}else{
231231
[cell setImageStr:(indexPath.section == 2? (indexPath.row == 0? @"project_item_task":
232-
@"project_item_task"):
232+
@"project_item_taskboard"):
233233
indexPath.section == 3? (indexPath.row == 0? @"project_item_topic":
234234
@"project_item_file"):
235235
indexPath.section == 4? (indexPath.row == 0? @"project_item_code":

Coding_iOS/Controllers/TaskBoardsViewController.m

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ - (void)viewDidLoad {
4242
icarousel.bounceDistance = 0.2;
4343
[self.view addSubview:icarousel];
4444
[icarousel mas_makeConstraints:^(MASConstraintMaker *make) {
45-
make.edges.equalTo(self.view);
45+
make.edges.equalTo(self.view).insets(UIEdgeInsetsMake(0, 0, 49, 0));
4646
}];
4747
icarousel;
4848
});
@@ -103,6 +103,8 @@ - (void)setMyBoardTLs:(NSArray<EABoardTaskList *> *)myBoardTLs{
103103
[_myCarousel reloadData];
104104
[self configPageControl];
105105
[self configNavItem];
106+
self.view.backgroundColor = _myBoardTLs.count == 1? kColorTableBG: kColorTableSectionBg;
107+
self.myPageControl.hidden = (_myBoardTLs.count == 1);
106108
}else{
107109
[(EABoardTaskListView *)_myCarousel.currentItemView refresh];
108110
}
@@ -126,8 +128,8 @@ - (void)configPageControl{
126128
[self.view addSubview:pageControl];
127129
[pageControl mas_makeConstraints:^(MASConstraintMaker *make) {
128130
make.left.right.equalTo(self.view);
129-
make.height.mas_equalTo(25);
130-
make.bottom.offset(-25);
131+
make.height.mas_equalTo(10);
132+
make.bottom.offset(-(50 - 10)/ 2);
131133
}];
132134
pageControl;
133135
});
Loading
Loading
Loading
Loading
817 Bytes
Loading
1.17 KB
Loading
Loading

0 commit comments

Comments
 (0)