Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
ZhiJi-Overseas
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmj
ZhiJi-Overseas
Commits
6ff4f78a
Commit
6ff4f78a
authored
Aug 01, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
0b31da24
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
23 deletions
+23
-23
ZJBaseCareViewController.m
ZhiJi/Classes/Care/Controller/ZJBaseCareViewController.m
+22
-22
BaseTabBarViewController.m
ZhiJi/Classes/Main/Base/BaseTabBarViewController.m
+1
-1
No files found.
ZhiJi/Classes/Care/Controller/ZJBaseCareViewController.m
View file @
6ff4f78a
...
@@ -305,28 +305,28 @@
...
@@ -305,28 +305,28 @@
//消息按钮点击
//消息按钮点击
-
(
void
)
xiaoXiButtonClick
{
-
(
void
)
xiaoXiButtonClick
{
NSLog
(
@"消息按钮"
);
NSLog
(
@"消息按钮"
);
// if (![ZJUserInfoManager shared].isLogin) {
if
(
!
[
ZJUserInfoManager
shared
].
isLogin
)
{
//// [MBProgressHUD showMessage:@"请先进行登录"];
// [MBProgressHUD showMessage:@"请先进行登录"];
// ZJOauthLoginConfig * config = [[ZJOauthLoginConfig alloc] initWithCurrentVC:self];
ZJOauthLoginConfig
*
config
=
[[
ZJOauthLoginConfig
alloc
]
initWithCurrentVC
:
self
];
// [config loginVerify:^(id _Nonnull model) {
[
config
loginVerify
:
^
(
id
_Nonnull
model
)
{
// if ([model isKindOfClass:[ZJMineUserInfoModel class]] ) {
if
([
model
isKindOfClass
:[
ZJMineUserInfoModel
class
]]
)
{
// NSLog(@"success");
NSLog
(
@"success"
);
// [self getHasNewMsg];
[
self
getHasNewMsg
];
// [self getFriendList];
[
self
getFriendList
];
// }
}
// }];
}];
// return;
return
;
// }
}
// [MobClick event:@"home_message_click"];
[
MobClick
event
:
@"home_message_click"
];
// ZJXiaoXiViewController *vc = [[ZJXiaoXiViewController alloc] init];
ZJXiaoXiViewController
*
vc
=
[[
ZJXiaoXiViewController
alloc
]
init
];
// [self.navigationController pushViewController:vc animated:YES];
[
self
.
navigationController
pushViewController
:
vc
animated
:
YES
];
ZJLocationRemindSelectController
*
location
=
[[
UIStoryboard
storyboardWithName
:
@"Location"
bundle
:
nil
]
instantiateViewControllerWithIdentifier
:
@"ZJLocationRemindSelectController"
];
location
.
title
=
@"选择地点"
;
location
.
commitAddressClosure
=
^
(
ZJFriendLocationRemindModel
*
_Nonnull
model
)
{
};
// ZJLocationRemindSelectController * location = [[UIStoryboard storyboardWithName:@"Location" bundle:nil] instantiateViewControllerWithIdentifier:@"ZJLocationRemindSelectController"];
[
self
.
navigationController
pushViewController
:
location
animated
:
YES
];
// location.title = @"选择地点";
// location.commitAddressClosure = ^(ZJFriendLocationRemindModel * _Nonnull model) {
//
// };
// [self.navigationController pushViewController:location animated:YES];
}
}
//紧急按钮点击
//紧急按钮点击
...
...
ZhiJi/Classes/Main/Base/BaseTabBarViewController.m
View file @
6ff4f78a
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
index
:
DYTTabBarIndexHome
index
:
DYTTabBarIndexHome
viewController
:
[[
ZJCareStyle2ViewController
alloc
]
init
]];
viewController
:
[[
ZJCareStyle2ViewController
alloc
]
init
]];
BaseNavigationViewController
*
iHospNav
=
[
self
baseNavigationWithTtitle
:
kLocalizedString
(
@"tabbar_m
ine
"
)
BaseNavigationViewController
*
iHospNav
=
[
self
baseNavigationWithTtitle
:
kLocalizedString
(
@"tabbar_m
ap
"
)
image
:[
UIImage
imageNamed
:
@"tabbar_1"
]
image
:[
UIImage
imageNamed
:
@"tabbar_1"
]
selectedImage
:
[
UIImage
imageNamed
:
@"tabbar_1_selected"
]
selectedImage
:
[
UIImage
imageNamed
:
@"tabbar_1_selected"
]
index
:
DYTTabBarIndexIHOSP
index
:
DYTTabBarIndexIHOSP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment