// // RechargeView.h // BuguLive // // Created by 王珂 on 17/3/13. // Copyright © 2017年 xfg. All rights reserved. // #import #import "RechargeWayView.h" #import "AccountRechargeModel.h" @class RechargeView; @protocol RechargeViewDelegate - (void)choseRecharge:(BOOL )recharge orExchange:(BOOL )exchange; //充值成功后调用进行刷新账号钻石相关的数据 - (void)rechargeSuccessWithRechargeView:(RechargeView *)rechargeView; @optional - (void)choseOtherRechargeWithRechargeView:(RechargeView *)rechargeView; - (void)closeRechargeWithRechargeView:(RechargeView *)rechargeView; @end @interface RechargeView : UIView @property (nonatomic, strong) AccountRechargeModel * model; @property (nonatomic, weak) iddelegate; @property (nonatomic, assign) NSInteger indexPayWay; @property (nonatomic, strong) NSString *money; @property (nonatomic, strong)UIViewController * viewController; @property(nonatomic, strong) QMUIButton *selectAgreeBtn; @property(nonatomic, strong) QMUIButton *agreeBtn; - (void)loadRechargeData; - (void)payRequestWithModel:(PayMoneyModel *)payModel withPayWayIndex:(NSInteger )index; //其它充值调用的方法 - (instancetype)initWithFrame:(CGRect)frame andUIViewController:(UIViewController *)viewController; @end