You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
819 B
38 lines
819 B
1 year ago
|
//
|
||
|
// CommonPopView.h
|
||
|
// tongxin
|
||
|
//
|
||
|
// Created by ecell on 2023/5/26.
|
||
|
// Copyright © 2023 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
typedef NS_ENUM(NSInteger,popViewType){
|
||
|
popViewType_dzwl, //电子围栏
|
||
|
popViewType_czsb, //查找设备
|
||
|
popViewType_ycgj, //远程关机
|
||
|
popViewType_jbsb, //解绑设备
|
||
|
popViewType_outLogin, // 退出登录
|
||
|
popViewType_binding, // 绑定设备
|
||
|
popViewType_zx, // 注销用户
|
||
|
popViewType_tjlxr, // 注销用户
|
||
|
};
|
||
|
|
||
|
|
||
|
typedef void(^okTouch)(void);
|
||
|
@interface CommonPopView : UIView
|
||
|
|
||
|
+ (instancetype)sharedManager;
|
||
|
|
||
|
- (void)subPopView:(popViewType)type
|
||
|
PopTitle:(NSString *)title
|
||
|
PopText:(NSString *)texts
|
||
|
okTouchBlock:(void (^)(void))okTouchBlock;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|