feat: 更新 EPLoginTypesViewController 和 EPLoginInputView 以增强布局和用户体验

主要变更:
1. 在 EPLoginTypesViewController 中添加了对多个 UI 组件的约束设置,确保布局更加灵活。
2. 更新了标题标签的文本内容,使用本地化字符串替代硬编码文本,提升国际化支持。
3. 在 EPLoginInputView 中为多个组件添加了自动布局支持,确保在不同屏幕尺寸下的适配性。

此更新旨在提升用户界面的可用性和美观性,确保更好的用户体验。
This commit is contained in:
edwinQQQ
2025-10-14 17:46:37 +08:00
parent 9466b65b40
commit de8627a230
8 changed files with 89 additions and 28 deletions

View File

@@ -79,7 +79,7 @@
make.top.mas_equalTo(self.view);
make.leading.mas_equalTo(self.view);
make.trailing.mas_equalTo(self.view);
make.height.mas_equalTo(kGetScaleWidth(320));
make.height.mas_equalTo(kGetScaleWidth(260));
}];
//
@@ -100,7 +100,6 @@
self.momentListView = [[EPMomentListView alloc] initWithFrame:CGRectZero];
[self.view addSubview:self.momentListView];
// 使 Masonry
[self.momentListView mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(self.headerView.mas_bottom);
make.bottom.mas_equalTo(self.view);
@@ -118,10 +117,10 @@
return;
}
__weak typeof(self) weakSelf = self;
[self.apiHelper getUserDetailInfoWithUid:uid
@kWeakify(self);
[self.apiHelper getUserDetailInfoWithUid:uid
completion:^(UserInfoModel * _Nullable userInfo) {
__strong typeof(weakSelf) self = weakSelf;
@kStrongify(self);
if (!userInfo) {
NSLog(@"[EPMineViewController] 加载用户信息失败");
return;