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.
 
 
 
 

42 lines
823 B

//
// SignCollectionViewCell.m
// tongxin
//
// Created by ecell on 2023/4/1.
// Copyright © 2023 xTT. All rights reserved.
//
#import "SignCollectionViewCell.h"
@interface SignCollectionViewCell ()
@end
@implementation SignCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self)
{
self.backgroundColor = UIColor.clearColor;
[self subhomeCell];
}
return self;
}
- (void)subhomeCell
{
UIImage *img = ImageName_(@"sign_checked_img");
UIImageView *bgImg = [UIImageView new];
self.bgImg = bgImg;
[self.contentView addSubview:bgImg];
[bgImg mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerY.centerX.equalTo(self.contentView);
make.size.mas_equalTo(img.size);
}];
}
@end