//
// AskContentAskCell.m
// ThePaperBase
//
// Created by zhousan on 15/11/19.
// Copyright © 2015年 scar1900. All rights reserved.
//
#import "AskContentAskCell.h"
@implementation AskContentAskCell
- (void)subLayoutSubViews {
__weak typeof(self) weakSelf = self;
[self.backView makeConstraints:^(MASConstraintMaker *make) {
make.top.equalTo(self);
make.bottom.equalTo(self);
make.left.equalTo(self).offset(10);
make.right.equalTo(self).offset(-10);
}];
[self.backBtn makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(weakSelf.backView);
}];
[self.lineView makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(weakSelf.backView.left);
make.bottom.equalTo(weakSelf.backView.bottom);
make.width.equalTo(weakSelf.backView.width);
make.height.mas_equalTo(0.5);
}];
}
@end
|