Commit 9517dd50 by ludi

修复一些bug

parent 688942a2
...@@ -149,11 +149,8 @@ ...@@ -149,11 +149,8 @@
notificationRemindTextLabel.font = [UIFont fus_themeFont:14]; notificationRemindTextLabel.font = [UIFont fus_themeFont:14];
notificationRemindTextLabel.textColor = [UIColor fus_textColorRich]; notificationRemindTextLabel.textColor = [UIColor fus_textColorRich];
notificationRemindTextLabel.text = [NSString fus_localString:@"开启通知,随时接收好友私信"]; notificationRemindTextLabel.text = [NSString fus_localString:@"开启通知,随时接收好友私信"];
notificationRemindTextLabel.numberOfLines = 0;
[self.notificationRemindView addSubview:notificationRemindTextLabel]; [self.notificationRemindView addSubview:notificationRemindTextLabel];
[notificationRemindTextLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(bellImgView.mas_right).offset(10);
make.centerY.offset(0);
}];
UIButton *notificationRemindCloseBtn = [UIButton buttonWithType:UIButtonTypeCustom]; UIButton *notificationRemindCloseBtn = [UIButton buttonWithType:UIButtonTypeCustom];
[notificationRemindCloseBtn setImage:[FUSChatCenterBunble imageNamed:@"fus_common_close_black_icon"] forState:UIControlStateNormal]; [notificationRemindCloseBtn setImage:[FUSChatCenterBunble imageNamed:@"fus_common_close_black_icon"] forState:UIControlStateNormal];
...@@ -175,6 +172,11 @@ ...@@ -175,6 +172,11 @@
make.height.offset(25); make.height.offset(25);
make.centerY.offset(0); make.centerY.offset(0);
}]; }];
[notificationRemindTextLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(bellImgView.mas_right).offset(10);
make.centerY.offset(0);
make.right.equalTo(notificationOpenBtn.mas_left).offset(-10);
}];
// 功能面板 // 功能面板
self.functionColumnView = [[FUSMessageFunctionColumnView alloc] init]; self.functionColumnView = [[FUSMessageFunctionColumnView alloc] init];
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
- (void)awakeFromNib { - (void)awakeFromNib {
[super awakeFromNib]; [super awakeFromNib];
// Initialization code // Initialization code
self.nameLabel.textColor = [UIColor fus_textColorRich];
} }
- (void)setModel:(FUSVideoCreditRecordListModel *)model { - (void)setModel:(FUSVideoCreditRecordListModel *)model {
......
...@@ -13,6 +13,7 @@ class FUSCompleteUserInfoNameView: FUSBaseView { ...@@ -13,6 +13,7 @@ class FUSCompleteUserInfoNameView: FUSBaseView {
/// 输入框完成输入回调 /// 输入框完成输入回调
var textFieldEndEditHandler:((String) -> Void)? var textFieldEndEditHandler:((String) -> Void)?
let messageLabel = UILabel()
let settingNickNameTextLabel = UILabel() let settingNickNameTextLabel = UILabel()
let editNameCardBtn = UIButton(type: .custom) let editNameCardBtn = UIButton(type: .custom)
let nickNameTextField = FUSTextField() let nickNameTextField = FUSTextField()
...@@ -21,18 +22,31 @@ class FUSCompleteUserInfoNameView: FUSBaseView { ...@@ -21,18 +22,31 @@ class FUSCompleteUserInfoNameView: FUSBaseView {
super.makeUI() super.makeUI()
self.backgroundColor = .fus_appBG() self.backgroundColor = .fus_appBG()
messageLabel.font = .fus_themeFont(14)
messageLabel.textColor = .fus_textColorLight2()
// messageLabel.text = .localString("您只需花30秒完成一下信息的补充,即可获得FIREFLY新星认定,并获得相关专属的推荐。根据历史经验,您个人信息越真实,获得的关注者会越多。")
messageLabel.text = .fus_localString("您只需花30秒完成一下个人资料的补充,即可解锁私房价格的设定。")
messageLabel.numberOfLines = 0;
self.addSubview(messageLabel)
messageLabel.snp.makeConstraints { make in
make.top.equalToSuperview().offset(14)
make.left.right.equalToSuperview().inset(26)
}
settingNickNameTextLabel.font = .fus_themeFont(17) settingNickNameTextLabel.font = .fus_themeFont(17)
settingNickNameTextLabel.textColor = .fus_textColorRich() settingNickNameTextLabel.textColor = .fus_textColorRich()
settingNickNameTextLabel.text = .fus_localString("设定暱称") settingNickNameTextLabel.text = .fus_localString("设定暱称")
self.addSubview(settingNickNameTextLabel) self.addSubview(settingNickNameTextLabel)
settingNickNameTextLabel.snp.makeConstraints { make in settingNickNameTextLabel.snp.makeConstraints { make in
make.left.right.equalToSuperview().inset(26) make.left.right.equalToSuperview().inset(26)
make.top.equalTo(20) make.top.equalTo(messageLabel.snp.bottom).offset(12)
} }
self.editNameCardBtn.titleLabel?.numberOfLines = 0;
self.addSubview(editNameCardBtn) self.addSubview(editNameCardBtn)
editNameCardBtn.snp.makeConstraints { make in editNameCardBtn.snp.makeConstraints { make in
make.left.equalTo(26) // make.left.equalTo(26)
make.left.right.equalToSuperview().inset(26)
make.top.equalTo(settingNickNameTextLabel.snp.bottom).offset(10) make.top.equalTo(settingNickNameTextLabel.snp.bottom).offset(10)
} }
editNameCardBtn.setAttributedTitle(.sj.makeText({ make in editNameCardBtn.setAttributedTitle(.sj.makeText({ make in
......
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 sign in to comment