AS_GoodsReviewsListC.m 909 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // AS_GoodsReviewsListC.m
  3. // Asteria
  4. //
  5. // Created by 王猛 on 2024/1/4.
  6. //
  7. #import "AS_GoodsReviewsListC.h"
  8. #import "ASGoodsDetailsVM.h"
  9. @interface AS_GoodsReviewsListC ()
  10. @property (nonatomic, strong) UIView *topBgV;
  11. @property (nonatomic, strong) QMUILabel *hotLab;
  12. @property (nonatomic, strong) UIImageView *topImgV;
  13. @property (nonatomic, strong) UILabel *goodsTitleLab;
  14. @property (nonatomic, strong) QMUILabel *priceLab;
  15. @property (nonatomic, strong) UIButton *cartBtn;
  16. @end
  17. @implementation AS_GoodsReviewsListC
  18. - (void)viewDidLoad {
  19. [super viewDidLoad];
  20. }
  21. - (UIView *)topBgV {
  22. if (!_topBgV) {
  23. UIView *v= [[UIView alloc] init];
  24. [v addSubview:self.hotLab];
  25. [v addSubview:self.topImgV];
  26. [v addSubview:self.goodsTitleLab];
  27. [v addSubview:self.priceLab];
  28. [v addSubview:self.cartBtn];
  29. _topBgV = v;
  30. }
  31. return _topBgV;
  32. }
  33. @end