12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- //
- // SREmptyDataView.m
- // SREmptyDataViewDemo
- //
- // Created by https://github.com/guowilling on 2018/1/11.
- // Copyright © 2018年 SR. All rights reserved.
- //
- #import "SREmptyDataView.h"
- #import "UIView+SRFrame.h"
- #define kSubviewMargin 20.f
- #define kTitleFont [UIFont systemFontOfSize:16.f]
- #define kDetailFont [UIFont systemFontOfSize:14.f]
- #define kActionBtnTitleFont [UIFont systemFontOfSize:14.f]
- #define kActionBtnHeight 40.f
- #define kActionBtnHorizontalEdge 30.f
- #define kBlackColor [UIColor colorWithRed:0.3f green:0.3f blue:0.3f alpha:1.f]
- #define kGrayColor [UIColor colorWithRed:0.5f green:0.5f blue:0.5f alpha:1.f]
- @interface SREmptyDataView ()
- @property (nonatomic, strong) UIImageView *promptImageView;
- @property (nonatomic, strong) UILabel *titleLabel;
- @property (nonatomic, strong) UILabel *detailLabel;
- @property (nonatomic, strong) UIButton *actionButton;
- @property (nonatomic, assign) CGFloat contentMaxWidth;
- @property (nonatomic, assign) CGFloat contentW;
- @property (nonatomic, assign) CGFloat contentH;
- @end
- @implementation SREmptyDataView
- #pragma mark - Lazy Load
-
- @end
|