Skip to content

Commit 620b14f

Browse files
committed
UI 优化
1 parent c44f7f9 commit 620b14f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Coding_iOS/Controllers/Login/RegisterViewController.m

+4-4
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ - (UIView *)customFooterView{
298298
label.delegate = self;
299299
label;
300300
});
301-
NSString *tipStr = @"点击立即体验,即表示同意《coding服务条款";
301+
NSString *tipStr = @"点击立即体验,即表示同意《Coding 服务条款";
302302
lineLabel.text = tipStr;
303-
[lineLabel addLinkToTransitInformation:@{@"actionStr" : @"gotoServiceTermsVC"} withRange:[tipStr rangeOfString:@"coding服务条款"]];
303+
[lineLabel addLinkToTransitInformation:@{@"actionStr" : @"gotoServiceTermsVC"} withRange:[tipStr rangeOfString:@"Coding 服务条款"]];
304304
CGRect footerBtnFrame = _footerBtn.frame;
305305
lineLabel.frame = CGRectMake(CGRectGetMinX(footerBtnFrame), CGRectGetMaxY(footerBtnFrame) +12, CGRectGetWidth(footerBtnFrame), 12);
306306
[footerV addSubview:lineLabel];
@@ -357,7 +357,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
357357
weakSelf.inputTipsView.active = NO;
358358
};
359359
}else{
360-
[cell setPlaceholder:@" 个性后缀" value:self.myRegister.global_key];
360+
[cell setPlaceholder:@" 个性后缀(仅支持数字和字母)" value:self.myRegister.global_key];
361361
cell.textValueChangedBlock = ^(NSString *valueStr){
362362
weakSelf.myRegister.global_key = valueStr;
363363
};
@@ -407,7 +407,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
407407
weakSelf.inputTipsView.active = NO;
408408
};
409409
}else{
410-
[cell setPlaceholder:@" 个性后缀" value:self.myRegister.global_key];
410+
[cell setPlaceholder:@" 个性后缀(仅支持数字和字母)" value:self.myRegister.global_key];
411411
cell.textValueChangedBlock = ^(NSString *valueStr){
412412
weakSelf.myRegister.global_key = valueStr;
413413
};

Coding_iOS/Models/Login.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ - (NSDictionary *)toParams{
5454

5555
- (NSString *)goToLoginTipWithCaptcha:(BOOL)needCaptcha{
5656
if (!_email || _email.length <= 0) {
57-
return @"请填写电子邮箱或个性后缀";
57+
return @"请填写「手机号码/电子邮箱/个性后缀」";
5858
}
5959
if (!_password || _password.length <= 0) {
6060
return @"请填写密码";

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
### Coding_iOS客户端项目介绍
3-
*编译环境:Xcode-Version 6.1 (6A1052d)*
3+
*编译环境:Xcode-Version 7.2 (7C68)*
44
#### 让项目跑起来先
55
Clone 代码后,初次执行前,需要双击运行根目录下的`bootstrap`脚本。这个过程涉及到下载依赖,可能会有点久,需耐心等待。
66

0 commit comments

Comments
 (0)