You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
2.2 KiB
101 lines
2.2 KiB
4 years ago
|
//
|
||
|
// TFEmptyView.h
|
||
|
// WXReader
|
||
|
//
|
||
|
// Created by 谢腾飞 on 2020/11/20.
|
||
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "TFEmptyBaseView.h"
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
@interface TFEmptyView : TFEmptyBaseView
|
||
|
/**
|
||
|
* 子控件间距 默认20.f
|
||
|
*/
|
||
|
@property (nonatomic ,assign) CGFloat subViewMargin;
|
||
|
|
||
|
/**
|
||
|
* 控件垂直方向偏移 (此属性与contentViewY 互斥,只有一个会有效)
|
||
|
*/
|
||
|
@property (nonatomic ,assign) CGFloat contentViewOffset;
|
||
|
|
||
|
/**
|
||
|
* 控件Y坐标 (此属性与contentViewOffset 互斥,只有一个会有效)
|
||
|
*/
|
||
|
@property (nonatomic ,assign) CGFloat contentViewY;
|
||
|
|
||
|
|
||
|
#pragma Mark image
|
||
|
/**
|
||
|
* 图片可设置固定大小 (默认图片实际大小)
|
||
|
*/
|
||
|
@property (nonatomic ,assign) CGSize imageSize;
|
||
|
|
||
|
|
||
|
#pragma Mark titleLab 相关
|
||
|
/**
|
||
|
* 标题字体, 默认 16.f
|
||
|
*/
|
||
|
@property (nonatomic ,strong) UIFont *titleLabFont;
|
||
|
/**
|
||
|
* 标题文字颜色
|
||
|
*/
|
||
|
@property (nonatomic ,strong) UIColor *titleLabTextColor;
|
||
|
|
||
|
|
||
|
#pragma Mark detailLab 相关
|
||
|
/**
|
||
|
* 详细描述字体,默认 14.f
|
||
|
*/
|
||
|
@property (nonatomic ,strong) UIFont *detailLabFont;
|
||
|
/**
|
||
|
* 详细描述最大行数, 默认 2
|
||
|
*/
|
||
|
@property (nonatomic ,assign) NSInteger detailLabMaxLines;
|
||
|
/**
|
||
|
* 详细描述文字颜色
|
||
|
*/
|
||
|
@property (nonatomic ,strong) UIColor *detailLabTextColor;
|
||
|
|
||
|
|
||
|
#pragma Mark 按钮相关
|
||
|
/**
|
||
|
* 按钮字体, 默认 14.f
|
||
|
*/
|
||
|
@property (nonatomic ,strong) UIFont *actionBtnFont;
|
||
|
/**
|
||
|
* 按钮的高度, 默认 40.f
|
||
|
*/
|
||
|
@property (nonatomic ,assign) CGFloat actionBtnHeight;
|
||
|
/**
|
||
|
* 水平方向内边距, 默认 30.f
|
||
|
*/
|
||
|
@property (nonatomic ,assign) CGFloat actionBtnHorizontalMargin;
|
||
|
/**
|
||
|
* 按钮的圆角大小, 默认 5.f
|
||
|
*/
|
||
|
@property (nonatomic ,assign) CGFloat actionBtnCornerRadius;
|
||
|
/**
|
||
|
* 按钮边框border的宽度, 默认 0
|
||
|
*/
|
||
|
@property (nonatomic ,assign) CGFloat actionBtnBorderWidth;
|
||
|
/**
|
||
|
* 按钮边框颜色
|
||
|
*/
|
||
|
@property (nonatomic ,strong) UIColor *actionBtnBorderColor;
|
||
|
/**
|
||
|
* 按钮文字颜色
|
||
|
*/
|
||
|
@property (nonatomic ,strong) UIColor *actionBtnTitleColor;
|
||
|
/**
|
||
|
* 按钮背景颜色
|
||
|
*/
|
||
|
@property (nonatomic ,strong) UIColor *actionBtnBackGroundColor;
|
||
|
|
||
|
@property (nonatomic ,strong) UIImageView *promptImageView;
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|