修改 UI 需求和问题

This commit is contained in:
AI Health Developer
2025-04-28 14:52:00 +08:00
parent ff365e8ae4
commit 41aae87dd6
5 changed files with 5 additions and 13 deletions

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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];

View File

@@ -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

View File

@@ -256,7 +256,6 @@
[self clickChatAction];
}];
}
}
#pragma mark- XPUserCardViewControllerDelegate
-(void)clickChatAction{