// // RQVipContentNewItemViewModel.m // jiaPei // // Created by 张嵘 on 2022/10/12. // Copyright © 2022 JCZ. All rights reserved. // #import "RQVipContentNewItemViewModel.h" @interface RQVipContentNewItemViewModel () @property (nonatomic, readwrite, strong) RQTypeModel *typeModel; @property (nonatomic, readwrite, copy) NSString *contentStr; @end @implementation RQVipContentNewItemViewModel - (instancetype)initWithRQTypeModel:(RQTypeModel *)typeModel{ if (self = [super init]) { self.typeModel = typeModel; CGFloat RQVipContentCellWidth = RQ_SCREEN_WIDTH; CGFloat RQVipContentCellHeight = RQVipContentCellWidth * (580.f / 375.f); self.itemSize = CGSizeMake(RQVipContentCellWidth, RQVipContentCellHeight); } return self; } - (NSString *)itemClassName { return @"RQVipContentNewCell"; } @end