Commit 64ad1d32 authored by pete谢兆麟's avatar pete谢兆麟

UI细节

parent 5a542dac
...@@ -31,14 +31,17 @@ private extension YHInvitationWithGiftsShareBottomView { ...@@ -31,14 +31,17 @@ private extension YHInvitationWithGiftsShareBottomView {
let button = UIButton(type: .custom) let button = UIButton(type: .custom)
button.adjustsImageWhenHighlighted = false button.adjustsImageWhenHighlighted = false
button.setBackgroundImage(UIImage(named: "invitation_with_gifts_share"), for: .normal) button.setBackgroundImage(UIImage(named: "invitation_with_gifts_share"), for: .normal)
button.setTitle("立即分享", for: .normal)
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 18)
button.setTitleColor(UIColor.white, for: .normal)
button.addTarget(self, action: #selector(save), for: .touchUpInside) button.addTarget(self, action: #selector(save), for: .touchUpInside)
return button return button
}() }()
addSubview(saveButton) addSubview(saveButton)
saveButton.snp.makeConstraints { make in saveButton.snp.makeConstraints { make in
make.centerX.equalToSuperview() make.left.equalTo(16)
make.right.equalTo(-16)
make.height.equalTo(58) make.height.equalTo(58)
make.width.equalTo(343)
make.top.equalTo(5) make.top.equalTo(5)
} }
} }
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "invitation_with_gifts_share@2x.png", "filename" : "66_bt_qiangxueche@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "invitation_with_gifts_share@3x.png", "filename" : "66_bt_qiangxueche@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }
......
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