This commit is contained in:
启星
2025-08-15 18:39:24 +08:00
parent e33abc7e33
commit 4b577a31f0
449 changed files with 520 additions and 1457 deletions

View File

@@ -119,8 +119,8 @@
}];
[attr yy_setFont:[UIFont systemFontOfSize:12] range:NSMakeRange(0, str.length)];
[attr yy_setColor:RGB16(0x333333) range:NSMakeRange(0, str.length)];
[attr yy_setColor:RGB16(0xFF8ACC) range:[str rangeOfString:QXText(@"《用户使用协议》")]];
[attr yy_setColor:RGB16(0xFF8ACC) range:[str rangeOfString:QXText(@"《隐私政策》")]];
[attr yy_setColor:QXConfig.themeColor range:[str rangeOfString:QXText(@"《用户使用协议》")]];
[attr yy_setColor:QXConfig.themeColor range:[str rangeOfString:QXText(@"《隐私政策》")]];
_textLabel = [[YYLabel alloc] initWithFrame:CGRectMake(self.agreeBtn.right, 0, self.width-80-25, self.height)];
_textLabel.attributedText = attr;
_textLabel.userInteractionEnabled = YES;

View File

@@ -55,7 +55,7 @@
self.codeBtn = [[UIButton alloc] init];
self.codeBtn.needEventInterval = 0.5;
[self.codeBtn setTitle:QXText(@"获取验证码") forState:(UIControlStateNormal)];
[self.codeBtn setTitleColor:RGB16(0xFF8ACC) forState:(UIControlStateNormal)];
[self.codeBtn setTitleColor:QXConfig.themeColor forState:(UIControlStateNormal)];
self.codeBtn.titleLabel.font = [UIFont systemFontOfSize:16];
[self.codeBtn addTarget:self action:@selector(codeAction:) forControlEvents:(UIControlEventTouchUpInside)];
self.codeBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentTrailing;