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

提示 UI细节优化

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