|
|
@@ -15,8 +15,10 @@
|
|
|
if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
|
|
|
{
|
|
|
self.selectionStyle = UITableViewCellSelectionStyleNone;
|
|
|
+ self.backgroundColor = [UIColor clearColor];
|
|
|
|
|
|
_headImg = [UIImageView new];
|
|
|
+ _headImg.contentMode = UIViewContentModeScaleAspectFill;
|
|
|
[self.contentView addSubview:_headImg];
|
|
|
[_headImg mas_makeConstraints:^(MASConstraintMaker *make)
|
|
|
{
|
|
|
@@ -31,7 +33,7 @@
|
|
|
_nameLab = [UILabel new];
|
|
|
_nameLab.textColor = UIColorFromHex(0x120817);
|
|
|
_nameLab.textAlignment = NSTextAlignmentLeft;
|
|
|
- _nameLab.font = [UIFont systemFontOfSize:14.0];
|
|
|
+ _nameLab.font = [MOTextTools getTheFontWithSize:14.0 AndFontName:@"Akrobat"];
|
|
|
[self.contentView addSubview:_nameLab];
|
|
|
[_nameLab mas_makeConstraints:^(MASConstraintMaker *make)
|
|
|
{
|
|
|
@@ -51,7 +53,7 @@
|
|
|
_idLab = [UILabel new];
|
|
|
_idLab.textColor = UIColorFromHex(0x999999);
|
|
|
_idLab.textAlignment = NSTextAlignmentLeft;
|
|
|
- _idLab.font = [UIFont systemFontOfSize:12.0];
|
|
|
+ _idLab.font = [MOTextTools getTheFontWithSize:12.0 AndFontName:@"Akrobat"];
|
|
|
[self.contentView addSubview:_idLab];
|
|
|
[_idLab mas_makeConstraints:^(MASConstraintMaker *make)
|
|
|
{
|
|
|
@@ -144,10 +146,10 @@
|
|
|
if (!_cancelBtn)
|
|
|
{
|
|
|
_cancelBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
|
|
- _cancelBtn.backgroundColor = [UIColor whiteColor];
|
|
|
+ _cancelBtn.backgroundColor = [UIColor clearColor];
|
|
|
_cancelBtn.titleLabel.lineBreakMode = NSLineBreakByTruncatingTail;
|
|
|
[_cancelBtn setTitleColor:[MOTools colorWithHexString:@"#999999" alpha:1.0] forState:UIControlStateNormal];
|
|
|
- _cancelBtn.titleLabel.font = [UIFont systemFontOfSize:12.0];
|
|
|
+ _cancelBtn.titleLabel.font = [MOTextTools getTheFontWithSize:12.0 AndFontName:@"Akrobat"];
|
|
|
_cancelBtn.layer.cornerRadius = 30.0 / 2.0;
|
|
|
_cancelBtn.layer.masksToBounds = YES;
|
|
|
[_cancelBtn setTitle:@"Cancel" forState:UIControlStateNormal];
|