Skip to content

Commit 1b70aed

Browse files
committed
查漏补缺
1 parent e5906b7 commit 1b70aed

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

Coding_iOS/Controllers/Shop/LocationViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ - (void)viewDidLoad{
3232
tableView.dataSource = self;
3333
[tableView registerClass:[LocationCell class] forCellReuseIdentifier:kCellIdentifier_LocationCell];
3434
tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine;
35-
tableView.separatorColor = [UIColor colorWithHexString:@"0xDDDDDD"];
35+
tableView.separatorColor = kColorDDD;
3636
tableView.separatorInset = UIEdgeInsetsMake(0, 12, 0, 12);
3737
[self.view addSubview:tableView];
3838
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {

Coding_iOS/Views/Cell/LeftImage_LRTextCell.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
3131
}
3232
if (!_leftLabel) {
3333
_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];
3535
_leftLabel.textColor = kColorDark3;
3636
_leftLabel.textAlignment = NSTextAlignmentLeft;
3737
[self.contentView addSubview:_leftLabel];
3838
}
3939
if (!_rightLabel) {
4040
_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];
4242
_rightLabel.textColor = kColorDark7;
4343
_rightLabel.textAlignment = NSTextAlignmentRight;
4444
[self.contentView addSubview:_rightLabel];

Coding_iOS/Views/Cell/TaskContentCell.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define kTaskContentCell_ContentHeightMin kScaleFrom_iPhone5_Desgin(90.0)
99
#define kTextView_Pading 8.0
1010
#define kTaskContentCell_ContentWidth (kScreen_Width-kPaddingLeftWidth-kPaddingLeftWidth + 2*kTextView_Pading)
11-
#define kTaskContentCell_ContentFont [UIFont systemFontOfSize:18]
11+
#define kTaskContentCell_ContentFont [UIFont systemFontOfSize:15]
1212

1313

1414
#import "TaskContentCell.h"
@@ -77,7 +77,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
7777
if (!_deleteBtn) {
7878
_deleteBtn = ({
7979
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
80-
button.titleLabel.font = [UIFont systemFontOfSize:13];
80+
button.titleLabel.font = [UIFont systemFontOfSize:12];
8181
[button setTitleColor:kColorDark7 forState:UIControlStateNormal];
8282
[button setTitle:@"删除" forState:UIControlStateNormal];
8383
[button addTarget:self action:@selector(deleteBtnClicked:) forControlEvents:UIControlEventTouchUpInside];

Coding_iOS/Views/Cell/TaskDescriptionCell.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2222

2323
if (!_button) {
2424
_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];
2626
_button.backgroundColor = kColorTableSectionBg;
2727
_button.layer.masksToBounds = YES;
2828
_button.layer.cornerRadius = 2.0;

Coding_iOS/Views/Cell/TaskSelectionCell.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ - (void)creatView {
5050
_selImageView.sd_layout.rightSpaceToView(self.contentView, 20).centerYEqualToView(self.contentView).widthIs(20).heightIs(21);
5151

5252
_line = [[UILabel alloc] init];
53-
_line.backgroundColor = [UIColor colorWithRGBHex:0xdddddd];
53+
_line.backgroundColor = kColorDDD;
5454
[self.contentView addSubview:_line];
5555
_line.sd_layout.leftSpaceToView(self.contentView, 0).rightSpaceToView(self.contentView, 0).bottomSpaceToView(self.contentView, 0).heightIs(.5);
5656
_line.hidden = YES;

Coding_iOS/Views/PhoneCodeButton.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ - (instancetype)initWithFrame:(CGRect)frame
3232

3333
- (void)setEnabled:(BOOL)enabled{
3434
[super setEnabled:enabled];
35-
UIColor *foreColor = [UIColor colorWithHexString:enabled? @"0x2EBE76": @"0xCCCCCC"];
35+
UIColor *foreColor = enabled? kColorBrandGreen: kColorCCC;
3636
[self setTitleColor:foreColor forState:UIControlStateNormal];
3737
if (enabled) {
3838
[self setTitle:@"发送验证码" forState:UIControlStateNormal];

Coding_iOS/Views/ScreenView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ - (void)creatView {
163163
resetButton.sd_layout.leftSpaceToView(mainView, 0).bottomSpaceToView(mainView, 0).rightSpaceToView(mainView, 0).heightIs(48.5);
164164

165165
UILabel *line = [[UILabel alloc] init];
166-
line.backgroundColor = [UIColor colorWithRGBHex:0xdddddd];
166+
line.backgroundColor = kColorDDD;
167167
[mainView addSubview:line];
168168
line.sd_layout.leftSpaceToView(mainView, 0).rightSpaceToView(mainView, 0).bottomSpaceToView(resetButton, 0).heightIs(.5);
169169

0 commit comments

Comments
 (0)