Compare commits

...

1 Commits

Author SHA1 Message Date
eggmanQQQ
abe6d19aaa #1249
更换新主题色物料
2024-07-02 18:54:42 +08:00
81 changed files with 75 additions and 71 deletions

View File

@@ -12856,7 +12856,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
MARKETING_VERSION = 20.20.26; MARKETING_VERSION = 20.20.27;
PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios; PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
@@ -12898,7 +12898,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
MARKETING_VERSION = 20.20.26; MARKETING_VERSION = 20.20.27;
PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios; PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "login_agree@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "login_agree@3x.png", "filename" : "组 546@3x-2.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "login_disagree@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "login_disagree@3x.png", "filename" : "组 546@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "ms_login_choose_phone_icon@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "ms_login_choose_phone_icon@3x.png", "filename" : "路径 6@2x@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "ms_hoem_index_icon@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "ms_hoem_index_icon@3x.png", "filename" : "pi_app_logo_new_bg.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "home_nav_search@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "home_nav_search@3x.png", "filename" : "搜索2@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "home_top_bg@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "home_top_bg@3x.png", "filename" : "矩形 6@3x-2.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "home_top_tab_marks@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "home_top_tab_marks@3x.png", "filename" : "矩形 1979@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 B

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "ms_tabbar_vc_main_bg@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "ms_tabbar_vc_main_bg@3x.png", "filename" : "矩形 6@3x-3-2.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_gameHome_game_normal@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_gameHome_game_normal@3x.png", "filename" : "游戏@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_gameHome_game_selected@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_gameHome_game_selected@3x.png", "filename" : "游戏@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_gameHome_normal@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_gameHome_normal@3x.png", "filename" : "论坛@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_gameHome_selected@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_gameHome_selected@3x.png", "filename" : "论坛@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_message_normal@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_message_normal@3x.png", "filename" : "消息@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_message_selected@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_message_selected@3x.png", "filename" : "消息@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_mine_normal@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_mine_normal@3x.png", "filename" : "我的@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 773 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_mine_selected@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_mine_selected@3x.png", "filename" : "我的@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_monents_normal@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_monents_normal@3x.png", "filename" : "论坛@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 752 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -5,12 +5,11 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "tab_monents_select@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "tab_monents_select@3x.png", "filename" : "论坛@3x-2.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -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_App_Source @"appstore"
#define PI_Test_Flight @"TestFlight" #define PI_Test_Flight @"TestFlight"

View File

@@ -95,6 +95,8 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
///,01. ///,01.
@property(nonatomic,assign) int loginType; @property(nonatomic,assign) int loginType;
@property (nonatomic, strong) UIButton *feedBackButton;
@end @end
@implementation XPLoginViewController @implementation XPLoginViewController
@@ -157,6 +159,7 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
self.view.backgroundColor = [UIColor whiteColor]; self.view.backgroundColor = [UIColor whiteColor];
[self.view addSubview:self.bgImageView]; [self.view addSubview:self.bgImageView];
[self.view addSubview:self.logoView]; [self.view addSubview:self.logoView];
[self.view addSubview:self.feedBackButton];
[self.view addSubview:self.chooseAccountBtn]; [self.view addSubview:self.chooseAccountBtn];
[self.view addSubview:self.chooseSMSBtn]; [self.view addSubview:self.chooseSMSBtn];
@@ -218,7 +221,8 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
[self.chooseTypeView mas_makeConstraints:^(MASConstraintMaker *make) { [self.chooseTypeView mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.equalTo(self.logoView.mas_bottom).mas_offset(kGetScaleWidth(48)); 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)); make.leading.mas_equalTo(KScreenWidth/4 - kGetScaleWidth(12));
}]; }];
@@ -353,6 +357,11 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
// }]; // }];
} }
[self.feedBackButton mas_makeConstraints:^(MASConstraintMaker *make) {
make.trailing.mas_equalTo(-15);
make.top.mas_equalTo(kStatusBarHeight+20);
}];
} }
-(void)setSwitchingEnvironmentVC{ -(void)setSwitchingEnvironmentVC{
UIButton *but = [UIButton new]; UIButton *but = [UIButton new];
@@ -361,10 +370,9 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
[self.view addSubview:but]; [self.view addSubview:but];
[but addTarget:self action:@selector(switchingEnvironmentVCAction) forControlEvents:UIControlEventTouchUpInside]; [but addTarget:self action:@selector(switchingEnvironmentVCAction) forControlEvents:UIControlEventTouchUpInside];
[but mas_makeConstraints:^(MASConstraintMaker *make) { [but mas_makeConstraints:^(MASConstraintMaker *make) {
make.trailing.mas_equalTo(-kGetScaleWidth(30)); make.leading.mas_equalTo(kGetScaleWidth(30));
make.top.mas_equalTo(kStatusBarHeight+20); make.top.mas_equalTo(kStatusBarHeight+20);
}]; }];
} }
-(void)switchingEnvironmentVCAction{ -(void)switchingEnvironmentVCAction{
#ifdef DEBUG #ifdef DEBUG
@@ -482,6 +490,10 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
[self.navigationController pushViewController:forgetVC animated:YES]; [self.navigationController pushViewController:forgetVC animated:YES];
} }
- (void)didTapFeedback {
}
#pragma mark - LoginProtocol #pragma mark - LoginProtocol
- (void)loginThirdPartSuccess { - (void)loginThirdPartSuccess {
[self.codeInputView cancelTimer]; [self.codeInputView cancelTimer];
@@ -504,7 +516,6 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
_chooseSMSBtn.selected = _loginType != 0; _chooseSMSBtn.selected = _loginType != 0;
_forgetBtn.hidden = _loginType != 0; _forgetBtn.hidden = _loginType != 0;
_accountView.hidden = _loginType != 0; _accountView.hidden = _loginType != 0;
_accountPwdView.hidden = _loginType != 0; _accountPwdView.hidden = _loginType != 0;
@@ -740,7 +751,7 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
- (UIImageView *)bgImageView{ - (UIImageView *)bgImageView{
if(!_bgImageView){ if(!_bgImageView){
_bgImageView = [[UIImageView alloc]init]; _bgImageView = [[UIImageView alloc]init];
_bgImageView.image = kImage(@"pi_app_login_new_bg"); _bgImageView.image = kImage(@"Login_top_bg");
_bgImageView.contentMode = UIViewContentModeScaleAspectFill; _bgImageView.contentMode = UIViewContentModeScaleAspectFill;
} }
return _bgImageView; return _bgImageView;
@@ -799,8 +810,8 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
if (!_loginBtn) { if (!_loginBtn) {
_loginBtn = [UIButton buttonWithType:UIButtonTypeCustom]; _loginBtn = [UIButton buttonWithType:UIButtonTypeCustom];
UIImage *nextImage = [UIImage gradientColorImageFromColors:@[[DJDKMIMOMColor confirmButtonGradientStartColor],[DJDKMIMOMColor confirmButtonGradientMiddleColor],[DJDKMIMOMColor confirmButtonGradientEndColor]] 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(0xD1F9FF),UIColorFromRGB(0xDEE4FF),UIColorFromRGB(0xEEDCFF)] 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:nextImage forState:UIControlStateNormal];
[_loginBtn setImage:disableImage forState:UIControlStateDisabled]; [_loginBtn setImage:disableImage forState:UIControlStateDisabled];
@@ -825,9 +836,8 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
if(!_chooseTypeView){ if(!_chooseTypeView){
_chooseTypeView = [UIImageView new]; _chooseTypeView = [UIImageView new];
_chooseTypeView.userInteractionEnabled = YES; _chooseTypeView.userInteractionEnabled = YES;
_chooseTypeView.contentMode = UIViewContentModeScaleAspectFit;
[_chooseTypeView setImage:kImage(@"ms_login_choose_phone_icon")]; [_chooseTypeView setImage:kImage(@"ms_login_choose_phone_icon")];
} }
return _chooseTypeView; return _chooseTypeView;
} }
@@ -892,4 +902,17 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
return _forgetBtn; 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 @end

View File

@@ -215,11 +215,12 @@
_titleView.listContainer = (id<JXCategoryViewListContainer>)self.pagingView.listContainerView; _titleView.listContainer = (id<JXCategoryViewListContainer>)self.pagingView.listContainerView;
JXCategoryIndicatorImageView *lineView = [[JXCategoryIndicatorImageView alloc] init]; JXCategoryIndicatorImageView *lineView = [[JXCategoryIndicatorImageView alloc] init];
lineView.indicatorImageViewSize = CGSizeMake(45, 10); lineView.indicatorImageViewSize = CGSizeMake(24, 7);
lineView.verticalMargin = 10; // lineView.verticalMargin = 10;
lineView.indicatorImageView.layer.masksToBounds = YES; lineView.indicatorImageView.layer.masksToBounds = YES;
lineView.indicatorImageView.layer.cornerRadius = 3; 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]; _titleView.indicators = @[lineView];
} }
return _titleView; return _titleView;
@@ -242,7 +243,7 @@
-(UIImageView *)headBgImageView{ -(UIImageView *)headBgImageView{
if (!_headBgImageView){ if (!_headBgImageView){
_headBgImageView = [UIImageView new]; _headBgImageView = [UIImageView new];
_headBgImageView.image = [UIImage imageNamed:@"ms_tabbar_vc_main_bg"]; _headBgImageView.image = [UIImage imageNamed:@"home_top_bg"];
} }
return _headBgImageView; return _headBgImageView;
} }

View File

@@ -181,8 +181,6 @@ UIKIT_EXTERN NSString *kRequestRicket;
setItem.skipType = XPMineItemType_My_Set; setItem.skipType = XPMineItemType_My_Set;
[self.functionArray addObject:setItem]; [self.functionArray addObject:setItem];
[self.view addSubview:self.bgImageView]; [self.view addSubview:self.bgImageView];
[self.view addSubview:self.tableView]; [self.view addSubview:self.tableView];
// [self.view addSubview:self.settingButton]; // [self.view addSubview:self.settingButton];
@@ -785,7 +783,7 @@ UIKIT_EXTERN NSString *kRequestRicket;
- (UIView *)bgImageView { - (UIView *)bgImageView {
if (!_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; _bgImageView.contentMode = UIViewContentModeScaleAspectFill;
} }
return _bgImageView; return _bgImageView;

View File

@@ -43,7 +43,6 @@
self.view.backgroundColor = [DJDKMIMOMColor colorWithHexString:@"#F3F5FA"]; self.view.backgroundColor = [DJDKMIMOMColor colorWithHexString:@"#F3F5FA"];
[self setupTopTheme]; [self setupTopTheme];
[self setupTopControl]; [self setupTopControl];
_pageContainer = [[UIPageViewController alloc] initWithTransitionStyle:UIPageViewControllerTransitionStyleScroll _pageContainer = [[UIPageViewController alloc] initWithTransitionStyle:UIPageViewControllerTransitionStyleScroll
@@ -137,11 +136,12 @@
}]; }];
_tabMarks = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"home_top_tab_marks"]]; _tabMarks = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"home_top_tab_marks"]];
_tabMarks.contentMode = UIViewContentModeScaleAspectFill;
[_topControlView addSubview:_tabMarks]; [_topControlView addSubview:_tabMarks];
[_tabMarks mas_makeConstraints:^(MASConstraintMaker *make) { [_tabMarks mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.mas_equalTo(self.topControlView).offset(-8); make.bottom.mas_equalTo(self.topControlView).offset(-8);
make.width.mas_equalTo(10); make.width.mas_equalTo(14);
make.height.mas_equalTo(2.5); make.height.mas_equalTo(4);
make.centerX.mas_equalTo(self.recommendButton.mas_centerX); make.centerX.mas_equalTo(self.recommendButton.mas_centerX);
}]; }];
} }
@@ -149,14 +149,14 @@
- (void)displayMineTab { - (void)displayMineTab {
[_mineButton.titleLabel setFont:kFontBold(21)]; [_mineButton.titleLabel setFont:kFontBold(21)];
[_recommendButton.titleLabel setFont:kFontBold(18)]; [_recommendButton.titleLabel setFont:kFontBold(18)];
[_mineButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; [_mineButton setTitleColor:UIColorRGBAlpha(0x0c1d18, 1) forState:UIControlStateNormal];
[_recommendButton setTitleColor:[UIColor colorWithWhite:1 alpha:0.6] forState:UIControlStateNormal]; [_recommendButton setTitleColor:UIColorRGBAlpha(0x0c1d18, 0.6) forState:UIControlStateNormal];
// [UIView animateWithDuration:0.25 animations:^{ // [UIView animateWithDuration:0.25 animations:^{
[self.tabMarks mas_remakeConstraints:^(MASConstraintMaker *make) { [self.tabMarks mas_remakeConstraints:^(MASConstraintMaker *make) {
make.bottom.mas_equalTo(self.topControlView).offset(-8); make.bottom.mas_equalTo(self.topControlView).offset(-8);
make.width.mas_equalTo(10); make.width.mas_equalTo(14);
make.height.mas_equalTo(2.5); make.height.mas_equalTo(4);
make.centerX.mas_equalTo(self.mineButton.mas_centerX); make.centerX.mas_equalTo(self.mineButton.mas_centerX);
}]; }];
// [self.view setNeedsLayout]; // [self.view setNeedsLayout];
@@ -166,14 +166,14 @@
- (void)displayRecommendTab { - (void)displayRecommendTab {
[_mineButton.titleLabel setFont:kFontBold(18)]; [_mineButton.titleLabel setFont:kFontBold(18)];
[_recommendButton.titleLabel setFont:kFontBold(21)]; [_recommendButton.titleLabel setFont:kFontBold(21)];
[_recommendButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; [_recommendButton setTitleColor:UIColorRGBAlpha(0x0c1d18, 1) forState:UIControlStateNormal];
[_mineButton setTitleColor:[UIColor colorWithWhite:1 alpha:0.6] forState:UIControlStateNormal]; [_mineButton setTitleColor:UIColorRGBAlpha(0x0c1d18, 0.6) forState:UIControlStateNormal];
// [UIView animateWithDuration:0.25 animations:^{ // [UIView animateWithDuration:0.25 animations:^{
[self.tabMarks mas_remakeConstraints:^(MASConstraintMaker *make) { [self.tabMarks mas_remakeConstraints:^(MASConstraintMaker *make) {
make.bottom.mas_equalTo(self.topControlView).offset(-8); make.bottom.mas_equalTo(self.topControlView).offset(-8);
make.width.mas_equalTo(10); make.width.mas_equalTo(14);
make.height.mas_equalTo(2.5); make.height.mas_equalTo(4);
make.centerX.mas_equalTo(self.recommendButton.mas_centerX); make.centerX.mas_equalTo(self.recommendButton.mas_centerX);
}]; }];
// [self.view setNeedsLayout]; // [self.view setNeedsLayout];

View File

@@ -519,7 +519,7 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
_titleView.listContainer = (id<JXCategoryViewListContainer>)self.pagingView.listContainerView; _titleView.listContainer = (id<JXCategoryViewListContainer>)self.pagingView.listContainerView;
JXCategoryIndicatorImageView * indicator = [[JXCategoryIndicatorImageView alloc] init]; 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.indicatorImageViewSize = CGSizeMake(kGetScaleWidth(24), kGetScaleWidth(24));
indicator.verticalMargin = -kGetScaleWidth(4); indicator.verticalMargin = -kGetScaleWidth(4);
indicator.contentMode = UIViewContentModeScaleAspectFit; indicator.contentMode = UIViewContentModeScaleAspectFit;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB