AuctionResultView.h 763 B

12345678910111213141516171819202122232425
  1. //
  2. // AuctionResultView.h
  3. // BuguLive
  4. //
  5. // Created by 王珂 on 16/10/26.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol AuctionResultViewDelegate<NSObject>
  10. - (void)toPay;
  11. @end
  12. @interface AuctionResultView : UIView
  13. @property (nonatomic, weak) id<AuctionResultViewDelegate>delegate;
  14. - (void)createWithType:(NSInteger )type andResult:(NSString *)result andName:(NSString *) name andPrice:(NSString *)price;
  15. //type在竞拍成功和付款成功中区分是否为竞拍中拍人,0为不是中拍人,1为中拍人,竞拍未流拍时超时未支付的type为2,竞拍流拍时type为0和1,0为无人参拍,1为中拍者超时未付款
  16. //result为结果,结果分为中拍,竞拍失败,付款成功
  17. @end