//
//  TTSpecailNewsDetailView.h
//  DFTTFramework
//
//  Created by 路鹏 on 2017/4/24.
//  Copyright © 2017年 路鹏. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TTNewsListModel.h"
#import "TTSpecialNewsDetailCfg.h"

typedef void(^TTSpecailNewsDetailSuccessBlock)(NSString *success);
typedef void(^TTSpecailNewsDetailFailBlock)(NSString *fail);

@interface TTSpecailNewsDetailView : UIView
@property (nonatomic, assign) id delegate;

- (instancetype)initWithFrame:(CGRect)frame withSpecailNewsDetailCfg:(TTSpecialNewsDetailCfg *)specialNewsDetailCfg withNewsListModel:(TTNewsListModel *)model withSuccess:(TTSpecailNewsDetailSuccessBlock)successBlock withFail:(TTSpecailNewsDetailFailBlock)failBlock;
@end

@protocol TTSpecailNewsDetailViewDelegate <NSObject>

- (void)TTSpecailNewsDetailView:(TTSpecailNewsDetailView *)specialNewsDetailView CellClickWithNewsListModel:(id)newsListModel withNewsListCellType:(TTNewsListViewCellPushViewType)pushViewType;

@end


@interface TTNewsSptoModel : NSObject
@property (nonatomic, assign) NSInteger sptoID;         //ID
@property (nonatomic, copy) NSString *name;         //区头标题
@property (nonatomic, strong) NSMutableArray *dataArr;     //数据数组
@end
