2021-11-10 18:42:27 +08:00
|
|
|
//
|
|
|
|
// XPGiftBottomView.h
|
|
|
|
// xplan-ios
|
|
|
|
//
|
|
|
|
// Created by 冯硕 on 2021/11/9.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2021-11-16 16:31:24 +08:00
|
|
|
#import "XPGiftInfoView.h"
|
2023-03-13 18:27:16 +08:00
|
|
|
#import "XPGiftInfoView.h"
|
2021-11-10 18:42:27 +08:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
2021-11-11 18:39:12 +08:00
|
|
|
@class XPGiftBarView, XPGiftCountModel, WalletInfoModel;
|
|
|
|
@protocol XPGiftBarViewDelegate <NSObject>
|
|
|
|
///点击了充值的
|
2021-11-15 18:59:44 +08:00
|
|
|
- (void)xPGiftBarViewDidClickRecharge:(XPGiftBarView *)view;;
|
2021-11-11 18:39:12 +08:00
|
|
|
///点击了送礼物的的
|
|
|
|
- (void)xPGiftBarView:(XPGiftBarView *)view didClickSendGift:(XPGiftCountModel *)giftCount;
|
2021-12-24 16:36:17 +08:00
|
|
|
///点击了首充
|
|
|
|
- (void)xPGiftBarViewDidClickFirstRecharge:(XPGiftBarView *)view;;
|
2021-11-11 18:39:12 +08:00
|
|
|
@end
|
2021-11-10 18:42:27 +08:00
|
|
|
|
|
|
|
@interface XPGiftBarView : UIView
|
2023-03-13 18:27:16 +08:00
|
|
|
///使用的地方
|
|
|
|
@property (nonatomic,assign) SendGiftType usingplaceType;
|
2022-08-23 20:08:11 +08:00
|
|
|
///涂鸦礼物的个数
|
|
|
|
@property (nonatomic,assign) NSInteger drawGiftCount;
|
2023-07-26 18:44:15 +08:00
|
|
|
///特权卡次数
|
|
|
|
@property(nonatomic,copy) NSString *privilegeCount;
|
2023-08-18 10:44:53 +08:00
|
|
|
///特权卡
|
|
|
|
@property(nonatomic,copy) NSArray<XPPrivilegeCardItemModel *>* privilegeArray;
|
2021-11-11 18:39:12 +08:00
|
|
|
///代理
|
|
|
|
@property (nonatomic,weak) id<XPGiftBarViewDelegate> delegate;
|
2021-11-16 16:31:24 +08:00
|
|
|
///不同的tabbar
|
|
|
|
@property (nonatomic,assign) GiftSegmentType type;
|
2021-11-10 18:42:27 +08:00
|
|
|
|
2021-11-11 18:39:12 +08:00
|
|
|
///更新礼物个数
|
|
|
|
@property (nonatomic,strong) XPGiftCountModel *giftCountModel;
|
|
|
|
///钱包信息
|
|
|
|
@property (nonatomic,strong) WalletInfoModel *walletInfoModel;
|
2021-12-24 16:36:17 +08:00
|
|
|
///是否展示首充
|
|
|
|
@property (nonatomic,assign) BOOL isShowFirstRecharge;
|
2022-03-23 19:27:30 +08:00
|
|
|
///是否可用
|
|
|
|
@property (nonatomic,assign) BOOL sendButtonIsEnable;
|
2023-07-26 18:44:15 +08:00
|
|
|
///特友赠送是否可用
|
|
|
|
@property (nonatomic,assign) BOOL sendPrivileButtonIsEnable;
|
2021-11-10 18:42:27 +08:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|