OrderCell.h 1008 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // OrderCell.h
  3. // jiaPei
  4. //
  5. // Created by apple on 16/6/7.
  6. // Copyright © 2016年 JCZ. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef void (^ZZBlockType)(id,id);
  10. @interface OrderCell : UITableViewCell
  11. {
  12. UILabel *orderNumLabel;//订单编号
  13. UILabel *lineLabel;
  14. UILabel *beginTimeLabel;
  15. UILabel *endTimeLabel;
  16. UILabel *staticLabel;//订单状态
  17. UILabel *trainTimeLabel;//学时情况
  18. UILabel *priceLabel;//单价
  19. UILabel *totalPriceLabel;//总价
  20. UILabel *nameLabel;//名字
  21. UIButton *lookBtn;//评论/投诉
  22. UIButton *orbitBtn;//轨迹
  23. ZZBlockType payBlock;
  24. }
  25. @property (nonatomic, strong) NSString *type;//订单状态 0 进行中 1 待支付 2 待评价/投诉 3 交易完成 4 投诉中
  26. @property (nonatomic, strong) UIViewController *skipVC;
  27. @property (nonatomic, strong) NSDictionary *dataDic;
  28. + (OrderCell *)cellForTabelView:(UITableView*)tableView;
  29. - (void)payClickToBlock:(ZZBlockType)block;
  30. @end