优化提交
This commit is contained in:
@@ -28,10 +28,15 @@
|
||||
// self.roomTypeView.image = [UIImage imageNamed:@"Group 7156"];
|
||||
// }
|
||||
[self.roomTypeView sd_setImageWithURL:[NSURL URLWithString:model.label_icon]];
|
||||
self.animateImageView.animationDuration = 1;
|
||||
self.animateImageView.animationImages = self.imgs;
|
||||
|
||||
|
||||
}
|
||||
-(void)startAnimating{
|
||||
[self.animateImageView startAnimating];
|
||||
}
|
||||
-(void)endAnimating{
|
||||
[self.animateImageView stopAnimating];
|
||||
}
|
||||
-(void)setHistoryModel:(QXMyRoomHistory *)historyModel{
|
||||
_historyModel = historyModel;
|
||||
[self.coverImageView sd_setImageWithURL:[NSURL URLWithString:historyModel.room_cover]];
|
||||
@@ -90,6 +95,8 @@
|
||||
}else{
|
||||
[self.displayMaskView setTopToBottomGradientBackgroundWithColors:@[[UIColor colorWithHexString:@"#00000000"],[UIColor colorWithHexString:@"#00000096"]] frame:CGRectMake(0, 0, (SCREEN_WIDTH-15*3-1)/2.0, (SCREEN_WIDTH-15*3-1)/2.0)];
|
||||
}
|
||||
self.animateImageView.animationDuration = 1;
|
||||
self.animateImageView.animationImages = self.imgs;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user