This commit is contained in:
2025-11-27 19:20:20 +08:00
parent 95d5e2b972
commit 8f16250cbe
3 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@
- (instancetype)initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (!self) return nil;
self.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.55];
self.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.5];
self.userInteractionEnabled = YES;
//
@@ -47,8 +47,8 @@
CGFloat screenW = UIScreen.mainScreen.bounds.size.width;
[_gifView mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerX.equalTo(self);
make.width.mas_equalTo(screenW);
make.height.mas_equalTo(300);
make.width.mas_equalTo(KBFit(316));
make.height.mas_equalTo(KBFit(209));
// layoutSubviews
}];