BogoRechargeTopView.m 597 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // BogoRechargeTopView.m
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2021/4/8.
  6. // Copyright © 2021 xfg. All rights reserved.
  7. //
  8. #import "BogoRechargeTopView.h"
  9. @implementation BogoRechargeTopView
  10. - (instancetype)initWithFrame:(CGRect)frame
  11. {
  12. self = [super initWithFrame:frame];
  13. if (self) {
  14. }
  15. return self;
  16. }
  17. -(void)setUpView{
  18. }
  19. - (void)awakeFromNib{
  20. [super awakeFromNib];
  21. self.diamondBtn.spacingBetweenImageAndTitle = 5;
  22. [self.diamondBtn setTitle:[GlobalVariables sharedInstance].appModel.diamond_name forState:UIControlStateNormal];
  23. }
  24. @end