1234567891011121314151617181920212223242526272829 |
- //
- // NYLIVipContentItem03ViewModel.m
- // jiaPei
- //
- // Created by Ning.ge on 2025/2/15.
- // Copyright © 2025 JCZ. All rights reserved.
- //
- #import "NYLIVipContentItem03ViewModel.h"
- @interface NYLIVipContentItem03ViewModel ()
- @property (nonatomic, readwrite, strong) RQTypeModel *typeModel;
- @end
- @implementation NYLIVipContentItem03ViewModel
- - (instancetype)initWithRQTypeModel:(RQTypeModel *)typeModel{
- if (self = [super init]) {
- self.typeModel = typeModel;
- CGFloat RQVipContentCellWidth = RQ_SCREEN_WIDTH - (2 * 16);
- CGFloat RQVipContentCellHeight = RQVipContentCellWidth * (150.f / 375.f);
- self.itemSize = CGSizeMake(RQVipContentCellWidth, RQVipContentCellHeight);
- }
- return self;
- }
- - (NSString *)itemClassName {
- return @"NYLiVipContentNewCell03";
- }
- @end
|