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

长期图片修改

parent 6a99646d
......@@ -149,10 +149,11 @@ class YHWorkExperienceItemView: UIView {
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 14)
button.contentHorizontalAlignment = .right
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
return button
}()
addSubview(longTimeButton)
longTimeButton.snp.makeConstraints { make in
make.right.equalToSuperview()
......@@ -160,6 +161,7 @@ class YHWorkExperienceItemView: UIView {
make.height.equalTo(32)
make.width.equalTo(43)
}
longTimeButton.iconInLeft(spacing: 3)
}
@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