1234567891011121314151617181920212223242526272829303132333435 |
- //
- // RQExerciseVideoExplainItemViewModel.m
- // jiaPei
- //
- // Created by 张嵘 on 2022/11/23.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import "RQExerciseVideoExplainItemViewModel.h"
- @interface RQExerciseVideoExplainItemViewModel ()
- @property (nonatomic, readwrite, strong) RQYDTJSModel *ydtJSModel;
- @end
- @implementation RQExerciseVideoExplainItemViewModel
- - (instancetype)initWithRQYDTJSModel:(RQYDTJSModel *)ydtJSModel {
- if (self = [super init]) {
- @weakify(self)
- dispatch_async(dispatch_get_main_queue(), ^{
- @strongify(self)
- self.ydtJSModel = ydtJSModel;
- self.rowHeight = 16.f + 26.f + 16.f + RQ_FIT_HORIZONTAL(184.f) + 16.f;
- });
- }
- return self;
- }
- - (NSString *)itemClassName {
- return @"RQExerciseVideoExplainCell";
- }
- @end
|