Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
D
Dolphins
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
Dolphins
Commits
181f9f14
Commit
181f9f14
authored
Jul 31, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
cca23281
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
ZJXiaoxiView.m
Dolphins/Classes/Care/View/ZJXiaoxiView.m
+4
-4
ZJFriendTrackMapViewController.m
...s/Classes/Map/Controller/ZJFriendTrackMapViewController.m
+4
-4
No files found.
Dolphins/Classes/Care/View/ZJXiaoxiView.m
View file @
181f9f14
...
...
@@ -35,11 +35,11 @@
_beiJingView
.
backgroundColor
=
[
UIColor
whiteColor
];
[
self
addSubview
:
_beiJingView
];
[
_beiJingView
mas_makeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
//
make.top.equalTo(self).mas_offset(KScaleWidth(139.5) + StatusBarDif);
make
.
top
.
equalTo
(
self
).
mas_offset
(
KScaleWidth
(
139
.
5
)
+
StatusBarDif
);
make
.
centerX
.
equalTo
(
self
);
make
.
centerY
.
equalTo
(
self
);
make
.
size
.
mas_offset
(
CGSizeMake
(
KScaleWidth
(
302
),
KScaleWidth
(
361
)));
//
make.width.mas_offset(KScaleWidth(302));
//
make.size.mas_offset(CGSizeMake(KScaleWidth(302), KScaleWidth(361)));
make
.
width
.
mas_offset
(
KScaleWidth
(
302
));
}];
_beiJingView
.
layer
.
cornerRadius
=
KScaleWidth
(
10
);
_beiJingView
.
layer
.
masksToBounds
=
YES
;
...
...
@@ -80,7 +80,7 @@
}];
// label
NSString
*
str
=
@"您接
收本邀请,视为您已经充分理解并遵守《用户协议
、《隐私协议》内容,同意授权平台按照隐私政策内容合法收集、储存和使用您的个人信息"
;
NSString
*
str
=
@"您接
受本邀请,视为您已经充分理解并遵守《用户协议》
、《隐私协议》内容,同意授权平台按照隐私政策内容合法收集、储存和使用您的个人信息"
;
_label
=
[
UILabel
labelWithtext
:
str
font
:[
UIFont
systemFontOfSize
:
KFont
(
12
)]
textColor
:
[
UIColor
colorWithHex
:
0x999999
]
alignment
:
NSTextAlignmentCenter
];
[
_beiJingView
addSubview
:
_label
];
_label
.
numberOfLines
=
0
;
...
...
Dolphins/Classes/Map/Controller/ZJFriendTrackMapViewController.m
View file @
181f9f14
...
...
@@ -401,12 +401,12 @@
NSArray
*
results
=
response
[
@"result"
][
@"data"
];
for
(
NSDictionary
*
dict
in
results
)
{
if
([
dict
[
@"lat"
]
isMemberOfClass
:[
NSNull
class
]]
||
[
dict
[
@"lon"
]
isMemberOfClass
:[
NSNull
class
]])
{
}
else
{
ZJLocationModel
*
coordinate
=
[[
ZJLocationModel
alloc
]
init
];
coordinate
.
latitude
=
[
dict
[
@"lat"
]
doubleValue
];
//[latitude doubleValue];
coordinate
.
longitude
=
[
dict
[
@"lon"
]
doubleValue
];
//[longitude doubleValue];
if
([
response
[
@"result"
][
@"data"
][
@"lat"
]
isMemberOfClass
:[
NSNull
class
]]
||
[
response
[
@"result"
][
@"data"
][
@"lon"
]
isMemberOfClass
:[
NSNull
class
]])
{
}
else
{
[
_self
.
locations
addObject
:
coordinate
];
}
}
...
...
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