diff --git a/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/Contents.json b/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/Contents.json index 4452983e..761c271b 100644 --- a/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/Contents.json +++ b/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/Contents.json @@ -9,7 +9,7 @@ "scale" : "2x" }, { - "filename" : "图层 18 拷贝@3x.png", + "filename" : "组 1@3x.png", "idiom" : "universal", "scale" : "3x" } diff --git a/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/图层 18 拷贝@3x.png b/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/图层 18 拷贝@3x.png deleted file mode 100644 index 1605741f..00000000 Binary files a/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/图层 18 拷贝@3x.png and /dev/null differ diff --git a/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/组 1@3x.png b/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/组 1@3x.png new file mode 100644 index 00000000..3b71d72b Binary files /dev/null and b/YuMi/Assets.xcassets/1.0.17/room_boom_progress_bar_bg.imageset/组 1@3x.png differ diff --git a/YuMi/Modules/YMRoom/Features/Boom/BoomInfoViewController.m b/YuMi/Modules/YMRoom/Features/Boom/BoomInfoViewController.m index 1bb22d71..b17b3031 100644 --- a/YuMi/Modules/YMRoom/Features/Boom/BoomInfoViewController.m +++ b/YuMi/Modules/YMRoom/Features/Boom/BoomInfoViewController.m @@ -1144,22 +1144,22 @@ - (UILabel *)ratioLabel { if (!_ratioLabel) { - _ratioLabel = [UILabel labelInitWithText:@"0/0" font:kFontMedium(14) textColor:[UIColor blackColor]]; + _ratioLabel = [UILabel labelInitWithText:@"0/0" font:kFontMedium(12) textColor:UIColorFromRGB(0x292601)]; _ratioLabel.textAlignment = NSTextAlignmentCenter; _ratioLabel.transform = CGAffineTransformMakeRotation(M_PI_2); // 顺时针旋转90度 - // 添加发光效果 - _ratioLabel.layer.shadowColor = [UIColor whiteColor].CGColor; - _ratioLabel.layer.shadowOffset = CGSizeZero; - _ratioLabel.layer.shadowRadius = 3.0; - _ratioLabel.layer.shadowOpacity = 0.8; - _ratioLabel.layer.masksToBounds = NO; - - // 添加文字描边效果 - NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:@"0/0"]; - [attributedString addAttribute:NSStrokeColorAttributeName value:[UIColor whiteColor] range:NSMakeRange(0, attributedString.length)]; - [attributedString addAttribute:NSStrokeWidthAttributeName value:@(-2.0) range:NSMakeRange(0, attributedString.length)]; - _ratioLabel.attributedText = attributedString; +// // 添加发光效果 +// _ratioLabel.layer.shadowColor = [UIColor whiteColor].CGColor; +// _ratioLabel.layer.shadowOffset = CGSizeZero; +// _ratioLabel.layer.shadowRadius = 3.0; +// _ratioLabel.layer.shadowOpacity = 0.8; +// _ratioLabel.layer.masksToBounds = NO; +// +// // 添加文字描边效果 +// NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:@"0/0"]; +// [attributedString addAttribute:NSStrokeColorAttributeName value:[UIColor whiteColor] range:NSMakeRange(0, attributedString.length)]; +// [attributedString addAttribute:NSStrokeWidthAttributeName value:@(-2.0) range:NSMakeRange(0, attributedString.length)]; +// _ratioLabel.attributedText = attributedString; } return _ratioLabel; }