|
//
// AnswerIconBaseCell.h
// ThePaperBase
//
// Created by zhousan on 15/11/5.
// Copyright © 2015年 scar1900. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "commentOkButton.h"
@protocol AnswerIconBaseDelegate <NSObject>
@optional
- (void)gotoUserInfo:(commentObjectVO *)comment;
- (void)hasPraisedAnswer:(NSIndexPath*)indexPath withCommentBO:(commentObjectVO*)commentBO;
- (void)gotoHotAsk:(commentObjectVO *)comment;
- (void) gotoCommentWithComment:(commentObjectVO*)comment;
@end
@interface AnswerIconBaseCell : UITableViewCell
@property(nonatomic, strong)UIView *backView;
@property(nonatomic, strong)UILabel *anserNameLabel; //回答者姓名
@property(nonatomic, strong)commentOkButton *OkButton; //点赞按钮
@property(nonatomic, strong)UIImageView *answerIcon;
@property(nonatomic, strong)UIImageView *verifyTag;
@property(nonatomic, strong)UIImageView *iconBack;
@property(nonatomic, strong)UIButton *iconButton;
@property(nonatomic, strong)UILabel *timeLabel;
@property(nonatomic, strong)UIImageView *timeImg;
@property(nonatomic, strong)UILabel *hostLabel;
@property(nonatomic, strong)commentObjectVO *commentBO;
@property(nonatomic, weak)id <AnswerIconBaseDelegate> delegate;
@property(nonatomic, strong)UIButton *nameButton;
@property(nonatomic, strong)NSIndexPath *indexPath;
@property(nonatomic, strong)UIButton *attentionBtn;
@property(nonatomic, strong)UILabel *topicNumsLabel;
@property(nonatomic, strong)UIButton *replyButton;
@property(nonatomic, strong)UIButton *backBtn;
@property(nonatomic, copy)NSString *topicHostId;
- (void)commentOK:(UIButton*)btn;
- (void)subLayoutSubViews;
- (void)reLayoutSubViews;
@end
|