大鹅UI改版送礼物横幅文字的颜色

This commit is contained in:
fengshuo
2021-12-25 18:59:06 +08:00
parent db7e29a590
commit b266e9a970
7 changed files with 28 additions and 8 deletions

View File

@@ -15,10 +15,12 @@ NS_ASSUME_NONNULL_BEGIN
@interface ThemeColor : NSObject
/// 主题色0xFFBC52
+ (UIColor *)appMainColor;
///强调色 #248CFE
+ (UIColor *)appEmphasizeColor;
///强调色1 0xBF36FF
+ (UIColor *)appEmphasizeColor1;
///强调色2 0xFB486A
+ (UIColor *)appEmphasizeColor2;
/* ------页面相关颜色 START------ */
/// view的背景色 0xF4F4FA
+ (UIColor *)appBackgroundColor;

View File

@@ -18,6 +18,16 @@
return UIColorFromRGB(0x248CFE);
}
///1 0xBF36FF
+ (UIColor *)appEmphasizeColor1 {
return UIColorFromRGB(0xBF36FF);
}
///2 0xFB486A
+ (UIColor *)appEmphasizeColor2 {
return UIColorFromRGB(0xFB486A);
}
/* ------ START------ */
/// view 0xF4F4FA
+ (UIColor *)appBackgroundColor {

View File

@@ -120,7 +120,7 @@
_coinLabel = [[UILabel alloc] init];
_coinLabel.text = @"我的钻石";
_coinLabel.font = [UIFont systemFontOfSize:13];
_coinLabel.textColor = [ThemeColor mainTextColor];
_coinLabel.textColor = [UIColor whiteColor];
}
return _coinLabel;
}

View File

@@ -59,7 +59,7 @@
- (UIButton *)backButton {
if (!_backButton) {
_backButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_backButton setImage:[UIImage imageNamed:@"common_nav_back"] forState:UIControlStateNormal];
[_backButton setImage:[UIImage imageNamed:@"home_search_white_back"] forState:UIControlStateNormal];
_backButton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
[_backButton addTarget:self action:@selector(backButtonAction:) forControlEvents:UIControlEventTouchUpInside];
[_backButton setEnlargeEdgeWithTop:10 right:10 bottom:10 left:10];
@@ -74,7 +74,7 @@
_titleLabel.textAlignment = NSTextAlignmentCenter;
_titleLabel.font = [UIFont systemFontOfSize:15];
_titleLabel.text = @"账户";
_titleLabel.textColor = [ThemeColor mainTextColor];
_titleLabel.textColor = [UIColor whiteColor];
}
return _titleLabel;
}

View File

@@ -78,7 +78,7 @@
if (!_nickLabel) {
_nickLabel = [[UILabel alloc] init];
_nickLabel.font = [UIFont systemFontOfSize:12];
_nickLabel.textColor = [ThemeColor mainTextColor];
_nickLabel.textColor = [UIColor whiteColor];
_nickLabel.textAlignment = NSTextAlignmentCenter;
}
return _nickLabel;
@@ -326,7 +326,7 @@
_sendLabel = [[UILabel alloc] init];
_sendLabel.text = @"赠送";
_sendLabel.font = [UIFont systemFontOfSize:12];
_sendLabel.textColor = [ThemeColor mainTextColor];
_sendLabel.textColor = [UIColor whiteColor];
}
return _sendLabel;
}
@@ -344,7 +344,7 @@
if (!_giftCountLabel) {
_giftCountLabel = [[UILabel alloc] init];
_giftCountLabel.font = [UIFont systemFontOfSize:20.f weight:UIFontWeightBold];
_giftCountLabel.textColor = [ThemeColor mainTextColor];
_giftCountLabel.textColor = [ThemeColor animationGiftNumberColor];
}
return _giftCountLabel;
}

View File

@@ -49,6 +49,9 @@ NS_ASSUME_NONNULL_BEGIN
+ (UIColor *)candyTreeNickColor;
/// 糖果树的分割线颜色
+ (UIColor *)candyTreeDividerColor;
///动画礼物个数的颜色 0xFFF226
+ (UIColor *)animationGiftNumberColor;
@end
NS_ASSUME_NONNULL_END

View File

@@ -91,4 +91,9 @@
+ (UIColor *)candyTreeNickColor {
return UIColorFromRGB(0x333333);
}
/// 0xFFF226
+ (UIColor *)animationGiftNumberColor {
return UIColorFromRGB(0xFFF226);
}
@end