GeezerVison is showing github.com — 查漏补缺 · wkrelease/Coding-iOS@1b70aed
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/Shop/LocationViewController.m +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -32,7 +32,7 @@ - (void)viewDidLoad{ | 32 | 32 | tableView.dataSource = self; | 33 | 33 | [tableView registerClass:[LocationCell class] forCellReuseIdentifier:kCellIdentifier_LocationCell]; | 34 | 34 | tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine; | 35 | | - tableView.separatorColor = [UIColor colorWithHexString:@"0xDDDDDD"]; | | 35 | + tableView.separatorColor = kColorDDD; | 36 | 36 | tableView.separatorInset = UIEdgeInsetsMake(0, 12, 0, 12); | 37 | 37 | [self.view addSubview:tableView]; | 38 | 38 | [tableView mas_makeConstraints:^(MASConstraintMaker *make) { | |
Collapse file Copy file name to clipboardExpand all lines: Coding_iOS/Views/Cell/LeftImage_LRTextCell.m +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -31,14 +31,14 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus | 31 | 31 | } | 32 | 32 | if (!_leftLabel) { | 33 | 33 | _leftLabel = [[UILabel alloc] initWithFrame:CGRectMake(60, ([LeftImage_LRTextCell cellHeight] - 30) / 2, 80, 30)]; | 34 | | - _leftLabel.font = [UIFont systemFontOfSize:16]; | | 34 | + _leftLabel.font = [UIFont systemFontOfSize:15]; | 35 | 35 | _leftLabel.textColor = kColorDark3; | 36 | 36 | _leftLabel.textAlignment = NSTextAlignmentLeft; | 37 | 37 | [self.contentView addSubview:_leftLabel]; | 38 | 38 | } | 39 | 39 | if (!_rightLabel) { | 40 | 40 | _rightLabel = [[UILabel alloc] initWithFrame:CGRectMake(CGRectGetMaxX(_leftLabel.frame), ([LeftImage_LRTextCell cellHeight] - 30) / 2, kScreen_Width - CGRectGetMaxX(_leftLabel.frame) - 35, 30)]; | 41 | | - _rightLabel.font = [UIFont systemFontOfSize:16]; | | 41 | + _rightLabel.font = [UIFont systemFontOfSize:15]; | 42 | 42 | _rightLabel.textColor = kColorDark7; | 43 | 43 | _rightLabel.textAlignment = NSTextAlignmentRight; | 44 | 44 | [self.contentView addSubview:_rightLabel]; | |
Collapse file Copy file name to clipboardExpand all lines: Coding_iOS/Views/Cell/TaskContentCell.m +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 8 | 8 | #define kTaskContentCell_ContentHeightMin kScaleFrom_iPhone5_Desgin(90.0) | 9 | 9 | #define kTextView_Pading 8.0 | 10 | 10 | #define kTaskContentCell_ContentWidth (kScreen_Width-kPaddingLeftWidth-kPaddingLeftWidth + 2*kTextView_Pading) | 11 | | -#define kTaskContentCell_ContentFont [UIFont systemFontOfSize:18] | | 11 | +#define kTaskContentCell_ContentFont [UIFont systemFontOfSize:15] | 12 | 12 |
| 13 | 13 |
| 14 | 14 | #import "TaskContentCell.h" | @@ -77,7 +77,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus | 77 | 77 | if (!_deleteBtn) { | 78 | 78 | _deleteBtn = ({ | 79 | 79 | UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; | 80 | | - button.titleLabel.font = [UIFont systemFontOfSize:13]; | | 80 | + button.titleLabel.font = [UIFont systemFontOfSize:12]; | 81 | 81 | [button setTitleColor:kColorDark7 forState:UIControlStateNormal]; | 82 | 82 | [button setTitle:@"删除" forState:UIControlStateNormal]; | 83 | 83 | [button addTarget:self action:@selector(deleteBtnClicked:) forControlEvents:UIControlEventTouchUpInside]; | |
Collapse file Copy file name to clipboardExpand all lines: Coding_iOS/Views/Cell/TaskDescriptionCell.m +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -22,7 +22,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus | 22 | 22 |
| 23 | 23 | if (!_button) { | 24 | 24 | _button = [[UIButton alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, ([[self class] cellHeight] - 36)/2, kScreen_Width - 2*kPaddingLeftWidth, 36)]; | 25 | | - _button.titleLabel.font = [UIFont systemFontOfSize:16]; | | 25 | + _button.titleLabel.font = [UIFont systemFontOfSize:14]; | 26 | 26 | _button.backgroundColor = kColorTableSectionBg; | 27 | 27 | _button.layer.masksToBounds = YES; | 28 | 28 | _button.layer.cornerRadius = 2.0; | |
Collapse file Copy file name to clipboardExpand all lines: Coding_iOS/Views/Cell/TaskSelectionCell.m +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -50,7 +50,7 @@ - (void)creatView { | 50 | 50 | _selImageView.sd_layout.rightSpaceToView(self.contentView, 20).centerYEqualToView(self.contentView).widthIs(20).heightIs(21); | 51 | 51 |
| 52 | 52 | _line = [[UILabel alloc] init]; | 53 | | - _line.backgroundColor = [UIColor colorWithRGBHex:0xdddddd]; | | 53 | + _line.backgroundColor = kColorDDD; | 54 | 54 | [self.contentView addSubview:_line]; | 55 | 55 | _line.sd_layout.leftSpaceToView(self.contentView, 0).rightSpaceToView(self.contentView, 0).bottomSpaceToView(self.contentView, 0).heightIs(.5); | 56 | 56 | _line.hidden = YES; | |
Collapse file Copy file name to clipboardExpand all lines: Coding_iOS/Views/PhoneCodeButton.m +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -32,7 +32,7 @@ - (instancetype)initWithFrame:(CGRect)frame | 32 | 32 |
| 33 | 33 | - (void)setEnabled:(BOOL)enabled{ | 34 | 34 | [super setEnabled:enabled]; | 35 | | - UIColor *foreColor = [UIColor colorWithHexString:enabled? @"0x2EBE76": @"0xCCCCCC"]; | | 35 | + UIColor *foreColor = enabled? kColorBrandGreen: kColorCCC; | 36 | 36 | [self setTitleColor:foreColor forState:UIControlStateNormal]; | 37 | 37 | if (enabled) { | 38 | 38 | [self setTitle:@"发送验证码" forState:UIControlStateNormal]; | |
Collapse file Copy file name to clipboardExpand all lines: Coding_iOS/Views/ScreenView.m +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -163,7 +163,7 @@ - (void)creatView { | 163 | 163 | resetButton.sd_layout.leftSpaceToView(mainView, 0).bottomSpaceToView(mainView, 0).rightSpaceToView(mainView, 0).heightIs(48.5); | 164 | 164 |
| 165 | 165 | UILabel *line = [[UILabel alloc] init]; | 166 | | - line.backgroundColor = [UIColor colorWithRGBHex:0xdddddd]; | | 166 | + line.backgroundColor = kColorDDD; | 167 | 167 | [mainView addSubview:line]; | 168 | 168 | line.sd_layout.leftSpaceToView(mainView, 0).rightSpaceToView(mainView, 0).bottomSpaceToView(resetButton, 0).heightIs(.5); | 169 | 169 |
| |
|