Commit 3cdbf80c authored by Steven杜宇's avatar Steven杜宇

// UI

parent 20190c23
...@@ -115,7 +115,10 @@ class YHMyInformationItemCell: UITableViewCell { ...@@ -115,7 +115,10 @@ class YHMyInformationItemCell: UITableViewCell {
let questionAttrStr = NSMutableAttributedString(string: str, attributes: attributes) let questionAttrStr = NSMutableAttributedString(string: str, attributes: attributes)
titleLabel.attributedText = questionAttrStr titleLabel.attributedText = questionAttrStr
} }
messageTextField.placeholder = dataSource.prompts // messageTextField.placeholder = dataSource.prompts
let prompts = dataSource.prompts ?? ""
messageTextField.attributedPlaceholder = NSAttributedString.init(string: prompts, attributes: [.foregroundColor: UIColor.brandGrayColor5, .font: messageTextField.font])
messageTextField.text = dataSource.message messageTextField.text = dataSource.message
if dataSource.isUserKeyBoard ?? false { if dataSource.isUserKeyBoard ?? false {
nextStepImageView.isHidden = true nextStepImageView.isHidden = true
......
...@@ -53,7 +53,7 @@ class YHEditBaseInfoFootView: UIView { ...@@ -53,7 +53,7 @@ class YHEditBaseInfoFootView: UIView {
} }
let bgView = UIView() let bgView = UIView()
bgView.backgroundColor = UIColor(hex: 0xf8f8f8) bgView.backgroundColor = UIColor.contentBkgColor
bgView.layer.masksToBounds = true bgView.layer.masksToBounds = true
bgView.layer.cornerRadius = 6 bgView.layer.cornerRadius = 6
addSubview(bgView) addSubview(bgView)
...@@ -82,7 +82,7 @@ class YHEditBaseInfoFootView: UIView { ...@@ -82,7 +82,7 @@ class YHEditBaseInfoFootView: UIView {
promptsLabel = { promptsLabel = {
let prompts = UILabel() let prompts = UILabel()
prompts.font = UIFont.PFSC_R(ofSize: 14) prompts.font = UIFont.PFSC_R(ofSize: 14)
prompts.textColor = UIColor.mainTextColor30 prompts.textColor = UIColor.brandGrayColor5
prompts.text = "填写个性签名,展现真我风采,彰显独特身份" prompts.text = "填写个性签名,展现真我风采,彰显独特身份"
prompts.numberOfLines = 0 prompts.numberOfLines = 0
return prompts return prompts
......
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