Commit 5979e168 authored by pete谢兆麟's avatar pete谢兆麟

UI 8处细节修复

parent 2dc7e685
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
import UIKit import UIKit
class YHInformationAuthorizationStepTwoViewController: UIViewController { class YHInformationAuthorizationStepTwoViewController: YHBaseViewController {
var stepOneView: UIView! var stepOneView: UIView!
var stepTwoView: UIView! var stepTwoView: UIView!
var nextButton: UIButton! var nextButton: UIButton!
......
...@@ -52,7 +52,7 @@ class YHSetExplainView: UIView { ...@@ -52,7 +52,7 @@ class YHSetExplainView: UIView {
} }
func setView() { func setView() {
backgroundColor = UIColor(hex: 0x000000, alpha: 0.5) backgroundColor = UIColor(hex: 0x000000, alpha: 0.68)
centerView = { centerView = {
let view = UIView() let view = UIView()
view.backgroundColor = .white view.backgroundColor = .white
...@@ -111,7 +111,7 @@ class YHSetExplainView: UIView { ...@@ -111,7 +111,7 @@ class YHSetExplainView: UIView {
let label = UILabel() let label = UILabel()
label.text = "须使用二代身份证" label.text = "须使用二代身份证"
label.font = UIFont.PFSC_R(ofSize: 14) label.font = UIFont.PFSC_R(ofSize: 14)
label.textColor = UIColor.placeHolderColor label.textColor = UIColor.mainTextColor50
label.textAlignment = .left label.textAlignment = .left
label.numberOfLines = 0 label.numberOfLines = 0
return label return label
...@@ -126,15 +126,14 @@ class YHSetExplainView: UIView { ...@@ -126,15 +126,14 @@ class YHSetExplainView: UIView {
topImageView = { topImageView = {
let imageView = UIImageView() let imageView = UIImageView()
imageView.image = UIImage(named: "service_card_id_back") imageView.image = UIImage(named: "service_card_id_back")
imageView.layer.cornerRadius = kCornerRadius6 imageView.layer.cornerRadius = kCornerRadius3
imageView.clipsToBounds = true imageView.clipsToBounds = true
return imageView return imageView
}() }()
centerView.addSubview(topImageView) centerView.addSubview(topImageView)
topImageView.snp.makeConstraints { make in topImageView.snp.makeConstraints { make in
make.left.equalTo(21) make.centerX.equalToSuperview()
make.right.equalTo(-21) make.width.height.equalTo(333)
make.height.equalTo(333)
make.top.equalTo(73) make.top.equalTo(73)
} }
......
...@@ -51,7 +51,7 @@ private extension YHFailPromptView { ...@@ -51,7 +51,7 @@ private extension YHFailPromptView {
titleLable.snp.makeConstraints { make in titleLable.snp.makeConstraints { make in
make.left.equalTo(38) make.left.equalTo(38)
make.right.equalTo(-18) make.right.equalTo(-18)
make.top.equalTo(8) make.top.equalTo(9)
} }
} }
......
...@@ -63,6 +63,7 @@ class YHCommonAlertView: UIView { ...@@ -63,6 +63,7 @@ class YHCommonAlertView: UIView {
make.right.equalTo(-22) make.right.equalTo(-22)
make.height.greaterThanOrEqualTo(21) make.height.greaterThanOrEqualTo(21)
make.top.equalTo(37) make.top.equalTo(37)
make.bottom.equalTo(disAgressButton.snp.top).offset(-20)
} }
...@@ -74,6 +75,7 @@ class YHCommonAlertView: UIView { ...@@ -74,6 +75,7 @@ class YHCommonAlertView: UIView {
make.right.equalTo(-22) make.right.equalTo(-22)
make.height.greaterThanOrEqualTo(21) make.height.greaterThanOrEqualTo(21)
make.top.equalTo(lineView.snp.bottom).offset(21) make.top.equalTo(lineView.snp.bottom).offset(21)
make.bottom.equalTo(disAgressButton.snp.top).offset(-20)
} }
} }
...@@ -84,7 +86,7 @@ class YHCommonAlertView: UIView { ...@@ -84,7 +86,7 @@ class YHCommonAlertView: UIView {
disAgressButton.snp.remakeConstraints { make in disAgressButton.snp.remakeConstraints { make in
make.top.equalTo(messageLabel.snp.bottom).offset(36) make.top.equalTo(messageLabel.snp.bottom).offset(36)
make.left.equalTo(16) make.left.equalTo(16)
make.bottom.equalTo(-21) make.bottom.equalTo(-16)
make.width.equalTo(128) make.width.equalTo(128)
make.height.equalTo(45) make.height.equalTo(45)
} }
...@@ -135,7 +137,7 @@ class YHCommonAlertView: UIView { ...@@ -135,7 +137,7 @@ class YHCommonAlertView: UIView {
centerView.snp.makeConstraints { make in centerView.snp.makeConstraints { make in
make.center.equalToSuperview() make.center.equalToSuperview()
make.width.equalTo(299) make.width.equalTo(299)
make.height.equalTo(187) make.height.equalTo(143)
} }
titleLabel = { titleLabel = {
......
...@@ -60,7 +60,7 @@ class YHAllowSettingTableViewCell: UITableViewCell { ...@@ -60,7 +60,7 @@ class YHAllowSettingTableViewCell: UITableViewCell {
exampleButton = { exampleButton = {
let button = UIButton(type: .custom) let button = UIButton(type: .custom)
button.setBackgroundImage(UIImage(named: "work_experience_alert"), for: .normal) button.setBackgroundImage(UIImage(named: "my_card_set_alert"), for: .normal)
button.addTarget(self, action: #selector(exampleClick), for: .touchUpInside) button.addTarget(self, action: #selector(exampleClick), for: .touchUpInside)
return button return button
}() }()
......
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "my_card_set_alert@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "my_card_set_alert@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "set_example_people@2x.png", "filename" : "Mask group@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "set_example_people@3x.png", "filename" : "Mask group@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