Files
yinmeng-ios-store/yinmeng-ios/DingDangApp/V2Versions/Login/View/DDLoginTextView.h

39 lines
975 B
C
Raw Normal View History

2023-12-07 10:50:21 +08:00
//
// DDLoginTextView.h
// DingDangApp
//
// Created by apple on 2023/7/4.
//
#import <UIKit/UIKit.h>
#import "JKCountDownButton.h"
NS_ASSUME_NONNULL_BEGIN
typedef enum : NSUInteger {
DDTextFieldNone,
DDTextFieldPhone,
DDTextFieldPasswordAccount,
2023-12-07 10:50:21 +08:00
DDTextFieldGetCode,
DDTextFieldPassWord,
DDTextFieldInvideCode
} DDTextFieldViewType;
@interface DDLoginTextView : UIView
@property (nonatomic, assign) DDTextFieldViewType type;
@property (nonatomic, copy) NSString *customLeftText;
2023-12-07 10:50:21 +08:00
@property (nonatomic, strong) UIImageView *iconImageView;
@property (nonatomic, strong) UITextField *textField;
@property (nonatomic, strong) JKCountDownButton *getCodeBtn;
@property (nonatomic, strong) UIButton *showPassWordBtn;
@property (nonatomic, strong) UIView *lineView;
//获取验证码
@property (nonatomic,copy) void (^getCodeBlock)(void);
-(instancetype)initWithFrame:(CGRect)frame withType:(DDTextFieldViewType)type;
@end
NS_ASSUME_NONNULL_END