Commit c15b3c66 authored by David黄金龙's avatar David黄金龙

提示 UI细节优化

parent 0c35bb91
...@@ -69,9 +69,6 @@ class YHInformationFillTipsAlertView: UIView { ...@@ -69,9 +69,6 @@ class YHInformationFillTipsAlertView: UIView {
override init(frame: CGRect) { override init(frame: CGRect) {
super.init(frame: frame) super.init(frame: frame)
backgroundColor = UIColor(white: 0.5, alpha: 0.1) backgroundColor = UIColor(white: 0.5, alpha: 0.1)
// let tap = UITapGestureRecognizer(target: self, action: #selector(handleTap))
// tap.delegate = self
// addGestureRecognizer(tap)
setView() setView()
} }
...@@ -114,7 +111,7 @@ class YHInformationFillTipsAlertView: UIView { ...@@ -114,7 +111,7 @@ class YHInformationFillTipsAlertView: UIView {
bottomView.addSubview(checkBtn) bottomView.addSubview(checkBtn)
checkBtn.snp.makeConstraints { make in checkBtn.snp.makeConstraints { make in
make.bottom.equalToSuperview().offset(-40) make.bottom.equalToSuperview().offset(-24)
make.left.equalTo(kMargin) make.left.equalTo(kMargin)
make.right.equalTo(-kMargin) make.right.equalTo(-kMargin)
make.height.equalTo(48) make.height.equalTo(48)
...@@ -133,7 +130,7 @@ class YHInformationFillTipsAlertView: UIView { ...@@ -133,7 +130,7 @@ class YHInformationFillTipsAlertView: UIView {
bottomView.addSubview(lable00) bottomView.addSubview(lable00)
lable00.snp.makeConstraints { make in lable00.snp.makeConstraints { make in
make.bottom.equalTo(checkBtn.snp.top).offset(-14) make.bottom.equalTo(checkBtn.snp.top).offset(-26)
make.left.equalTo(41) make.left.equalTo(41)
make.right.equalTo(-16) make.right.equalTo(-16)
make.height.equalTo(20) make.height.equalTo(20)
...@@ -218,7 +215,6 @@ class YHInformationFillTipsAlertView: UIView { ...@@ -218,7 +215,6 @@ class YHInformationFillTipsAlertView: UIView {
if agreeButton.isSelected == true { if agreeButton.isSelected == true {
block?(true) block?(true)
dismiss() //for test hjl
} else { } else {
YHHUD.flash(message: "请先勾选确认知悉内容") YHHUD.flash(message: "请先勾选确认知悉内容")
} }
...@@ -235,12 +231,6 @@ class YHInformationFillTipsAlertView: UIView { ...@@ -235,12 +231,6 @@ class YHInformationFillTipsAlertView: UIView {
@objc func agree() { @objc func agree() {
block?(true) block?(true)
// dismiss()
}
@objc private func handleTap(_ sender: AnyObject?) {
print("处理点击手势")
dismiss()
} }
@objc func disagree() { @objc func disagree() {
......
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