Commit ca3bceed28b883dcb1d67235e2d2ce573bbd9cdf

Authored by yanglingyu
1 parent 476fe5de

增加判断

CNLiveCServiceModule/Classes/Present/CNLiveServicePresent.m
... ... @@ -239,7 +239,10 @@ static const CGFloat margin = 15;
239 239 NSArray *contents = mDic[@"contents"];
240 240 NSString *type = mDic[@"type"];
241 241 if (type.integerValue == 36) {
242   - [mDic setObject:array[i + 1][@"contents"] forKey:@"rightLists"];
  242 + NSString *nextType = array[i + 1][@"type"];
  243 + if (nextType.integerValue == 37) {
  244 + [mDic setObject:array[i + 1][@"contents"] forKey:@"rightLists"];
  245 + }
243 246 [mDic setObject:@(214*KScreenWidth/375 ) forKey:@"cellHeight"];
244 247 }else if (type.integerValue == 38){
245 248 [mDic setObject:@(230*KScreenWidth/375 ) forKey:@"cellHeight"];
... ...