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

Merge branch '630-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into 630-dev

* '630-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  暴露看一看通知
parents a49f13d5 70882d5d
......@@ -114,7 +114,7 @@ class YHPeopleSuccessView: UIView {
button.setTitleColor( UIColor(hex:0xffffff), for: .normal)
button.layer.cornerRadius = kCornerRadius3
button.clipsToBounds = true
button.addTarget(self, action: #selector(dismiss), for: .touchUpInside)
button.addTarget(self, action: #selector(toLookPeople), for: .touchUpInside)
return button
}()
centerView.addSubview(bottomButton)
......@@ -137,6 +137,11 @@ class YHPeopleSuccessView: UIView {
@objc func dismiss() {
removeFromSuperview()
}
@objc func toLookPeople() {
NotificationCenter.default.post(name: YhConstant.YhNotification.didLookPeopleSuccessNotifiction, object: nil)
dismiss()
}
}
extension YHPeopleSuccessView: UIGestureRecognizerDelegate {
......
......@@ -259,6 +259,8 @@ extension YhConstant {
//接收到消息推送
public static let didRevMsgNotifiction = Notification.Name(rawValue: "com.yinhe.didRevMsgNotifiction")
public static let didLookPeopleSuccessNotifiction = Notification.Name(rawValue: "com.yinhe.look.people.success")
}
}
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