Authored by 盖剑秋

Merge branch 'develop' of http://git.yoho.cn/ios/Yoho_LivePush into develop

@@ -42,7 +42,7 @@ @@ -42,7 +42,7 @@
42 } 42 }
43 43
44 44
45 - self.nameLabel.text = [NSString stringWithFormat:@" @%@加入了 ", name]; 45 + self.nameLabel.text = [NSString stringWithFormat:@" @%@已加入 ", name];
46 // CGFloat nameWidth = [self.nameLabel.text boundingRectWithSize:CGSizeMake(kUserNameWidth, 20) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName : kFontName} context:nil].size.width; 46 // CGFloat nameWidth = [self.nameLabel.text boundingRectWithSize:CGSizeMake(kUserNameWidth, 20) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName : kFontName} context:nil].size.width;
47 // [self.nameLabel setWidth:nameWidth]; 47 // [self.nameLabel setWidth:nameWidth];
48 48
@@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
58 [_nameLabel setTextAlignment:NSTextAlignmentLeft]; 58 [_nameLabel setTextAlignment:NSTextAlignmentLeft];
59 [_nameLabel.layer setCornerRadius:6.0f]; 59 [_nameLabel.layer setCornerRadius:6.0f];
60 [_nameLabel setClipsToBounds:YES]; 60 [_nameLabel setClipsToBounds:YES];
61 - [_nameLabel setBackgroundColor:[UIColor colorWithRed:1 green:1 blue:1 alpha:0.7]]; 61 + [_nameLabel setBackgroundColor:[UIColor colorWithRed:1 green:1 blue:1 alpha:0.4]];
62 } 62 }
63 63
64 return _nameLabel; 64 return _nameLabel;
@@ -23,8 +23,8 @@ @@ -23,8 +23,8 @@
23 #define kUserAvatarWidth 35 23 #define kUserAvatarWidth 35
24 #define kUserNameLableMaxWidth (150 * kScreenPointScale) 24 #define kUserNameLableMaxWidth (150 * kScreenPointScale)
25 25
26 -#define kFontUserName [UIFont systemFontOfSize:11]  
27 -#define kFontUserMsg [UIFont systemFontOfSize:13] 26 +#define kFontUserName [UIFont fontOfLightWithSize:11]
  27 +#define kFontUserMsg [UIFont fontOfSCWithSize:13]
28 28
29 29
30 @interface YH_BarrageMsgCell() 30 @interface YH_BarrageMsgCell()
@@ -140,7 +140,7 @@ @@ -140,7 +140,7 @@
140 { 140 {
141 if (_bgview == nil) { 141 if (_bgview == nil) {
142 _bgview = [[UIView alloc]initWithFrame:CGRectZero]; 142 _bgview = [[UIView alloc]initWithFrame:CGRectZero];
143 - [_bgview setBackgroundColor:[UIColor colorWithRed:0 green:0 blue:0 alpha:0.7]]; 143 + [_bgview setBackgroundColor:[UIColor colorWithRed:0 green:0 blue:0 alpha:0.4]];
144 [_bgview.layer setCornerRadius:6.0f]; 144 [_bgview.layer setCornerRadius:6.0f];
145 145
146 } 146 }
@@ -164,7 +164,7 @@ @@ -164,7 +164,7 @@
164 { 164 {
165 if (_nameLabel == nil) { 165 if (_nameLabel == nil) {
166 _nameLabel = [[UILabel alloc]init]; 166 _nameLabel = [[UILabel alloc]init];
167 - [_nameLabel setTextColor:[UIColor whiteColor]]; 167 + [_nameLabel setTextColor:[UIColor colorWithHexString:@"#B0B0B0"]];
168 [_nameLabel setTextAlignment:NSTextAlignmentLeft]; 168 [_nameLabel setTextAlignment:NSTextAlignmentLeft];
169 [_nameLabel setFont:kFontUserName]; 169 [_nameLabel setFont:kFontUserName];
170 [_nameLabel setBackgroundColor:[UIColor clearColor]]; 170 [_nameLabel setBackgroundColor:[UIColor clearColor]];