修改 UI 需求和问题
This commit is contained in:
@@ -482,7 +482,7 @@
|
||||
self.isFirstUpdate = YES;
|
||||
}
|
||||
- (void)onlineTapRecognizer {
|
||||
XPRoomOnLineViewController * onlineVC = [[XPRoomOnLineViewController alloc] initWithDelegate:self.delegate];
|
||||
XPRoomOnLineViewController *onlineVC = [[XPRoomOnLineViewController alloc] initWithDelegate:self.delegate];
|
||||
[self.delegate.getCurrentNav pushViewController:onlineVC animated:YES];
|
||||
}
|
||||
- (void)onRoomUpdate {
|
||||
|
@@ -118,11 +118,7 @@ BOOL isNumeric(NSString *string) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isNumeric(title)) {
|
||||
_titleLabel.text = [self formatCoinsWithDouble:[title doubleValue]];
|
||||
} else {
|
||||
_titleLabel.text = title;
|
||||
}
|
||||
_titleLabel.text = title;
|
||||
}
|
||||
|
||||
- (UIView *)bgView {
|
||||
|
@@ -48,6 +48,7 @@ exitCurrentRoom:(void(^)(void))exit {
|
||||
CGRect frame = CGRectMake(KScreenWidth, 0, KScreenWidth, kGetScaleWidth(90));
|
||||
BravoGiftBannerView *banner = [[BravoGiftBannerView alloc] initWithFrame:frame];
|
||||
banner.model = model;
|
||||
banner.currentRoomUid = roomUid;
|
||||
banner.completeDisplay = complete;
|
||||
banner.exitCurrentRoom = exit;
|
||||
[banner addNotification];
|
||||
@@ -79,6 +80,7 @@ exitCurrentRoom:(void(^)(void))exit {
|
||||
}
|
||||
|
||||
- (void)setModel:(BravoGiftBannerViewModel *)model {
|
||||
_model = model;
|
||||
self.sendAvatarImageView.imageUrl = model.sender.avatar;
|
||||
self.giftImageView.imageUrl = model.giftPic;
|
||||
self.goldNumLabel.text = [NSString stringByRemovingRedundantZeros:@(model.coins).stringValue];
|
||||
|
@@ -66,12 +66,7 @@ static NSString *MessageCellID = @"MessageCell";
|
||||
}];
|
||||
self.bubbleImageView.hidden = messageInfo.isHiddenBubble;
|
||||
}
|
||||
|
||||
NSMutableAttributedString *s = [[NSMutableAttributedString alloc] initWithAttributedString:messageInfo.content];
|
||||
// if (isMSRTL()) {
|
||||
// s.yy_writingDirection = @[@(kCTWritingDirectionRightToLeft)];
|
||||
// }
|
||||
|
||||
|
||||
self.contentLabel.attributedText = messageInfo.content;
|
||||
|
||||
// 更新 contentLabel 高度
|
||||
|
@@ -256,7 +256,6 @@
|
||||
[self clickChatAction];
|
||||
}];
|
||||
}
|
||||
|
||||
}
|
||||
#pragma mark- XPUserCardViewControllerDelegate
|
||||
-(void)clickChatAction{
|
||||
|
Reference in New Issue
Block a user