| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- //
- // MOTitleNormalAlertView.h
- // MiMoLive
- //
- // Created by SuperC on 2023/11/5.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface MOTitleNormalAlertView : UIView
- /** 白色弹窗view */
- @property (nonatomic, strong) UIView *containerView;
- /** 背景图 */
- @property (nonatomic, strong) UIImageView *bgImgView;
- /** 标题 */
- @property (nonatomic, strong) UILabel *titleLabel;
- /** 子标题 */
- @property (nonatomic, strong) UILabel *subTitleLabel;
- /** 确认 */
- @property (nonatomic, strong) BigBtn *confirmBtn;
- /** 取消 */
- @property (nonatomic, strong) BigBtn *cancelBtn;
- /** 强制关闭按钮 */
- @property (nonatomic, strong) BigBtn *closeBtn;
- @property (nonatomic, assign) CGFloat twoBtnWidth;
- @property (nonatomic, copy) void (^confirmBlock) (void);
- @property (nonatomic, copy) void (^cancelBlock) (void);
- /** 是否单个按钮 */
- @property (nonatomic, assign) BOOL isSingleBtn;
- @property (nonatomic, assign) BOOL isStrongBg;
- @property (nonatomic, assign) BOOL isShowCloseBtn;
- @property (nonatomic, copy) void (^dismissBlock)(void);
- #pragma mark - VIP
- @property (nonatomic, assign) BOOL isVipTip;
- ///view展示
- - (void)show;
- ///view隐藏
- - (void)dismiss;
- @end
- NS_ASSUME_NONNULL_END
|