// // ButtonView.h // jiaPei // // Created by apple on 16/8/15. // Copyright © 2016年 JCZ. All rights reserved. // #import @interface ButtonView : UILabel @property (nonatomic, retain) UIImageView *imgView; @property (nonatomic, retain) UILabel *titleLabel; @property (nonatomic, retain) UILabel *detailLabel; //type 为1 是带有副标题的(设置了.adjustsFontSizeToFitWidth = YES) 高度建议是60 为2 没带副标题 高度建议是45 副标题随便传 -(id)initWithFrame:(CGRect)frame Image:(NSString *)aImg Title:(NSString *)aTitle Detail:(NSString *)aDetail type:(NSInteger)aType; @end