// // HDLFVCreateTemPassView.h // Ezviz // // Created by 陈启扬 on 2022/4/22. // Copyright © 2022 hdl. All rights reserved. // #import #import "HDLTopTitleInputView.h" #import "HDLFVNormalCellView.h" NS_ASSUME_NONNULL_BEGIN typedef void (^HDLFVImageVBlock)(UIImage * image); typedef enum { HDLFVTemPassType_Generate=0, //生成 HDLFVTemPassType_Detail=1,//详情 }HDLFVTemPassType; @interface HDLFVCreateTemPassView : UIView @property(nonatomic,assign)HDLFVTemPassType temPassType;//临时密码类型 @property (nonatomic, strong)HDLTopTitleInputView *phoneInputV;//访客手机输入view @property (nonatomic, strong)HDLTopTitleInputView *temPassInputV;//动态密码输入view //@property (nonatomic, strong)HDLTopTitleInputView *useTimesInputV;//使用次数输入view @property (nonatomic, strong)HDLFVNormalCellView *validTimeV;//生效时间view @property (nonatomic, strong)HDLFVNormalCellView *expireTimeV;//失效时间view @property (nonatomic, strong)UIImageView *QRCodeImageV;//二维码imageView @property(nonatomic,strong)HDLFVImageVBlock clickQRCodeBlock; //点击二维码 @property(nonatomic,strong)HDLFVImageVBlock longTapQRCodeBlock; //长按二维码 @property(nonatomic,assign)BOOL isInvalid;//是否无效 /*展示二维码 */ -(void)showQRCode:(BOOL)show; @end NS_ASSUME_NONNULL_END