GameRechargeView.m 686 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // GameRechargeView.m
  3. // BuguLive
  4. //
  5. // Created by 布谷 on 2017/5/27.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import "GameRechargeView.h"
  9. @implementation GameRechargeView
  10. - (void)awakeFromNib
  11. {
  12. [super awakeFromNib];
  13. self.backGroundView.backgroundColor = kGrayTransparentColor4_1;
  14. self.backGroundView.layer.cornerRadius = 13;
  15. self.backGroundView.layer.masksToBounds = YES;
  16. if ([GlobalVariables sharedInstance].appModel.open_diamond_game_module == 1)
  17. {
  18. self.diamondsImageView.image = [UIImage imageNamed:@"com_diamond_1"];
  19. }
  20. else
  21. {
  22. self.diamondsImageView.image = [UIImage imageNamed:@"gm_coin"];
  23. }
  24. }
  25. @end