123456789101112131415161718192021222324 |
- //
- // RQVipCenterItemViewModel.m
- // jiaPei
- //
- // Created by 张嵘 on 2022/9/22.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import "RQVipCenterItemViewModel.h"
- @implementation RQVipCenterItemViewModel
- - (instancetype)initWithRQTypeModel:(RQTypeModel *)typeModel {
- if (self = [super init]) {
- CGFloat RQVipSinglePriceCellWidth = (RQ_SCREEN_WIDTH - 8 - 16) / 4.f;
- CGFloat RQVipSinglePriceCellHeight = RQ_FIT_HORIZONTAL(132.f);
- self.itemSize = CGSizeMake(RQVipSinglePriceCellWidth, RQVipSinglePriceCellHeight);
- }
- return self;
- }
- - (NSString *)itemClassName {
- return @"RQVipCenterCell";
- }
- @end
|