// // RQWrongAndCollectionItemVIewModel.m // SDJK // // Created by 张嵘 on 2022/5/23. // #import "RQWrongAndCollectionItemViewModel.h" @interface RQWrongAndCollectionItemViewModel () /// homePageCarType @property (nonatomic, readwrite, assign) RQHomePageCarType homePageCarType; /// homePageSubjectType @property (nonatomic, readwrite, assign) RQHomePageSubjectType homePageSubjectType; /// homeSubPageType @property (nonatomic, readwrite, assign) RQHomeSubPageType homeSubPageType; @end @implementation RQWrongAndCollectionItemViewModel // init - (instancetype)initWithHomePageCarType:(RQHomePageCarType)homePageCarType homePageSubjectType:(RQHomePageSubjectType)homePageSubjectType homeSubPageType:(RQHomeSubPageType)homeSubPageType { if (self = [super init]) { self.rowHeight = RQ_FIT_HORIZONTAL(182.f); self.homePageCarType = homePageCarType; self.homePageSubjectType = homePageSubjectType; self.homeSubPageType = homeSubPageType; } return self; } - (NSString *)itemClassName { return @"RQWrongAndCollectionCell"; } @end