Commit bb72d07d authored by 1365102044's avatar 1365102044

替换GMAILab 中的 美购 为 商品

parent a580df3c
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
}]; }];
self.backgroundColor = UIColor.whiteColor; self.backgroundColor = UIColor.whiteColor;
_leftLabel = [GMLabel labelWithTextColor:UIColor.headlineText fontSize:16]; _leftLabel = [GMLabel labelWithTextColor:UIColor.headlineText fontSize:16];
_leftLabel.text = @"相关美购"; _leftLabel.text = @"相关商品";
[self addSubview:_leftLabel]; [self addSubview:_leftLabel];
[_leftLabel mas_makeConstraints:^(MASConstraintMaker *make) { [_leftLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.mas_equalTo(15); make.left.mas_equalTo(15);
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
_textField.clearButtonMode = UITextFieldViewModeWhileEditing; _textField.clearButtonMode = UITextFieldViewModeWhileEditing;
_textField.layer.cornerRadius = 16; _textField.layer.cornerRadius = 16;
_textField.layer.masksToBounds = YES; _textField.layer.masksToBounds = YES;
_textField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"搜索项目、美购、医生" attributes:@{ _textField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"搜索项目、商品、医生" attributes:@{
NSFontAttributeName:[UIFont systemFontOfSize:14], NSFontAttributeName:[UIFont systemFontOfSize:14],
NSForegroundColorAttributeName:UIColor.auxiliaryTextLight NSForegroundColorAttributeName:UIColor.auxiliaryTextLight
}]; }];
......
...@@ -481,7 +481,7 @@ ...@@ -481,7 +481,7 @@
_searchNavigationView = [GMAISearchNavigationView new]; _searchNavigationView = [GMAISearchNavigationView new];
_searchNavigationView.textField.delegate = self; _searchNavigationView.textField.delegate = self;
_searchNavigationView.hidden = YES; _searchNavigationView.hidden = YES;
_searchNavigationView.textField.placeholder = @"请输入美购名称"; _searchNavigationView.textField.placeholder = @"请输入商品名称";
_searchNavigationView.showCancelButton = NO; _searchNavigationView.showCancelButton = NO;
} }
return _searchNavigationView; return _searchNavigationView;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment