RQPayPriceHeaderGroupViewModel.m 570 B

123456789101112131415161718192021222324
  1. //
  2. // RQPayPriceHeaderGroupViewModel.m
  3. // jiaPei
  4. //
  5. // Created by 张嵘 on 2022/6/7.
  6. // Copyright © 2022 JCZ. All rights reserved.
  7. //
  8. #import "RQPayPriceHeaderGroupViewModel.h"
  9. @interface RQPayPriceHeaderGroupViewModel ()
  10. @property (nonatomic, readwrite, strong) RQTypeModel *typeModel;
  11. @end
  12. @implementation RQPayPriceHeaderGroupViewModel
  13. /// init
  14. - (instancetype)initWithRQTypeModel:(RQTypeModel *)typeModel {
  15. if (self = [super init]) {
  16. self.typeModel = typeModel;
  17. self.headerHeight = RQ_FIT_HORIZONTAL(86.f);
  18. }
  19. return self;
  20. }
  21. @end