Commit a31ce5a5 authored by David黄金龙's avatar David黄金龙

1、删除 不使用的代码

2、一处点击优化
parent 20329489
...@@ -88,13 +88,7 @@ class YHFormItemExpireDateCell: UITableViewCell { ...@@ -88,13 +88,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
btn.setTitle("长期".local, for: .normal) btn.setTitle("长期".local, for: .normal)
btn.titleLabel?.font = UIFont.PFSC_R(ofSize: 14) btn.titleLabel?.font = UIFont.PFSC_R(ofSize: 14)
btn.setTitleColor(UIColor.mainTextColor, for: .normal) btn.setTitleColor(UIColor.mainTextColor, for: .normal)
btn.iconInLeft(spacing: 6) btn.iconInLeft(spacing: 3)
// let unselectImg = UIImage(named: "login_privacy_disagree_white")
// let selectImg = UIImage(named: "login_privacy_agree")
// btn.setImage(unselectImg, for: .normal)
// btn.setImage(selectImg, for: .selected)
btn.setImage(UIImage(named: "main_time_normal"), for: .normal) btn.setImage(UIImage(named: "main_time_normal"), for: .normal)
btn.setImage(UIImage(named: "login_privacy_agree"), for: .selected) btn.setImage(UIImage(named: "login_privacy_agree"), for: .selected)
return btn return btn
......
...@@ -149,6 +149,8 @@ class YHDatePickView: UIView { ...@@ -149,6 +149,8 @@ class YHDatePickView: UIView {
make.top.equalTo(18) make.top.equalTo(18)
} }
sureButton.YH_clickEdgeInsets = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
lineView = { lineView = {
let view = UIView() let view = UIView()
view.backgroundColor = UIColor.separatorColor view.backgroundColor = UIColor.separatorColor
......
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