Commit de5a8d9e authored by pete谢兆麟's avatar pete谢兆麟

主申请人相关bug修复

parent 5d6a3fc9
......@@ -295,7 +295,9 @@ class YHItemView: UIView {
buttonState(isLeft: true)
}
}
if dataSource.id == .id40 && dataSource.message == "2" {
buttonStateNormal()
}
} else {
leftButton.isHidden = true
}
......@@ -386,6 +388,19 @@ class YHItemView: UIView {
}
func buttonStateNormal() {
leftButton.isSelected = false
rightButton.isSelected = false
leftButton.layer.borderWidth = 0
leftButton.layer.borderColor = UIColor.brandMainColor.cgColor
leftButton.backgroundColor = UIColor.contentBkgColor
rightButton.backgroundColor = UIColor.contentBkgColor
rightButton.layer.borderWidth = 0
leftButton.titleLabel?.font = UIFont.PFSC_M(ofSize: 13)
rightButton.titleLabel?.font = UIFont.PFSC_R(ofSize: 13)
}
@objc func rightClick() {
rightButton.isSelected = true
leftButton.isSelected = false
......
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