RQHomePageModule.m 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // RQHomePageModule.m
  3. // XinShouJiaDao
  4. //
  5. // Created by 张嵘 on 2021/7/9.
  6. // Copyright © 2021 JCZ. All rights reserved.
  7. //
  8. #import "RQHomePageModule.h"
  9. #pragma mark - 常量定义区
  10. CGFloat const RQTableHeaderViewHeight = 0.f;
  11. CGFloat const RQHeightForPinSectionHeaderInPagerView = 47.f;
  12. CGFloat const RQHeightForPinSectionHeaderInPagerView_One = 93.f;
  13. CGFloat const RQHeightForPinSectionHeaderInPagerView_Two = 50.f;
  14. CGFloat const RQHomeSubPageEditListToolBarHeight = 49.f;
  15. CGFloat const RQSimulationTestTopicsViewHeight = 259.f;
  16. CGFloat const RQSimulationResultsHeaderViewHeight = 231.f;
  17. /// 首页车型选项Key
  18. NSString * const RQHomePageCarTypeKey = @"RQHomePageCarTypeKey";
  19. /// 首页科目选项Key
  20. NSString * const RQHomePageSubjectTypeKey = @"RQHomePageSubjectTypeKey";
  21. /// 首页子页面类型Key
  22. NSString * const RQHomeSubPageTypeKey = @"RQHomeSubPageTypeKey";
  23. /// EditList类型Key
  24. NSString * const RQHomeSubEditListTypeKey = @"RQHomeSubEditListTypeKey";
  25. @interface RQHomePageModule ()
  26. @end
  27. @implementation RQHomePageModule
  28. static id rq_RQHomePageModule = nil;
  29. #pragma mark - init
  30. + (instancetype)sharedInstance {
  31. static dispatch_once_t onceToken;
  32. dispatch_once(&onceToken, ^{
  33. rq_RQHomePageModule = [[self alloc] init];
  34. });
  35. return rq_RQHomePageModule;
  36. }
  37. - (instancetype)init {
  38. if (self = [super init]) {
  39. }
  40. return self;
  41. }
  42. #pragma mark - PublicMethods
  43. @end