YOUPAILCResponseView.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // YOUPAILCResponseView.h
  3. // LiveChat
  4. //
  5. // Created by 张灿 on 2018/9/17.
  6. // Copyright © 2018年 caicai. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "YOUPAILCVideoChatModel.h"
  10. #import <SVGAPlayer/SVGA.h>
  11. @protocol LCResponseViewDelegate <NSObject>
  12. - (void)youpaifcolseResBtnClick;//未连接上的退出按钮
  13. - (void)youpaifcancelBtnClick;//点击了拒绝按钮
  14. - (void)youpaifconfirmBtnClick;//点击确认按钮
  15. @end
  16. @interface YOUPAILCResponseView : UIView <SVGAPlayerDelegate>
  17. - (instancetype)initWithModel:(YOUPAILCVideoChatModel*)callModel;
  18. @property(nonatomic,strong)YOUPAILCVideoChatModel* youpaipcallModel;
  19. @property(nonatomic,strong)dispatch_source_t youpaiptimer;
  20. @property(nonatomic,assign)id<LCResponseViewDelegate> youpaipdelegate;
  21. @property(nonatomic,strong)UILabel* priceLabel;
  22. @property(nonatomic,strong)UILabel* youpaiptimeLabel;
  23. @property(nonatomic,strong)UILabel* youpaiptipLabel;
  24. @property(nonatomic,strong)UIButton* youpaipcancelBtn;
  25. @property(nonatomic,strong)UIButton* youpaipconfirmBtn;
  26. @property(nonatomic,strong)UIButton* youpaipcloseBtn;
  27. @property(nonatomic,strong)UIImageView* youpaipanchorTagImgV;
  28. @property (nonatomic, strong) UIVisualEffectView *effectView; //虚拟层
  29. @property(nonatomic,strong) UIButton *cancelBtn;
  30. @property(nonatomic,strong) UIImageView *cancelImgv;
  31. @property (nonatomic, strong) UILabel *cancelLab;
  32. @property (nonatomic, strong) UIImageView *agreeImageView;
  33. @property (nonatomic, strong) SVGAPlayer *confimPlayer; //接听
  34. @property (nonatomic, strong) UILabel *confimLab;
  35. - (void)youpaiftimePadding;
  36. @end