34 lines
875 B
Objective-C
34 lines
875 B
Objective-C
//
|
|
// QXWithDrawInputView.h
|
|
// QXLive
|
|
//
|
|
// Created by 启星 on 2025/5/26.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
typedef NS_ENUM(NSInteger) {
|
|
/// 提现
|
|
QXWithDrawInputViewTypeWithDraw = 0,
|
|
/// 钻石兑币
|
|
QXWithDrawInputViewTypeExchangeCorn
|
|
}QXWithDrawInputViewType;
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@protocol QXWithDrawInputViewDelegate <NSObject>
|
|
|
|
@optional
|
|
-(void)didClickAll;
|
|
|
|
@end
|
|
@interface QXWithDrawInputView : UIView
|
|
@property (nonatomic,strong)UILabel *unitLabel;
|
|
@property (nonatomic,strong)UIImageView *unitImageView;
|
|
@property (nonatomic,strong)UITextField *textField;
|
|
@property (nonatomic,strong)UIButton *allBtn;
|
|
@property (nonatomic,strong)UIView *bottomLine;
|
|
@property (nonatomic,assign)QXWithDrawInputViewType type;
|
|
@property (nonatomic,weak)id<QXWithDrawInputViewDelegate>delegate;
|
|
@property (nonatomic,strong)NSString *fee;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|