FiveSectionTableViewCell.m 1006 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // FiveSectionTableViewCell.m
  3. // BuguLive
  4. //
  5. // Created by fanwe2014 on 16/8/5.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import "FiveSectionTableViewCell.h"
  9. @implementation FiveSectionTableViewCell
  10. - (void)awakeFromNib
  11. {
  12. [super awakeFromNib];
  13. self.depositButton.backgroundColor = kAppMainColor;
  14. [self.depositButton setTitleColor:[UIColor whiteColor] forState:0];
  15. self.depositButton.layer.cornerRadius = 15;
  16. self.continueButton.backgroundColor = kAppMainColor;
  17. [self.continueButton setTitleColor:[UIColor whiteColor] forState:0];
  18. self.continueButton.layer.cornerRadius = 35/2;
  19. self.auctionLabel.textColor = kAppGrayColor1;
  20. self.auctionMoneyLabel.textColor = kAppGrayColor1;
  21. }
  22. - (IBAction)buttonClick:(UIButton *)sender
  23. {
  24. if (self.delegate)
  25. {
  26. if ([self.delegate respondsToSelector:@selector(buttonClickWithTag:)])
  27. {
  28. [self.delegate buttonClickWithTag:(int)sender.tag];
  29. }
  30. }
  31. }
  32. @end