Commit 39fc3db5 authored by pete谢兆麟's avatar pete谢兆麟

UI 修改

parent 49320b4b
......@@ -170,17 +170,19 @@ class YHMatchUserViewController: YHBaseViewController {
make.center.equalTo(launchLottieView)
}
firstImageView.snp.makeConstraints { make in
make.left.right.equalToSuperview()
make.height.equalTo(547)
make.bottom.equalTo(-k_Height_safeAreaInsetsBottom())
}
self.topLabel.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.top.equalTo(50)
make.height.equalTo(22)
}
firstImageView.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.height.equalTo(547)
make.width.equalTo(375)
make.top.equalTo(topLabel.snp.bottom).offset(30)
}
self.bottomBtn.snp.makeConstraints { make in
make.left.equalTo(24)
make.right.equalTo(-24)
......
......@@ -39,7 +39,6 @@ class YHSelectCountryViewController: YHBaseViewController {
searchBar.backgroundColor = UIColor.contentBkgColor
searchBar.keyboardType = .default
searchBar.delegate = self
searchBar.layer.cornerRadius = 21
searchBar.leftView = UIView(frame: CGRect(x: 0, y: 0, width: 16, height: 42))
searchBar.leftViewMode = .always
return searchBar
......
......@@ -147,7 +147,7 @@ class YHAddressPickView: UIView {
button.setTitleColor(UIColor.mainTextColor, for: .normal)
button.titleLabel?.font = UIFont.PFSC_R(ofSize: 13)
button.addTarget(self, action: #selector(onClickHotCity(sender:)), for: .touchUpInside)
button.layer.cornerRadius = 16
button.layer.cornerRadius = kCornerRadius3
button.backgroundColor = UIColor.contentBkgColor
button.tag = i
view.addSubview(button)
......@@ -212,7 +212,7 @@ class YHAddressPickView: UIView {
button.setBackgroundColor(color: UIColor.brandMainColor.withAlphaComponent(0.08), forState: .selected)
button.layer.borderColor = UIColor.brandMainColor.cgColor
button.layer.borderWidth = 0
button.layer.cornerRadius = 16
button.layer.cornerRadius = kCornerRadius3
button.addTarget(self, action: #selector(onClickTitlebutton(sender:)), for: .touchUpInside)
if i == 1 {
button.isSelected = true
......
......@@ -58,7 +58,7 @@ class YHCountryHotView: UIView {
button.setBackgroundColor(color: UIColor.contentBkgColor, forState: .normal)
button.setBackgroundColor(color: UIColor.tipsColor.withAlphaComponent(0.08), forState: .highlighted)
button.titleLabel?.font = UIFont.PFSC_R(ofSize: 13)
button.layer.cornerRadius = 16
button.layer.cornerRadius = kCornerRadius3
button.tag = 3000 + i
button.addTarget(self, action: #selector(exampleClick(sender:)), for: .touchUpInside)
addSubview(button)
......
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