Commit 9e1693a6 authored by David黄金龙's avatar David黄金龙

长期图片修改

parent 6a99646d
...@@ -507,5 +507,8 @@ extension YHOtherSelecteItemView { ...@@ -507,5 +507,8 @@ extension YHOtherSelecteItemView {
} }
longTimeButton.iconInLeft(spacing: 3)
} }
} }
...@@ -149,10 +149,11 @@ class YHWorkExperienceItemView: UIView { ...@@ -149,10 +149,11 @@ class YHWorkExperienceItemView: UIView {
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 14) button.titleLabel?.font = UIFont.PFSC_M(ofSize: 14)
button.contentHorizontalAlignment = .right button.contentHorizontalAlignment = .right
button.addTarget(self, action: #selector(longTimeButtonClick), for: .touchUpInside) button.addTarget(self, action: #selector(longTimeButtonClick), for: .touchUpInside)
button.imageEdgeInsets = UIEdgeInsets(top: 10, left: 0, bottom: 10, right: 30) // button.imageEdgeInsets = UIEdgeInsets(top: 10, left: 0, bottom: 10, right: 30)
button.isSelected = false button.isSelected = false
return button return button
}() }()
addSubview(longTimeButton) addSubview(longTimeButton)
longTimeButton.snp.makeConstraints { make in longTimeButton.snp.makeConstraints { make in
make.right.equalToSuperview() make.right.equalToSuperview()
...@@ -160,6 +161,7 @@ class YHWorkExperienceItemView: UIView { ...@@ -160,6 +161,7 @@ class YHWorkExperienceItemView: UIView {
make.height.equalTo(32) make.height.equalTo(32)
make.width.equalTo(43) make.width.equalTo(43)
} }
longTimeButton.iconInLeft(spacing: 3)
} }
@objc func longTimeButtonClick() { @objc func longTimeButtonClick() {
......
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