...
|
...
|
@@ -23,8 +23,8 @@ |
|
|
#define kUserAvatarWidth 35
|
|
|
#define kUserNameLableMaxWidth (150 * kScreenPointScale)
|
|
|
|
|
|
#define kFontUserName [UIFont systemFontOfSize:11]
|
|
|
#define kFontUserMsg [UIFont systemFontOfSize:13]
|
|
|
#define kFontUserName [UIFont fontOfLightWithSize:11]
|
|
|
#define kFontUserMsg [UIFont fontOfSCWithSize:13]
|
|
|
|
|
|
|
|
|
@interface YH_BarrageMsgCell()
|
...
|
...
|
@@ -140,7 +140,7 @@ |
|
|
{
|
|
|
if (_bgview == nil) {
|
|
|
_bgview = [[UIView alloc]initWithFrame:CGRectZero];
|
|
|
[_bgview setBackgroundColor:[UIColor colorWithRed:0 green:0 blue:0 alpha:0.7]];
|
|
|
[_bgview setBackgroundColor:[UIColor colorWithRed:0 green:0 blue:0 alpha:0.4]];
|
|
|
[_bgview.layer setCornerRadius:6.0f];
|
|
|
|
|
|
}
|
...
|
...
|
@@ -164,7 +164,7 @@ |
|
|
{
|
|
|
if (_nameLabel == nil) {
|
|
|
_nameLabel = [[UILabel alloc]init];
|
|
|
[_nameLabel setTextColor:[UIColor whiteColor]];
|
|
|
[_nameLabel setTextColor:[UIColor colorWithHexString:@"#B0B0B0"]];
|
|
|
[_nameLabel setTextAlignment:NSTextAlignmentLeft];
|
|
|
[_nameLabel setFont:kFontUserName];
|
|
|
[_nameLabel setBackgroundColor:[UIColor clearColor]];
|
...
|
...
|
|