39 lines
947 B
C
39 lines
947 B
C
|
|
//
|
||
|
|
// QXThirdLoginView.h
|
||
|
|
// QXLive
|
||
|
|
//
|
||
|
|
// Created by 启星 on 2025/5/7.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import <UIKit/UIKit.h>
|
||
|
|
#import "YYText/YYText.h"
|
||
|
|
|
||
|
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
@protocol QXLoginBottomViewDelegate <NSObject>
|
||
|
|
|
||
|
|
@optional
|
||
|
|
/// 1微信 2支付宝 3苹果
|
||
|
|
-(void)thirdLoginWithType:(NSInteger)type;
|
||
|
|
/// type 1 用户协议 2隐私政策
|
||
|
|
-(void)didClickAgreementLoginWithUrl:(NSString*)url type:(NSInteger)type;
|
||
|
|
/// 点击同意
|
||
|
|
-(void)didClickAgree:(BOOL)isAgree;
|
||
|
|
@end
|
||
|
|
|
||
|
|
@class QXLoginAgreementView;
|
||
|
|
@interface QXLoginBottomView : UIView
|
||
|
|
@property (nonatomic,strong)NSArray *thirdArray;
|
||
|
|
@property (nonatomic,weak)id<QXLoginBottomViewDelegate>delegate;
|
||
|
|
/// 默认未选中
|
||
|
|
@property (nonatomic,assign)BOOL isDefaultAgree;
|
||
|
|
@end
|
||
|
|
|
||
|
|
|
||
|
|
@interface QXLoginAgreementView : UIView
|
||
|
|
@property (nonatomic,strong)YYLabel *textLabel;
|
||
|
|
@property (nonatomic,strong)UIButton *agreeBtn;
|
||
|
|
@property (nonatomic,weak)id<QXLoginBottomViewDelegate>delegate;
|
||
|
|
|
||
|
|
@end
|
||
|
|
NS_ASSUME_NONNULL_END
|