Files
yinmeng-ios/xplan-ios/Main/ModuleKit/SendGiftView/View/XPGiftBarView.h
2022-03-23 19:27:30 +08:00

38 lines
1.0 KiB
Objective-C

//
// XPGiftBottomView.h
// xplan-ios
//
// Created by 冯硕 on 2021/11/9.
//
#import <UIKit/UIKit.h>
#import "XPGiftInfoView.h"
NS_ASSUME_NONNULL_BEGIN
@class XPGiftBarView, XPGiftCountModel, WalletInfoModel;
@protocol XPGiftBarViewDelegate <NSObject>
///点击了充值的
- (void)xPGiftBarViewDidClickRecharge:(XPGiftBarView *)view;;
///点击了送礼物的的
- (void)xPGiftBarView:(XPGiftBarView *)view didClickSendGift:(XPGiftCountModel *)giftCount;
///点击了首充
- (void)xPGiftBarViewDidClickFirstRecharge:(XPGiftBarView *)view;;
@end
@interface XPGiftBarView : UIView
///代理
@property (nonatomic,weak) id<XPGiftBarViewDelegate> delegate;
///不同的tabbar
@property (nonatomic,assign) GiftSegmentType type;
///更新礼物个数
@property (nonatomic,strong) XPGiftCountModel *giftCountModel;
///钱包信息
@property (nonatomic,strong) WalletInfoModel *walletInfoModel;
///是否展示首充
@property (nonatomic,assign) BOOL isShowFirstRecharge;
///是否可用
@property (nonatomic,assign) BOOL sendButtonIsEnable;
@end
NS_ASSUME_NONNULL_END