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
62d37206
Commit
62d37206
authored
Jul 28, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
78a27e95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
15 deletions
+24
-15
.DS_Store
.DS_Store
+0
-0
ZJBaseCareViewController.m
ZhiJi/Classes/Care/Controller/ZJBaseCareViewController.m
+24
-15
No files found.
.DS_Store
View file @
62d37206
No preview for this file type
ZhiJi/Classes/Care/Controller/ZJBaseCareViewController.m
View file @
62d37206
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
#import "ZJBaseCareViewController.h"
#import "ZJBaseCareViewController.h"
#import "ZJMemberPayViewController.h"
#import "ZJMemberPayViewController.h"
#import "ZJLocationRemindSelectController.h"
@interface
ZJBaseCareViewController
()
<
CLLocationManagerDelegate
>
{
@interface
ZJBaseCareViewController
()
<
CLLocationManagerDelegate
>
{
ZJFriendSettingView
*
friend
;
ZJFriendSettingView
*
friend
;
...
@@ -303,21 +305,28 @@
...
@@ -303,21 +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
)
{
};
[
self
.
navigationController
pushViewController
:
location
animated
:
YES
];
}
}
//紧急按钮点击
//紧急按钮点击
...
...
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