1234567891011121314151617181920212223242526272829 |
- //
- // RQVipAuthoritySmallItemViewModel.m
- // jiaPei
- //
- // Created by 张嵘 on 2022/3/1.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import "RQVipAuthoritySmallItemViewModel.h"
- @interface RQVipAuthoritySmallItemViewModel ()
- @property (nonatomic, readwrite, strong) RQTypeModel *typeModel;
- @end
- @implementation RQVipAuthoritySmallItemViewModel
- - (instancetype)initWithRQTypeModel:(RQTypeModel *)typeModel{
- if (self = [super init]) {
- self.typeModel = typeModel;
- CGFloat RQVipAuthorityCellWidth = RQ_SCREEN_WIDTH - (2 * 16);
- CGFloat RQVipAuthorityCellHeight = RQ_FIT_HORIZONTAL(60.f);
- self.itemSize = CGSizeMake(RQVipAuthorityCellWidth, RQVipAuthorityCellHeight);
- }
- return self;
- }
- - (NSString *)itemClassName {
- return @"RQVipAuthoritySmallCell";
- }
- @end
|