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

服务中心UI修改

parent 607e05f1
......@@ -19,13 +19,13 @@ class YHServiceStepAlertView: UIView {
if isStepOne {
orderButton.isSelected = false
guideButton.isSelected = true
orderButton.titleLabel?.font = UIFont.PFSC_R(ofSize: 14)
guideButton.titleLabel?.font = UIFont.PFSC_M(ofSize: 14)
orderButton.titleLabel?.font = UIFont.PFSC_R(ofSize: 16)
guideButton.titleLabel?.font = UIFont.PFSC_M(ofSize: 16)
} else {
orderButton.isSelected = true
guideButton.isSelected = false
orderButton.titleLabel?.font = UIFont.PFSC_M(ofSize: 14)
guideButton.titleLabel?.font = UIFont.PFSC_R(ofSize: 14)
orderButton.titleLabel?.font = UIFont.PFSC_M(ofSize: 16)
guideButton.titleLabel?.font = UIFont.PFSC_R(ofSize: 16)
}
}
......@@ -64,7 +64,7 @@ class YHServiceStepAlertView: UIView {
centerView.snp.makeConstraints { make in
make.left.equalTo(20)
make.height.equalTo(120)
make.width.equalTo(135)
make.width.equalTo(164)
make.top.equalTo(85)
}
......@@ -77,7 +77,7 @@ class YHServiceStepAlertView: UIView {
button.setTitleColor(UIColor.brandMainColor, for: .selected)
button.setBackgroundColor(color: UIColor.white, forState: .normal)
button.setBackgroundColor(color: UIColor.brandMainColor8, forState: .selected)
button.titleLabel?.font = UIFont.PFSC_R(ofSize: 14)
button.titleLabel?.font = UIFont.PFSC_R(ofSize: 16)
button.addTarget(self, action: #selector(orderButtonClick), for: .touchUpInside)
button.isSelected = false
return button
......@@ -86,7 +86,7 @@ class YHServiceStepAlertView: UIView {
orderButton.snp.makeConstraints { make in
make.right.equalTo(0)
make.height.equalTo(52)
make.width.equalTo(135)
make.width.equalTo(164)
make.top.equalTo(8)
}
......@@ -108,11 +108,11 @@ class YHServiceStepAlertView: UIView {
guideButton.snp.makeConstraints { make in
make.right.equalTo(0)
make.height.equalTo(52)
make.width.equalTo(135)
make.width.equalTo(164)
make.bottom.equalTo(-8)
}
orderButton.iconInRight(with: 32)
guideButton.iconInRight(with: 32)
orderButton.iconInRight(with: 48)
guideButton.iconInRight(with: 48)
}
@objc private func handleTap(_ sender: AnyObject?) {
......
......@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "service_step_select@2x.png",
"filename" : "Group 33334425@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_step_select@3x.png",
"filename" : "Group 33334425@3x.png",
"idiom" : "universal",
"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