Compare commits
1 Commits
1.0.31
...
feature/1.
Author | SHA1 | Date | |
---|---|---|---|
![]() |
abe6d19aaa |
@@ -12856,7 +12856,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 20.20.26;
|
||||
MARKETING_VERSION = 20.20.27;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
@@ -12898,7 +12898,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 20.20.26;
|
||||
MARKETING_VERSION = 20.20.27;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
|
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "login_agree@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "login_agree@3x.png",
|
||||
"filename" : "组 546@3x-2.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 656 B |
BIN
YuMi/Assets.xcassets/Login/login_agree.imageset/组 546@3x-2.png
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "login_disagree@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "login_disagree@3x.png",
|
||||
"filename" : "组 546@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 461 B |
BIN
YuMi/Assets.xcassets/Login/login_disagree.imageset/组 546@3x.png
vendored
Normal file
After Width: | Height: | Size: 2.4 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "ms_login_choose_phone_icon@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "ms_login_choose_phone_icon@3x.png",
|
||||
"filename" : "路径 6@2x@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 914 B |
Before Width: | Height: | Size: 1.6 KiB |
BIN
YuMi/Assets.xcassets/Login/ms_login_choose_phone_icon.imageset/路径 6@2x@3x.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "ms_hoem_index_icon@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "ms_hoem_index_icon@3x.png",
|
||||
"filename" : "pi_app_logo_new_bg.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
BIN
YuMi/Assets.xcassets/Login_top_bg.imageset/pi_app_logo_new_bg.png
vendored
Normal file
After Width: | Height: | Size: 49 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "home_nav_search@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "home_nav_search@3x.png",
|
||||
"filename" : "搜索2@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 869 B |
Before Width: | Height: | Size: 1.9 KiB |
BIN
YuMi/Assets.xcassets/low/navigation/home_nav_search.imageset/搜索2@3x.png
vendored
Normal file
After Width: | Height: | Size: 2.5 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "home_top_bg@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "home_top_bg@3x.png",
|
||||
"filename" : "矩形 6@3x-2.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 103 KiB |
BIN
YuMi/Assets.xcassets/low/newhome/home_top_bg.imageset/矩形 6@3x-2.png
vendored
Normal file
After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 914 B |
Before Width: | Height: | Size: 1.6 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "home_top_tab_marks@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "home_top_tab_marks@3x.png",
|
||||
"filename" : "矩形 1979@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 224 B |
BIN
YuMi/Assets.xcassets/main/home_top_tab_marks.imageset/矩形 1979@3x.png
vendored
Normal file
After Width: | Height: | Size: 465 B |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "ms_tabbar_vc_main_bg@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "ms_tabbar_vc_main_bg@3x.png",
|
||||
"filename" : "矩形 6@3x-3-2.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 92 KiB |
BIN
YuMi/Assets.xcassets/main/ms_tabbar_vc_main_bg.imageset/矩形 6@3x-3-2.png
vendored
Normal file
After Width: | Height: | Size: 29 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_gameHome_game_normal@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_gameHome_game_normal@3x.png",
|
||||
"filename" : "游戏@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 956 B |
Before Width: | Height: | Size: 2.3 KiB |
BIN
YuMi/Assets.xcassets/main/tab_gameHome_game_normal.imageset/游戏@3x.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_gameHome_game_selected@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_gameHome_game_selected@3x.png",
|
||||
"filename" : "游戏@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 4.0 KiB |
BIN
YuMi/Assets.xcassets/main/tab_gameHome_game_selected.imageset/游戏@3x.png
vendored
Normal file
After Width: | Height: | Size: 3.9 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_gameHome_normal@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_gameHome_normal@3x.png",
|
||||
"filename" : "论坛@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 783 B |
Before Width: | Height: | Size: 1.2 KiB |
BIN
YuMi/Assets.xcassets/main/tab_gameHome_normal.imageset/论坛@3x.png
vendored
Normal file
After Width: | Height: | Size: 1.3 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_gameHome_selected@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_gameHome_selected@3x.png",
|
||||
"filename" : "论坛@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.6 KiB |
BIN
YuMi/Assets.xcassets/main/tab_gameHome_selected.imageset/论坛@3x.png
vendored
Normal file
After Width: | Height: | Size: 3.5 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_message_normal@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_message_normal@3x.png",
|
||||
"filename" : "消息@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 1.2 KiB |
BIN
YuMi/Assets.xcassets/main/tab_message_normal.imageset/消息@3x.png
vendored
Normal file
After Width: | Height: | Size: 1.1 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_message_selected@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_message_selected@3x.png",
|
||||
"filename" : "消息@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.5 KiB |
BIN
YuMi/Assets.xcassets/main/tab_message_selected.imageset/消息@3x.png
vendored
Normal file
After Width: | Height: | Size: 3.4 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_mine_normal@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_mine_normal@3x.png",
|
||||
"filename" : "我的@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 773 B |
Before Width: | Height: | Size: 1.3 KiB |
BIN
YuMi/Assets.xcassets/main/tab_mine_normal.imageset/我的@3x.png
vendored
Normal file
After Width: | Height: | Size: 1.1 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_mine_selected@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_mine_selected@3x.png",
|
||||
"filename" : "我的@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.8 KiB |
BIN
YuMi/Assets.xcassets/main/tab_mine_selected.imageset/我的@3x.png
vendored
Normal file
After Width: | Height: | Size: 3.6 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_monents_normal@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_monents_normal@3x.png",
|
||||
"filename" : "论坛@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 752 B |
Before Width: | Height: | Size: 1.2 KiB |
BIN
YuMi/Assets.xcassets/main/tab_monents_normal.imageset/论坛@3x.png
vendored
Normal file
After Width: | Height: | Size: 5.3 KiB |
@@ -5,12 +5,11 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_monents_select@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "tab_monents_select@3x.png",
|
||||
"filename" : "论坛@3x-2.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 3.2 KiB |
BIN
YuMi/Assets.xcassets/main/tab_monents_select.imageset/论坛@3x-2.png
vendored
Normal file
After Width: | Height: | Size: 11 KiB |
@@ -49,7 +49,7 @@ isPhoneXSeries = [[UIApplication sharedApplication] delegate].window.safeAreaIns
|
||||
|
||||
|
||||
///内置版本号
|
||||
#define PI_App_Version @"1.0.12"
|
||||
#define PI_App_Version @"1.0.13"
|
||||
///渠道
|
||||
#define PI_App_Source @"appstore"
|
||||
#define PI_Test_Flight @"TestFlight"
|
||||
|
@@ -95,6 +95,8 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
///类型,0,密码,1.手机
|
||||
@property(nonatomic,assign) int loginType;
|
||||
|
||||
@property (nonatomic, strong) UIButton *feedBackButton;
|
||||
|
||||
@end
|
||||
|
||||
@implementation XPLoginViewController
|
||||
@@ -157,7 +159,8 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
self.view.backgroundColor = [UIColor whiteColor];
|
||||
[self.view addSubview:self.bgImageView];
|
||||
[self.view addSubview:self.logoView];
|
||||
|
||||
[self.view addSubview:self.feedBackButton];
|
||||
|
||||
[self.view addSubview:self.chooseAccountBtn];
|
||||
[self.view addSubview:self.chooseSMSBtn];
|
||||
[self.view addSubview:self.chooseTypeView];
|
||||
@@ -218,7 +221,8 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
|
||||
[self.chooseTypeView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.top.equalTo(self.logoView.mas_bottom).mas_offset(kGetScaleWidth(48));
|
||||
make.width.height.mas_equalTo(kGetScaleWidth(24));
|
||||
make.width.mas_equalTo(kGetScaleWidth(24));
|
||||
make.height.mas_equalTo(kGetScaleWidth(14));
|
||||
make.leading.mas_equalTo(KScreenWidth/4 - kGetScaleWidth(12));
|
||||
}];
|
||||
|
||||
@@ -352,7 +356,12 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
// make.edges.equalTo(self.nextView);
|
||||
// }];
|
||||
}
|
||||
|
||||
|
||||
[self.feedBackButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.trailing.mas_equalTo(-15);
|
||||
make.top.mas_equalTo(kStatusBarHeight+20);
|
||||
}];
|
||||
|
||||
}
|
||||
-(void)setSwitchingEnvironmentVC{
|
||||
UIButton *but = [UIButton new];
|
||||
@@ -361,10 +370,9 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
[self.view addSubview:but];
|
||||
[but addTarget:self action:@selector(switchingEnvironmentVCAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
[but mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.trailing.mas_equalTo(-kGetScaleWidth(30));
|
||||
make.leading.mas_equalTo(kGetScaleWidth(30));
|
||||
make.top.mas_equalTo(kStatusBarHeight+20);
|
||||
}];
|
||||
|
||||
}
|
||||
-(void)switchingEnvironmentVCAction{
|
||||
#ifdef DEBUG
|
||||
@@ -482,6 +490,10 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
[self.navigationController pushViewController:forgetVC animated:YES];
|
||||
}
|
||||
|
||||
- (void)didTapFeedback {
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - LoginProtocol
|
||||
- (void)loginThirdPartSuccess {
|
||||
[self.codeInputView cancelTimer];
|
||||
@@ -503,8 +515,7 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
_chooseAccountBtn.selected = _loginType == 0;
|
||||
_chooseSMSBtn.selected = _loginType != 0;
|
||||
_forgetBtn.hidden = _loginType != 0;
|
||||
|
||||
|
||||
|
||||
_accountView.hidden = _loginType != 0;
|
||||
_accountPwdView.hidden = _loginType != 0;
|
||||
|
||||
@@ -740,7 +751,7 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
- (UIImageView *)bgImageView{
|
||||
if(!_bgImageView){
|
||||
_bgImageView = [[UIImageView alloc]init];
|
||||
_bgImageView.image = kImage(@"pi_app_login_new_bg");
|
||||
_bgImageView.image = kImage(@"Login_top_bg");
|
||||
_bgImageView.contentMode = UIViewContentModeScaleAspectFill;
|
||||
}
|
||||
return _bgImageView;
|
||||
@@ -799,9 +810,9 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
if (!_loginBtn) {
|
||||
_loginBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
|
||||
UIImage *nextImage = [UIImage gradientColorImageFromColors:@[[DJDKMIMOMColor confirmButtonGradientStartColor],[DJDKMIMOMColor confirmButtonGradientMiddleColor],[DJDKMIMOMColor confirmButtonGradientEndColor]] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(kGetScaleWidth(303), kGetScaleWidth(48))];
|
||||
UIImage *disableImage = [UIImage gradientColorImageFromColors:@[UIColorFromRGB(0xD1F9FF),UIColorFromRGB(0xDEE4FF),UIColorFromRGB(0xEEDCFF)] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(kGetScaleWidth(303), kGetScaleWidth(48))];
|
||||
|
||||
UIImage *nextImage = [UIImage gradientColorImageFromColors:@[UIColorFromRGB(0x57e193), UIColorFromRGB(0x14d2a6)] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(kGetScaleWidth(303), kGetScaleWidth(48))];
|
||||
UIImage *disableImage = [UIImage gradientColorImageFromColors:@[UIColorFromRGB(0xa5eec8), UIColorFromRGB(0xabf5e3)] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(kGetScaleWidth(303), kGetScaleWidth(48))];
|
||||
|
||||
[_loginBtn setImage:nextImage forState:UIControlStateNormal];
|
||||
[_loginBtn setImage:disableImage forState:UIControlStateDisabled];
|
||||
_loginBtn.layer.cornerRadius = kGetScaleWidth(48)/2;
|
||||
@@ -825,9 +836,8 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
if(!_chooseTypeView){
|
||||
_chooseTypeView = [UIImageView new];
|
||||
_chooseTypeView.userInteractionEnabled = YES;
|
||||
_chooseTypeView.contentMode = UIViewContentModeScaleAspectFit;
|
||||
[_chooseTypeView setImage:kImage(@"ms_login_choose_phone_icon")];
|
||||
|
||||
|
||||
}
|
||||
return _chooseTypeView;
|
||||
}
|
||||
@@ -892,4 +902,17 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
return _forgetBtn;
|
||||
}
|
||||
|
||||
- (UIButton *)feedBackButton {
|
||||
if (!_feedBackButton) {
|
||||
_feedBackButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
[_feedBackButton setTitle:@"反馈" forState:UIControlStateNormal];
|
||||
[_feedBackButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
|
||||
_feedBackButton.titleLabel.font = [UIFont systemFontOfSize:14 weight:UIFontWeightBold];
|
||||
[_feedBackButton addTarget:self
|
||||
action:@selector(didTapFeedback)
|
||||
forControlEvents:UIControlEventTouchUpInside];
|
||||
}
|
||||
return _feedBackButton;
|
||||
}
|
||||
|
||||
@end
|
||||
|
@@ -215,11 +215,12 @@
|
||||
_titleView.listContainer = (id<JXCategoryViewListContainer>)self.pagingView.listContainerView;
|
||||
|
||||
JXCategoryIndicatorImageView *lineView = [[JXCategoryIndicatorImageView alloc] init];
|
||||
lineView.indicatorImageViewSize = CGSizeMake(45, 10);
|
||||
lineView.verticalMargin = 10;
|
||||
lineView.indicatorImageViewSize = CGSizeMake(24, 7);
|
||||
// lineView.verticalMargin = 10;
|
||||
lineView.indicatorImageView.layer.masksToBounds = YES;
|
||||
lineView.indicatorImageView.layer.cornerRadius = 3;
|
||||
lineView.indicatorImageView.image = [UIImage imageNamed:@"mine_dynamic"];
|
||||
lineView.indicatorImageView.image = [UIImage imageNamed:@"ms_login_choose_phone_icon"];
|
||||
lineView.contentMode = UIViewContentModeScaleAspectFit;
|
||||
_titleView.indicators = @[lineView];
|
||||
}
|
||||
return _titleView;
|
||||
@@ -242,7 +243,7 @@
|
||||
-(UIImageView *)headBgImageView{
|
||||
if (!_headBgImageView){
|
||||
_headBgImageView = [UIImageView new];
|
||||
_headBgImageView.image = [UIImage imageNamed:@"ms_tabbar_vc_main_bg"];
|
||||
_headBgImageView.image = [UIImage imageNamed:@"home_top_bg"];
|
||||
}
|
||||
return _headBgImageView;
|
||||
}
|
||||
|
@@ -181,8 +181,6 @@ UIKIT_EXTERN NSString *kRequestRicket;
|
||||
setItem.skipType = XPMineItemType_My_Set;
|
||||
[self.functionArray addObject:setItem];
|
||||
|
||||
|
||||
|
||||
[self.view addSubview:self.bgImageView];
|
||||
[self.view addSubview:self.tableView];
|
||||
// [self.view addSubview:self.settingButton];
|
||||
@@ -785,7 +783,7 @@ UIKIT_EXTERN NSString *kRequestRicket;
|
||||
|
||||
- (UIView *)bgImageView {
|
||||
if (!_bgImageView) {
|
||||
_bgImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ms_tabbar_vc_main_bg"]];
|
||||
_bgImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Login_top_bg"]];
|
||||
_bgImageView.contentMode = UIViewContentModeScaleAspectFill;
|
||||
}
|
||||
return _bgImageView;
|
||||
|
@@ -43,7 +43,6 @@
|
||||
self.view.backgroundColor = [DJDKMIMOMColor colorWithHexString:@"#F3F5FA"];
|
||||
|
||||
[self setupTopTheme];
|
||||
|
||||
[self setupTopControl];
|
||||
|
||||
_pageContainer = [[UIPageViewController alloc] initWithTransitionStyle:UIPageViewControllerTransitionStyleScroll
|
||||
@@ -137,11 +136,12 @@
|
||||
}];
|
||||
|
||||
_tabMarks = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"home_top_tab_marks"]];
|
||||
_tabMarks.contentMode = UIViewContentModeScaleAspectFill;
|
||||
[_topControlView addSubview:_tabMarks];
|
||||
[_tabMarks mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.mas_equalTo(self.topControlView).offset(-8);
|
||||
make.width.mas_equalTo(10);
|
||||
make.height.mas_equalTo(2.5);
|
||||
make.width.mas_equalTo(14);
|
||||
make.height.mas_equalTo(4);
|
||||
make.centerX.mas_equalTo(self.recommendButton.mas_centerX);
|
||||
}];
|
||||
}
|
||||
@@ -149,14 +149,14 @@
|
||||
- (void)displayMineTab {
|
||||
[_mineButton.titleLabel setFont:kFontBold(21)];
|
||||
[_recommendButton.titleLabel setFont:kFontBold(18)];
|
||||
[_mineButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
|
||||
[_recommendButton setTitleColor:[UIColor colorWithWhite:1 alpha:0.6] forState:UIControlStateNormal];
|
||||
[_mineButton setTitleColor:UIColorRGBAlpha(0x0c1d18, 1) forState:UIControlStateNormal];
|
||||
[_recommendButton setTitleColor:UIColorRGBAlpha(0x0c1d18, 0.6) forState:UIControlStateNormal];
|
||||
|
||||
// [UIView animateWithDuration:0.25 animations:^{
|
||||
[self.tabMarks mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.mas_equalTo(self.topControlView).offset(-8);
|
||||
make.width.mas_equalTo(10);
|
||||
make.height.mas_equalTo(2.5);
|
||||
make.width.mas_equalTo(14);
|
||||
make.height.mas_equalTo(4);
|
||||
make.centerX.mas_equalTo(self.mineButton.mas_centerX);
|
||||
}];
|
||||
// [self.view setNeedsLayout];
|
||||
@@ -166,14 +166,14 @@
|
||||
- (void)displayRecommendTab {
|
||||
[_mineButton.titleLabel setFont:kFontBold(18)];
|
||||
[_recommendButton.titleLabel setFont:kFontBold(21)];
|
||||
[_recommendButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
|
||||
[_mineButton setTitleColor:[UIColor colorWithWhite:1 alpha:0.6] forState:UIControlStateNormal];
|
||||
[_recommendButton setTitleColor:UIColorRGBAlpha(0x0c1d18, 1) forState:UIControlStateNormal];
|
||||
[_mineButton setTitleColor:UIColorRGBAlpha(0x0c1d18, 0.6) forState:UIControlStateNormal];
|
||||
|
||||
// [UIView animateWithDuration:0.25 animations:^{
|
||||
[self.tabMarks mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.mas_equalTo(self.topControlView).offset(-8);
|
||||
make.width.mas_equalTo(10);
|
||||
make.height.mas_equalTo(2.5);
|
||||
make.width.mas_equalTo(14);
|
||||
make.height.mas_equalTo(4);
|
||||
make.centerX.mas_equalTo(self.recommendButton.mas_centerX);
|
||||
}];
|
||||
// [self.view setNeedsLayout];
|
||||
|
@@ -519,7 +519,7 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
|
||||
_titleView.listContainer = (id<JXCategoryViewListContainer>)self.pagingView.listContainerView;
|
||||
|
||||
JXCategoryIndicatorImageView * indicator = [[JXCategoryIndicatorImageView alloc] init];
|
||||
indicator.indicatorImageView.image = [UIImage imageNamed:@"ms_hoem_index_icon"];
|
||||
indicator.indicatorImageView.image = kImage(@"ms_login_choose_phone_icon");
|
||||
indicator.indicatorImageViewSize = CGSizeMake(kGetScaleWidth(24), kGetScaleWidth(24));
|
||||
indicator.verticalMargin = -kGetScaleWidth(4);
|
||||
indicator.contentMode = UIViewContentModeScaleAspectFit;
|
||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 7.2 KiB |