//
//  PrizeInfoCommitSuccessAlertView.h
//  Open
//
//  Created by 雷俊博 on 2020/1/15.
//  Copyright © 2020 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, CTShareType) {
    CTShareTypeNone,
    CTShareTypeWX,
    CTShareTypeFriend
};
typedef void(^ CTClickBlock)(CTShareType type);
typedef void(^ClickExchangBlock)(void);
@interface PrizeInfoCommitSuccessAlertView : UIView


+(void)showSuccessViewWithNumber:(NSString *)number block:(CTClickBlock)block;

+ (void)showShareViewWithNumber:(NSString *)number block:(CTClickBlock)block;

+ (void)showReceiveViewWithVC:(UIViewController *)vc Number:(NSString *)number block:(nonnull CTClickBlock)block ExchangBlock:(ClickExchangBlock)ExchangBlock;

+ (void)showReceiveViewWithVC:(UIViewController *)vc Number:(NSString *)number block:(nonnull CTClickBlock)block;

+ (void)showReceiveViewWithVC:(UIViewController *)vc  block:(nonnull CTClickBlock)block;

+ (void)showReceiveViewInWindowWithVC:(UIViewController *)vc Number:(NSString *)number block:(nonnull CTClickBlock)block;

- (void)show;
- (void)dismiss;
@end

NS_ASSUME_NONNULL_END
