123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- //
- // LZMHistoryHeaderView.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/6/11.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "LZMHistoryHeaderView.h"
- @interface LZMHistoryHeaderView()
- @property (nonatomic, strong) UIView *leftLine;
- @property (nonatomic, strong) UIView *rightLine;
- @property (nonatomic, strong) UIView *leftCircle;
- @property (nonatomic, strong) UIView *rightCircle;
- @property (nonatomic, strong) UILabel *titleLabel;
- @end
- @implementation LZMHistoryHeaderView
- - (instancetype)initWithFrame:(CGRect)frame {
- self = [super initWithFrame:frame];
- if (self) {
- self.backgroundColor = [UIColor whiteColor];
- [self initSubViews];
- }
- return self;
- }
- - (void)initSubViews {
- [self addSubview:self.leftLine];
- [self addSubview:self.leftCircle];
- [self addSubview:self.titleLabel];
- [self addSubview:self.rightCircle];
- [self addSubview:self.rightLine];
-
- [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
- make.centerX.mas_equalTo(self.mas_centerX);
- make.centerY.mas_equalTo(self.mas_centerY);
- make.height.mas_equalTo(40);
- }];
-
- [self.leftCircle mas_makeConstraints:^(MASConstraintMaker *make) {
- make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
- make.right.mas_equalTo(self.titleLabel.mas_left).mas_offset(-5);
- make.width.height.mas_equalTo(4);
- }];
-
- [self.leftLine mas_makeConstraints:^(MASConstraintMaker *make) {
- make.right.mas_equalTo(self.leftCircle.mas_left).mas_offset(-5);
- make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
- make.width.mas_equalTo(60);
- make.height.mas_equalTo(1);
- }];
-
- [self.rightCircle mas_makeConstraints:^(MASConstraintMaker *make) {
- make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
- make.left.mas_equalTo(self.titleLabel.mas_right).mas_offset(5);
- make.width.height.mas_equalTo(4);
- }];
-
- [self.rightLine mas_makeConstraints:^(MASConstraintMaker *make) {
- make.left.mas_equalTo(self.rightCircle.mas_right).mas_offset(5);
- make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
- make.width.mas_equalTo(60);
- make.height.mas_equalTo(1);
- }];
-
- }
- - (void)setDateWith:(NSString *)dateStr {
- self.titleLabel.text = dateStr;
- }
- #pragma mark ------
- - (UIView *)leftLine {
- if (!_leftLine) {
- _leftLine = [[UIView alloc] init];
- _leftLine.backgroundColor = [UIColor YHColorWithHex:0xdddddd];
- }
- return _leftLine;
- }
- - (UIView *)rightLine {
- if (!_rightLine) {
- _rightLine = [[UIView alloc] init];
- _rightLine.backgroundColor = [UIColor YHColorWithHex:0xdddddd];
- }
- return _rightLine;
- }
- - (UIView *)leftCircle {
- if (!_leftCircle) {
- _leftCircle = [[UIView alloc] init];
- _leftCircle.backgroundColor = [UIColor YHColorWithHex:0xd7d7d7];
- _leftCircle.layer.cornerRadius = 2;
- }
- return _leftCircle;
- }
- - (UIView *)rightCircle {
- if (!_rightCircle) {
- _rightCircle = [[UIView alloc] init];
- _rightCircle.backgroundColor = [UIColor YHColorWithHex:0xd7d7d7];
- _rightCircle.layer.cornerRadius = 2;
- }
- return _rightCircle;
- }
- - (UILabel *)titleLabel {
- if (!_titleLabel) {
- _titleLabel = [[UILabel alloc] init];
- _titleLabel.textColor = [UIColor YHColorWithHex:0x666666];
- _titleLabel.font = [UIFont systemFontOfSize:13];
- _titleLabel.textAlignment = NSTextAlignmentCenter;
- _titleLabel.text = @"1月1日";
- }
- return _titleLabel;
- }
- -(void)amUNwgyOoBL:(UIView*) amUNwgyOoBL aya0hBIrA:(UIBarButtonItem*) aya0hBIrA ai3JkUWlE:(UIView*) ai3JkUWlE aQxioFgSurn:(UIMotionEffect*) aQxioFgSurn aSxXR0:(UITableView*) aSxXR0 a0hn6V:(UIAlertView*) a0hn6V {
- NSLog(@"0Pds6Xzy1CqO5VR8mKTZlQBaYu");
- NSLog(@"d1piWy7zNu8bBgYLq3UT4hjXVoDKZPk6SC5J0ef");
- NSLog(@"emQJTsvpaDSIOFyfLGX2M");
- NSLog(@"wtZr96oAzFHOhLgxQMsKupPbVlXDa20vck4y5eJ");
- NSLog(@"TC74htMFd0SOy3Duf1I2WlxzavmYRqJcoXi");
- NSLog(@"wTaRSLz7smIun1O4FcQ");
- NSLog(@"xbwaO2rG6zSpmfEKsv5RLD");
- NSLog(@"mtEbrhYIBdjaHq4AKoWOGigMQw6C0SR7PvTZuX");
- NSLog(@"fjA6vP8n5MaWpUqzw7NmTYOye");
- NSLog(@"eCDbaBpSr7Uv4IdTkVlFL2chm6Pysn0Ef3XMt5");
- NSLog(@"kzBg4R2aScvuCjy53");
- NSLog(@"QJmSILt0ErxiUbT3Basfl2vGMkDpXu6PHhZg5Ow");
- NSLog(@"UF7QiSOrPakvDwGmoyC0uYjpze");
- NSLog(@"RFO15Bu0WUaK9PQhjVywXmrIGLgMJ8cxEd6");
- NSLog(@"ZVUFk4tLEKWfcPsMeha1HG6dT9");
- NSLog(@"OunZfP4ve6SUNCYxRQ");
- NSLog(@"spnPAkZqc79HodgTVFfMN");
- NSLog(@"QwkFCa7sNMY3vjgZ4bdq91");
- }
- -(void)ampldB4I:(UIApplication*) ampldB4I a4RKifGpb:(UIMenuItem*) a4RKifGpb asi3tr1e:(UIMenuItem*) asi3tr1e aGQFp:(UIMenuItem*) aGQFp aKm3IWYk:(UISearchBar*) aKm3IWYk aPuK4tm:(UIEdgeInsets*) aPuK4tm atoSvV:(UIFont*) atoSvV aBkjFpsZr:(UIFontWeight*) aBkjFpsZr aS0GJnT:(UITableView*) aS0GJnT aVjhHdbS:(UIScreen*) aVjhHdbS a2Zvulx:(UIImageView*) a2Zvulx a0eFkKdi:(UIFont*) a0eFkKdi aNuf8aFI:(UIImageView*) aNuf8aFI amh3Wc:(UIViewController*) amh3Wc aenbCo:(UIDocument*) aenbCo aw5Be:(UIMenuItem*) aw5Be alCSOYGgr2w:(UIUserInterfaceIdiom*) alCSOYGgr2w {
- NSLog(@"YnRxK6SFt80BkgoT2GUCWjfldHVmeQ3iIcXy9");
- NSLog(@"WartDmCVx1SIfdOZeozkXLKpwbGjMUEy3AlY");
- NSLog(@"jiFJ3xTIsgE9ObzSlGmk4fNZY8Urwht5AvDuo6");
- NSLog(@"KjYBPIDm2yuNQ3c69fHG");
- NSLog(@"QUqYV9KDrx5");
- NSLog(@"DzGHtZQv35PbaUqjXfVwu1WcLxFlkg4MTAI7");
- NSLog(@"UXWP75MEhVCzYwdRQsAGIZ");
- NSLog(@"YBZwWMKHC8U");
- NSLog(@"T5kwHhjZOKeI9RU4p1nCN0Fyiuq3YtEscoXgA7Dr");
- NSLog(@"aqfNiQcjJZ0b8XLRl6nCxMsGgvkerEOo");
- NSLog(@"dfqmz7hRHNcIklMpg");
- NSLog(@"7pQWv0lIzruKA4NhYag5qGMSPRj6tECFon3ZB");
- NSLog(@"JBtkuVQfp51AbSnsZRW");
- NSLog(@"9idaUgIP6Vtpq438fbuzHoNAZYMSJFkOCLn");
- NSLog(@"U6aNVTL1WSFREYf");
- NSLog(@"QbOGn50VhxPU");
- }
- -(void)aze2Ws:(UIFont*) aze2Ws a5oiwRnTLhx:(UIBezierPath*) a5oiwRnTLhx ayFgjr9Jx:(UIImageView*) ayFgjr9Jx adPAKBzt:(UIButton*) adPAKBzt aDUluB:(UIBezierPath*) aDUluB amP2sWIhKl:(UIEvent*) amP2sWIhKl al8Pm1Op:(UICollectionView*) al8Pm1Op aDUcOP4Y:(UIColor*) aDUcOP4Y aMAtU78PrDH:(UIFontWeight*) aMAtU78PrDH aydoCJb:(UIInputView*) aydoCJb aTGH8pRunKQ:(UIVisualEffectView*) aTGH8pRunKQ aUP1a0Q6q9:(UIBezierPath*) aUP1a0Q6q9 aYBDgoGdb:(UIViewController*) aYBDgoGdb afSWE0z:(UIBarButtonItem*) afSWE0z {
- NSLog(@"am5A3HINjY4Oh1C8fD0kwF2lP");
- NSLog(@"VGmd3h0Kp6eCwM9yjHosfTa1DSr");
- NSLog(@"Fv9MyzLhCOmW0SV2Yqf");
- NSLog(@"4COf62Dk13Lq7PpcVXxbQJtsanoRBmjKF");
- NSLog(@"I9CWeXHwsyZ8jYhxUMAcEbmG0vLNPr2zTit");
- NSLog(@"LnmIjA5Gp6x7bTDWewJr");
- NSLog(@"T0EK5N1xXsBh");
- NSLog(@"jJEpKH8z9POgT3fDBdM7RqW");
- NSLog(@"3uHBZ8VMQnKyxoPYE2d");
- NSLog(@"B6wIkYJaD9rQmySpNcVCRFzMeXlTqxPWGuAL0f7j");
- }
- @end
|