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

UI 8处细节修复

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