修改一键登录页UI

This commit is contained in:
chenshuanglin
2023-03-22 10:08:03 +08:00
parent c77e6eea35
commit 8d3098d763
4 changed files with 7 additions and 7 deletions

View File

@@ -334,7 +334,7 @@ typedef NS_ENUM(NSUInteger, XYLoginType) {
CMModel.logBtnOriginRight = 52;
CMModel.logBtnUsableBGColor = [ThemeColor appMainColor];
CMModel.logBtnText = @"本机号码一键登录";
CMModel.logBtnTextColor = UIColor.whiteColor;
CMModel.logBtnTextColor = [ThemeColor mainTextColor];
CMModel.logBtnTextFont = [UIFont systemFontOfSize:18 weight:UIFontWeightMedium];
CMModel.numberOffsetTopY = 170;
@@ -351,10 +351,10 @@ typedef NS_ENUM(NSUInteger, XYLoginType) {
CMModel.privacyState = YES;
}
CMModel.privacyColor = [ThemeColor mainTextColor];
CMModel.appPrivacyText = @"同意《默认》,并授权魔力获取本机号码。";
CMModel.privacyColor = [ThemeColor secondTextColor];
CMModel.appPrivacyText = [NSString stringWithFormat:@"同意《默认》,并授权%@获取本机号码。",AppName];
CMModel.privacyFont = [UIFont systemFontOfSize:12];
CMModel.protocolColor = [ThemeColor appMainColor];
CMModel.protocolColor = [ThemeColor mainTextColor];
CMModel.appPrivacyOriginBottomMargin = 30;
CMModel.backActionBlock = ^{ //

View File

@@ -30,7 +30,7 @@
@property (nonatomic,strong) NetImageView *avatarImageView;
///
@property (nonatomic,strong) UILabel *clanNameLabel;
///id
///id
@property (nonatomic,strong) UILabel *daeIdLabel;
///
@property (nonatomic,strong) UILabel *roomNumberLabel;

View File

@@ -121,7 +121,7 @@
self.discountLabel.hidden = YES;
self.experienceButton.hidden = YES;
self.openStackView.hidden = NO;
NSString *title = [NSString stringWithFormat:@"%.0f立刻成为魔力贵族", _info.money];
NSString *title = [NSString stringWithFormat:@"%.0f立刻成为%@贵族", _info.money, AppName];
self.coinLabe.text = title;
_backImagView.image = [UIImage imageNamed:@"noble_open_btn_bg"];
}

View File

@@ -232,7 +232,7 @@
nick = [nick substringToIndex:6];
}
[self.nickButton setTitle:nick forState:UIControlStateNormal];
self.greetLabel.text = _greetInfo.sayHelloMsg.length > 0 ? _greetInfo.sayHelloMsg : @"欢迎来到魔力Ta已经等待你很久啦快来一起玩吧~";
self.greetLabel.text = _greetInfo.sayHelloMsg.length > 0 ? _greetInfo.sayHelloMsg : [NSString stringWithFormat:@"欢迎来到%@Ta已经等待你很久啦快来一起玩吧~",AppName];
self.genderImageView.image = greetInfo.gender == 1 ? [UIImage imageNamed:@"common_male"] : [UIImage imageNamed:@"common_female"];
if (greetInfo.voiceCard.propVals.count) {
self.voiceShowBgImage.hidden = NO;