换肤
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user