Commit 0e84bfb1 authored by Steven杜宇's avatar Steven杜宇

// 家庭

parent f6d7c0ab
......@@ -94,12 +94,13 @@ class YHFamilyInfoConfirmViewController: YHBaseViewController {
guard let self = self else { return }
if success {
YHHUD.flash(message: "确认修改成功")
self.navigationController?.popViewController()
YHFamilyInfoWarmTipsView.tipsView().show()
return
}
let msg = error?.errorMsg ?? "确认修改失败"
YHHUD.flash(message: msg)
self.navigationController?.popViewController()
YHFamilyInfoWarmTipsView.tipsView().show()
}
}
......
......@@ -14,6 +14,8 @@ class YHFamilyInfoWarmTipsView: UIView {
lazy var blackMaskView: UIView = {
let view = UIView()
view.backgroundColor = .alertMaskColor
let tap = UITapGestureRecognizer(target: self, action: #selector(dismiss))
view.addGestureRecognizer(tap)
return view
}()
......@@ -168,8 +170,6 @@ class YHFamilyInfoWarmTipsView: UIView {
make.bottom.equalTo(-16)
make.height.equalTo(45)
}
}
}
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