Commit 21809b3a authored by Steven杜宇's avatar Steven杜宇

// UI走查

parent 00ff0ef2
...@@ -40,7 +40,7 @@ class YHSearchInfoBar: UIView { ...@@ -40,7 +40,7 @@ class YHSearchInfoBar: UIView {
textField.attributedPlaceholder = NSAttributedString(string: "香港身份".local, attributes: [NSAttributedString.Key.foregroundColor : UIColor(hex: 0x94A3B8)]) textField.attributedPlaceholder = NSAttributedString(string: "香港身份".local, attributes: [NSAttributedString.Key.foregroundColor : UIColor(hex: 0x94A3B8)])
textField.font = UIFont.PFSC_M(ofSize: 12) textField.font = UIFont.PFSC_M(ofSize: 12)
textField.tintColor = UIColor.brandMainColor textField.tintColor = UIColor.brandMainColor
textField.textColor = UIColor.mainTextColor30 textField.textColor = UIColor.mainTextColor
textField.clearButtonMode = .whileEditing textField.clearButtonMode = .whileEditing
textField.addTarget(self, action: #selector(textFieldChanged(textField:)), for: .editingChanged) textField.addTarget(self, action: #selector(textFieldChanged(textField:)), for: .editingChanged)
textField.delegate = self textField.delegate = self
......
...@@ -65,7 +65,7 @@ class YHMessageDetailListVC: YHBaseViewController { ...@@ -65,7 +65,7 @@ class YHMessageDetailListVC: YHBaseViewController {
lazy var emptyDataTipsView: YHEmptyDataView = { lazy var emptyDataTipsView: YHEmptyDataView = {
let view = YHEmptyDataView.createView("暂无消息", kEmptyMessageBgName) let view = YHEmptyDataView.createView("暂无消息", kEmptyMessageBgName)
let topMargin = (KScreenHeight-k_Height_NavigationtBarAndStatuBar-k_Height_TabBar-124.0)/2.0 let topMargin = 310-k_Height_NavigationtBarAndStatuBar
view.topMargin = topMargin view.topMargin = topMargin
view.isHidden = true view.isHidden = true
return view return view
......
...@@ -63,7 +63,7 @@ class YHMessageListVC: YHBaseViewController { ...@@ -63,7 +63,7 @@ class YHMessageListVC: YHBaseViewController {
lazy var emptyDataTipsView: YHEmptyDataView = { lazy var emptyDataTipsView: YHEmptyDataView = {
let view = YHEmptyDataView.createView("暂无消息", kEmptyMessageBgName) let view = YHEmptyDataView.createView("暂无消息", kEmptyMessageBgName)
let topMargin = (KScreenHeight-k_Height_NavigationtBarAndStatuBar-k_Height_TabBar-124.0)/2.0 let topMargin = 310-k_Height_NavigationtBarAndStatuBar
view.topMargin = topMargin view.topMargin = topMargin
view.isHidden = true view.isHidden = true
return view return view
......
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