MGLiveRechargeView.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // MGLiveRechargeView.h
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2020/8/5.
  6. // Copyright © 2020 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "AccountRechargeModel.h"
  10. #import <StoreKit/StoreKit.h>
  11. #import "Pay_Model.h"
  12. NS_ASSUME_NONNULL_BEGIN
  13. @interface MGLiveRechargeView : UIView<UICollectionViewDataSource,UICollectionViewDelegate>
  14. @property(nonatomic, strong) UIView *bgView;
  15. @property(nonatomic, strong) UICollectionView *collectionView;
  16. @property(nonatomic, strong) UIScrollView *scrollView;
  17. @property(nonatomic, strong) UILabel *titleL;
  18. @property(nonatomic, strong) UILabel *balanceL;
  19. @property(nonatomic, strong) UIView *shadowView;
  20. @property(nonatomic, strong) NSMutableArray *listArr;
  21. @property (nonatomic, strong) NSMutableArray * ruleListArr;
  22. @property (nonatomic, strong) NSMutableArray * otherPayArr;//除苹果支付外的其它第三方支付(此数组用于存有第三方支付,且show_other字段为1但支付列表只有最外面的一个统一支付列表,并没有每个不同支付方式对应不同类别时的情况)
  23. //@property(nonatomic, strong) UILabel *titleL;
  24. @property(nonatomic, strong) AccountRechargeModel *model;
  25. @property(nonatomic, assign) BOOL isSelectAgree;
  26. @property(nonatomic, strong) NSString *money;
  27. @property (nonatomic, strong) NSString *pro_id;
  28. @property (nonatomic, strong) SKProductsRequest * request;
  29. @property(nonatomic, strong) NSMutableArray *payBtnArray;
  30. @property(nonatomic, strong) UIColor *nowMainColor;
  31. - (void)show:(UIView *)superView;
  32. - (void)hide;
  33. @end
  34. NS_ASSUME_NONNULL_END