CNLiveCommuntSignUpView.h 4.42 KB
//
//  CNLiveCommuntSignUpView.h
//  CNLiveCommunitModule
//
//  Created by open on 2022/2/7.
//

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
NS_ASSUME_NONNULL_BEGIN

@interface CNLiveCommuntSignUpView : UIView

/// 显示接单成功弹框
+(void)showHaveTipSuccessViewCompleterBlock:(void(^)(void))completerBlock;


/// 显示收款弹框
/// @param price 价格
+(void)showQrTipSuccessViewWithPrice:(NSString *)price PayUrl:(NSString *)payUrl;

/// 显示双选项弹框
/// @param completerBlock 确认回调  
+(void)showAlertViewWithMessage:(NSString *)message CompleterBlock:(void(^)(void))completerBlock;

@end


@protocol CNLiveCommuntSignUpUserViewDelegate <NSObject>

/// 跳转到编辑或添加人员界面
/// @param subDict 显示信息
-(void)setCommuntPushAddWithEditUserViewController:(NSDictionary *)subDict;

/// 跳转删除人员
/// @param subDict 显示信息
-(void)setCommuntPushAddWithDelectUserViewController:(NSDictionary *)subDict;

/// 选中相关参与人
/// @param subDict 显示信息
-(void)setCommuntSelectAddWithEditUserViewController:(NSDictionary *)subDict isSelect:(BOOL)isSelect;

@end

@interface CNLiveCommuntSignUpUserViewCell : UITableViewCell

@property (nonatomic, strong) UIView * mainView;
@property (nonatomic, strong) UIButton * delectBtn;
@property (nonatomic, strong) UILabel * nameLabel;
@property (nonatomic, strong) UILabel * lineLabel;
@property (nonatomic, strong) UILabel * sexAgeLabel;
@property (nonatomic, strong) UILabel * phoneLabel;
@property (nonatomic, strong) UIButton * editButton;

@property (nonatomic, strong) NSDictionary * userDict;
@property (nonatomic, strong) NSArray * selectArray;

@property (nonatomic, weak) id<CNLiveCommuntSignUpUserViewDelegate> delegate;

@property (nonatomic, assign) BOOL isAddUser;

+(CNLiveCommuntSignUpUserViewCell *)setTableView:(UITableView *)tableView isAddUser:(BOOL)isAddUser UserDict:(NSDictionary *)userDict;

@end

@interface CNLiveCommuntSignUpTextViewCell : UITableViewCell

@property (nonatomic, strong) UIView * mainView;
@property (nonatomic, strong) UILabel * cententLabel;
@property (nonatomic, strong) WKWebView * webView;

@property (nonatomic, copy) NSString * desc;

+(CNLiveCommuntSignUpTextViewCell *)setTableView:(UITableView *)tableView Desc:(NSString *)desc;
@end

@interface CNLiveCommuntSignUpOrderViewCell : UITableViewCell

@property (nonatomic, strong) UIView * mainView;
@property (nonatomic, strong) UILabel * nameLabel;
@property (nonatomic, strong) UILabel * cententLabel;


@property (nonatomic, strong) NSDictionary * paramDict;

+(CNLiveCommuntSignUpOrderViewCell *)setTableView:(UITableView *)tableView Dict:(NSDictionary *)dict;
@end

@interface CNLiveCommuntSignUpAmountViewCell : UITableViewCell<UITextFieldDelegate>

@property (nonatomic, strong) UIView * mainView;
@property (nonatomic, strong) UITextField * amoutField;
@property (nonatomic, strong) UIButton * qrButton;
@property (nonatomic, strong) UIButton * payButton;

@property (nonatomic, strong) CNLiveCommuntyActivityMaintainsCreateModel * createModel;
@property (nonatomic, copy) void(^reloadBlock)(void);

+(CNLiveCommuntSignUpAmountViewCell *)setTableView:(UITableView *)tableView  CreateModel:(CNLiveCommuntyActivityMaintainsCreateModel *)createModel ReloadBlock:(void(^)(void))reloadBlock;
@end

@interface CNLiveCommuntSignUpContactViewCell : UITableViewCell

@property (nonatomic, strong) UIView * mainView;
@property (nonatomic, strong) UILabel * nameLabel;
@property (nonatomic, strong) QMUIButton * phoneButton;

@property (nonatomic, strong) CNLiveCommuntyActivityMaintainsCreateModel * createModel;

+(CNLiveCommuntSignUpContactViewCell *)setTableView:(UITableView *)tableView CreateModel:(CNLiveCommuntyActivityMaintainsCreateModel *)createModel;

@end

@interface CNLiveCommuntSignUpDetailViewCell : UITableViewCell

@property (nonatomic, strong) UIView * mainView;
@property (nonatomic, strong) UILabel * nameLabel;
@property (nonatomic, strong) UILabel * timeLabel;
@property (nonatomic, strong) UILabel * topLabel;
@property (nonatomic, strong) UILabel * lineLabel;
@property (nonatomic, strong) UILabel * bottemLabel;
@property (nonatomic, strong) UIImageView * statusView;

@property (nonatomic, assign) BOOL isTop;
@property (nonatomic, assign) BOOL isBottom;
@property (nonatomic, strong) NSDictionary * dict;

+(CNLiveCommuntSignUpDetailViewCell *)setTableView:(UITableView *)tableView isTop:(BOOL)isTop isBottom:(BOOL)isbottom Dict:(NSDictionary *)dict;

@end

NS_ASSUME_NONNULL_END