RQVipAllFunctionItemViewModel.m 634 B

123456789101112131415161718192021222324
  1. //
  2. // RQVipAllFunctionItemViewModel.m
  3. // jiaPei
  4. //
  5. // Created by 张嵘 on 2022/3/1.
  6. // Copyright © 2022 JCZ. All rights reserved.
  7. //
  8. #import "RQVipAllFunctionItemViewModel.h"
  9. @implementation RQVipAllFunctionItemViewModel
  10. - (instancetype)init{
  11. if (self = [super init]) {
  12. CGFloat RQVipAllFunctionCellWidth = RQ_SCREEN_WIDTH - (2 * 16);
  13. CGFloat RQVipAllFunctionCellHeight = RQVipAllFunctionCellWidth * (170.f / 375.f);
  14. self.itemSize = CGSizeMake(RQVipAllFunctionCellWidth, RQVipAllFunctionCellHeight);
  15. }
  16. return self;
  17. }
  18. - (NSString *)itemClassName {
  19. return @"RQVipAllFunctionCell";
  20. }
  21. @end