// // GiftView.h // BuguLive // // Created by xfg on 16/5/20. // Copyright © 2016年 xfg. All rights reserved. // #import #import "GiftModel.h" #import "UICountingLabel.h" #import "GiftSubView.h" #import "UIImageView+WebCache.h" #import "GiftGroupView.h" @class GiftView; @protocol GiftViewDelegate @required /** 显示充值 @param giftView self */ - (void)showRechargeView:(GiftView *)giftView; /** 发送礼物 @param giftView self @param giftModel 礼物Model */ - (void)senGift:(GiftView *)giftView AndGiftModel:(GiftModel *)giftModel; -(NSString *)roomId; @end @interface GiftView : BGBaseView @property (nonatomic, weak) iddelegate; @property (nonatomic, strong) UIView *continueContainerView; //连发按钮容器视图 @property (nonatomic, strong) UIButton *sendBtn; //发送按钮 @property (nonatomic, strong) UIButton *numberBtn; //发送数量 @property (nonatomic, strong) UICountingLabel *decTimeCLabel; //连发倒计时 @property (nonatomic, assign) NSInteger selectedGiftTime; //连发时,下一次点击时先判断上一次连发剩余的倒计时 @property (nonatomic, strong) UIScrollView *scrollView; @property(nonatomic, strong) UIView *bottomContainerView; @property(nonatomic, strong) GiftGroupView *topView;//头部视图 @property(nonatomic, assign) BOOL isVoice; - (void)setDiamondsLabelTxt:(NSString *)txt; - (void)setGiftView:(NSMutableArray *)giftMArray; @property(nonatomic, strong) GiftSubView *selectGiftView; @property(nonatomic, assign) BOOL isHost; @property(nonatomic, assign) BOOL isChat; @property(nonatomic, strong) NSString *selectUid; -(void)reloadBag; @end