Commit 185f22d1 authored by Steven杜宇's avatar Steven杜宇

// 搜索框更新

parent bcf026ef
......@@ -17,7 +17,7 @@ class YHCollegeNameCell: UITableViewCell {
label.textColor = .mainTextColor
label.textAlignment = .left
label.numberOfLines = 0
label.font = UIFont.PFSC_B(ofSize: 14)
label.font = UIFont.PFSC_R(ofSize: 14)
return label
}()
......
......@@ -25,7 +25,7 @@ class YHCollegeSearchBar: UIView, UITextFieldDelegate {
private lazy var contentView = {
let view = UIView()
view.backgroundColor = .contentBkgColor
view.layer.cornerRadius = Self.height/2.0
// view.layer.cornerRadius = Self.height/2.0
view.clipsToBounds = true
return view
}()
......@@ -34,7 +34,7 @@ class YHCollegeSearchBar: UIView, UITextFieldDelegate {
let textField = UITextField()
textField.backgroundColor = .clear
textField.attributedPlaceholder = NSAttributedString(string: "请输入学校全称", attributes: [NSAttributedString.Key.foregroundColor : UIColor.placeHolderColor])
textField.font = UIFont.PFSC_M(ofSize: 12)
textField.font = UIFont.PFSC_R(ofSize: 14)
textField.tintColor = UIColor.brandMainColor
textField.textColor = UIColor.mainTextColor
textField.delegate = self
......@@ -44,10 +44,10 @@ class YHCollegeSearchBar: UIView, UITextFieldDelegate {
lazy var confirmBtn: UIButton = {
let btn = UIButton()
btn.setTitle("确认".local, for: .normal)
btn.titleLabel?.font = UIFont.PFSC_M(ofSize: 12)
btn.titleLabel?.font = UIFont.PFSC_M(ofSize: 14)
btn.setTitleColor(.white, for: .normal)
btn.backgroundColor = UIColor.brandMainColor
btn.layer.cornerRadius = Self.confirmBtnHeight/2.0
// btn.layer.cornerRadius = Self.confirmBtnHeight/2.0
btn.addTarget(self, action: #selector(confirmBtnClicked), for: .touchUpInside)
return btn
}()
......
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