RechargeWayView.h 895 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // RechargeWayView.h
  3. // BuguLive
  4. //
  5. // Created by 王珂 on 17/3/13.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "AccountRechargeModel.h"
  10. #import "RechargeWayCell.h"
  11. @protocol RechargeWayViewDelegate <NSObject>
  12. @optional
  13. - (void)choseRechargeWayWithIndex:(NSInteger) index;
  14. - (void)choseRechargeWayWithWayName:(NSString *) wayName;
  15. @end
  16. @interface RechargeWayView : UIView<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout,RechargeWayCellDelegate>
  17. @property (nonatomic, weak) id<RechargeWayViewDelegate> delegate;
  18. @property (nonatomic, strong) NSArray *rechargeWayArr; //pay_list字段对应的数组
  19. @property (nonatomic, assign) NSInteger selectIndex;
  20. @property (nonatomic, assign) NSInteger nowIndex;
  21. @property (nonatomic, strong) UICollectionView *collectionView;
  22. @end