最后调整
This commit is contained in:
@@ -79,10 +79,10 @@
|
||||
make.height.equalTo(self.noUserImageView.mas_width);
|
||||
}];
|
||||
|
||||
[self addSubview:self.micSvgaView];
|
||||
[self insertSubview:self.micSvgaView belowSubview:self.headerView];
|
||||
[self.micSvgaView mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.equalTo(self.headerView).offset(-8);
|
||||
make.right.bottom.equalTo(self.headerView).offset(8);
|
||||
make.left.top.equalTo(self.headerView).offset(-10);
|
||||
make.right.bottom.equalTo(self.headerView).offset(10);
|
||||
}];
|
||||
|
||||
[self addSubview:self.micMp4View];
|
||||
@@ -225,6 +225,9 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
if (self.pitModel.user_id.longLongValue <= 0) {
|
||||
[self stopAudioAnimation];
|
||||
}
|
||||
}
|
||||
-(void)setIsPK:(BOOL)isPK{
|
||||
_isPK = isPK;
|
||||
@@ -388,6 +391,10 @@
|
||||
self.charmBgView.hidden = YES;
|
||||
}
|
||||
}
|
||||
-(void)updateUserCharm:(NSString *)charm{
|
||||
self.pitModel.charm = charm;
|
||||
self.charmLabel.text = [NSString qx_showHotCountNum:self.pitModel.charm.longLongValue];
|
||||
}
|
||||
-(void)hideCharm{
|
||||
self.charmBgView.hidden = YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user