Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
万
万科
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
万科
Commits
eb0e8970
Commit
eb0e8970
authored
Oct 28, 2015
by
Achilles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
return 0 for implement function cell
parent
2e12941c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
36 deletions
+34
-36
project.pbxproj
vanke.xcodeproj/project.pbxproj
+7
-7
VankeConfig.h
vanke/VankeConfig.h
+1
-1
VankeMainBoard_iPhone.m
vanke/view_iPhone/templates/main/VankeMainBoard_iPhone.m
+3
-1
VankeServiceBoardCell_iPhone.h
...view_iPhone/templates/main/VankeServiceBoardCell_iPhone.h
+4
-0
VankeServiceBoardCell_iPhone.m
...view_iPhone/templates/main/VankeServiceBoardCell_iPhone.m
+12
-0
VankeServiceDashBoard_iPhone.m
...view_iPhone/templates/main/VankeServiceDashBoard_iPhone.m
+7
-27
No files found.
vanke.xcodeproj/project.pbxproj
View file @
eb0e8970
...
...
@@ -55,12 +55,12 @@
C165078B1BB96C2800CB2FC1
/* logo@2x.png in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16507821BB96C2800CB2FC1
/* logo@2x.png */
;
};
C165078C1BB96C2800CB2FC1
/* pwd_icon.png in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16507831BB96C2800CB2FC1
/* pwd_icon.png */
;
};
C165078D1BB96C2800CB2FC1
/* pwd_icon@2x.png in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16507841BB96C2800CB2FC1
/* pwd_icon@2x.png */
;
};
C16BA6231BD393B7001ACB26
/* VankePassengerDetailBoard_iPhone.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA6211BD393B7001ACB26
/* VankePassengerDetailBoard_iPhone.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
C16BA6241BD393B7001ACB26
/* VankePassengerDetailBoard_iPhone.xml in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA6221BD393B7001ACB26
/* VankePassengerDetailBoard_iPhone.xml */
;
settings
=
{
ASSET_TAGS
=
();
};
};
C16BA6271BD39491001ACB26
/* VankePassengerFlowModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA6261BD39491001ACB26
/* VankePassengerFlowModel.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
C16BA62A1BD3952E001ACB26
/* VankePassengerFlowAPI.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA6291BD3952E001ACB26
/* VankePassengerFlowAPI.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
C16BA62E1BD3ABF1001ACB26
/* NoDataCell_iPhoneCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA62C1BD3ABF1001ACB26
/* NoDataCell_iPhoneCell.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
C16BA62F1BD3ABF1001ACB26
/* NoDataCell_iPhoneCell.xml in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA62D1BD3ABF1001ACB26
/* NoDataCell_iPhoneCell.xml */
;
settings
=
{
ASSET_TAGS
=
();
};
};
C16BA6231BD393B7001ACB26
/* VankePassengerDetailBoard_iPhone.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA6211BD393B7001ACB26
/* VankePassengerDetailBoard_iPhone.m */
;
};
C16BA6241BD393B7001ACB26
/* VankePassengerDetailBoard_iPhone.xml in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA6221BD393B7001ACB26
/* VankePassengerDetailBoard_iPhone.xml */
;
};
C16BA6271BD39491001ACB26
/* VankePassengerFlowModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA6261BD39491001ACB26
/* VankePassengerFlowModel.m */
;
};
C16BA62A1BD3952E001ACB26
/* VankePassengerFlowAPI.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA6291BD3952E001ACB26
/* VankePassengerFlowAPI.m */
;
};
C16BA62E1BD3ABF1001ACB26
/* NoDataCell_iPhoneCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA62C1BD3ABF1001ACB26
/* NoDataCell_iPhoneCell.m */
;
};
C16BA62F1BD3ABF1001ACB26
/* NoDataCell_iPhoneCell.xml in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C16BA62D1BD3ABF1001ACB26
/* NoDataCell_iPhoneCell.xml */
;
};
C19ADE351BC6C71F00206213
/* floor-def.jpg in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C19ADE341BC6C71F00206213
/* floor-def.jpg */
;
};
C19ADE381BC80DD400206213
/* VankeSaleVolumeAPI.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C19ADE371BC80DD400206213
/* VankeSaleVolumeAPI.m */
;
};
C19ADE3D1BC8147800206213
/* left_arrow.png in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C19ADE391BC8147800206213
/* left_arrow.png */
;
};
...
...
@@ -3118,7 +3118,7 @@
TargetAttributes
=
{
C1D58B151BB1BC9200D297FE
=
{
CreatedOnToolsVersion
=
7.0
;
DevelopmentTeam
=
W54V2VB863
;
DevelopmentTeam
=
28VP83UY5K
;
};
};
};
...
...
vanke/VankeConfig.h
View file @
eb0e8970
...
...
@@ -28,7 +28,7 @@
#define VANKE_SERVER_BASE_URL @"http://218.244.151.129:7580/wanke-server/rest"
// 后台多媒体文件基准地址
#define VANKE_SERVER_MEDIA_BASE_URL @"http://218.244.151.129:7580
/
"
#define VANKE_SERVER_MEDIA_BASE_URL @"http://218.244.151.129:7580"
// 后台服务企业认证码
#define VANKE_AUTHENTI_CODE @"211534962"
...
...
vanke/view_iPhone/templates/main/VankeMainBoard_iPhone.m
View file @
eb0e8970
...
...
@@ -127,9 +127,11 @@ ON_SIGNAL3( VankeServiceSaleCell_iPhone, mask, signal ) {
ON_SIGNAL3
(
VankeServiceBoardCell_iPhone
,
mask
,
signal
)
{
VankeServiceBoardCell_iPhone
*
cell
=
(
VankeServiceBoardCell_iPhone
*
)
signal
.
sourceCell
;
if
([
@"当前客流"
eq
:
cell
.
lblTitle
.
data
])
{
if
([
@"当前客流"
eq
:
[
cell
name
]
])
{
[[
VankeAppBoard_iPhone
sharedInstance
]
hideMenu
];
[
self
showListView
:
CELL_TYPE_PASSENGER
];
}
else
{
[
GEToast
showWithText
:
@"正在研发中..."
bottomOffset
:
50
.
0
f
duration
:
1
.
0
f
];
}
}
...
...
vanke/view_iPhone/templates/main/VankeServiceBoardCell_iPhone.h
View file @
eb0e8970
...
...
@@ -14,6 +14,10 @@ AS_OUTLET( BeeUILabel, lblAmount )
AS_OUTLET
(
BeeUILabel
,
lblAmountUnit
)
AS_OUTLET
(
BeeUIButton
,
mask
)
-
(
NSString
*
)
name
;
-
(
void
)
asNotAvailableCell
;
-
(
void
)
loadDefaults
:
(
NSString
*
)
imgName
title
:
(
NSString
*
)
title
bgColor
:
(
UIColor
*
)
bgColor
unit
:
(
NSString
*
)
unit
defValue
:
(
NSNumber
*
)
defValue
;
@end
vanke/view_iPhone/templates/main/VankeServiceBoardCell_iPhone.m
View file @
eb0e8970
...
...
@@ -50,6 +50,10 @@ DEF_OUTLET( BeeUIButton, mask)
$
(
self
.
lblAmount
).
DATA
([
NSString
stringWithFormat
:
@"%d"
,
newAmount
]);
}
-
(
NSString
*
)
name
{
return
self
.
lblTitle
.
data
;
}
-
(
void
)
asNotAvailableCell
{
$
(
self
.
imgAmountIcon
).
HIDE
();
$
(
self
.
lblAmountUnit
).
HIDE
();
...
...
@@ -57,4 +61,12 @@ DEF_OUTLET( BeeUIButton, mask)
self
.
lblAmount
.
data
=
@"正在研发中..."
;
}
-
(
void
)
loadDefaults
:
(
NSString
*
)
imgName
title
:
(
NSString
*
)
title
bgColor
:
(
UIColor
*
)
bgColor
unit
:
(
NSString
*
)
unit
defValue
:
(
NSNumber
*
)
defValue
{
self
.
imgIcon
.
data
=
imgName
;
self
.
lblTitle
.
data
=
title
;
self
.
imgBg
.
backgroundColor
=
bgColor
;
self
.
lblAmountUnit
.
data
=
unit
;
self
.
lblAmount
.
data
=
defValue
;
}
@end
vanke/view_iPhone/templates/main/VankeServiceDashBoard_iPhone.m
View file @
eb0e8970
...
...
@@ -47,32 +47,10 @@ DEF_OUTLET( VankeServiceBoardCell_iPhone, complaint );
-
(
void
)
load
{
self
.
salesInfo
.
imgRightBg
.
backgroundColor
=
[
UIColor
colorWithRed
:
237
/
255
.
0
green
:
27
/
255
.
0
blue
:
35
/
255
.
0
alpha
:
1
];
self
.
passenger
.
imgIcon
.
data
=
@"people.png"
;
self
.
passenger
.
lblTitle
.
data
=
@"当前客流"
;
self
.
passenger
.
imgBg
.
backgroundColor
=
[
UIColor
colorWithRed
:
0
green
:
195
/
255
.
0
blue
:
230
/
255
.
0
alpha
:
1
];
self
.
passenger
.
lblAmountUnit
.
data
=
@"人"
;
self
.
traffic
.
imgIcon
.
data
=
@"car.png"
;
self
.
traffic
.
lblTitle
.
data
=
@"当前车流"
;
self
.
traffic
.
imgBg
.
backgroundColor
=
[
UIColor
colorWithRed
:
79
/
255
.
0
green
:
143
/
255
.
0
blue
:
248
/
255
.
0
alpha
:
1
];
// self.traffic.lblAmountUnit.data = @"次";
[
self
.
traffic
asNotAvailableCell
];
self
.
energy
.
imgIcon
.
data
=
@"energy.png"
;
self
.
energy
.
lblTitle
.
data
=
@"能耗"
;
self
.
energy
.
imgBg
.
backgroundColor
=
[
UIColor
colorWithRed
:
149
/
255
.
0
green
:
200
/
255
.
0
blue
:
8
/
255
.
0
alpha
:
1
];
// self.energy.lblAmountUnit.data = @"正在研发中...";
// self.energy.lblAmount.data = @" ";
[
self
.
energy
asNotAvailableCell
];
self
.
complaint
.
imgIcon
.
data
=
@"complaint.png"
;
self
.
complaint
.
lblTitle
.
data
=
@"投诉"
;
self
.
complaint
.
imgBg
.
backgroundColor
=
[
UIColor
colorWithRed
:
252
/
255
.
0
green
:
67
/
255
.
0
blue
:
62
/
255
.
0
alpha
:
1
];
// self.complaint.lblAmountUnit.data = @"正在研发中...";
// self.complaint.lblAmount.data = @" ";
[
self
.
complaint
asNotAvailableCell
];
[
self
.
passenger
loadDefaults
:
@"people.png"
title
:
@"当前客流"
bgColor
:
[
UIColor
colorWithRed
:
0
green
:
195
/
255
.
0
blue
:
230
/
255
.
0
alpha
:
1
]
unit
:
@"人"
defValue
:
[
NSNumber
numberWithInt
:
0
]];
[
self
.
traffic
loadDefaults
:
@"car.png"
title
:
@"当前车流"
bgColor
:
[
UIColor
colorWithRed
:
79
/
255
.
0
green
:
143
/
255
.
0
blue
:
248
/
255
.
0
alpha
:
1
]
unit
:
@"次"
defValue
:
[
NSNumber
numberWithInt
:
0
]];
[
self
.
energy
loadDefaults
:
@"energy.png"
title
:
@"能耗"
bgColor
:
[
UIColor
colorWithRed
:
149
/
255
.
0
green
:
200
/
255
.
0
blue
:
8
/
255
.
0
alpha
:
1
]
unit
:
@"单位"
defValue
:
[
NSNumber
numberWithInt
:
0
]];
[
self
.
complaint
loadDefaults
:
@"complaint.png"
title
:
@"投诉"
bgColor
:
[
UIColor
colorWithRed
:
252
/
255
.
0
green
:
67
/
255
.
0
blue
:
62
/
255
.
0
alpha
:
1
]
unit
:
@"次"
defValue
:
[
NSNumber
numberWithInt
:
0
]];
}
-
(
void
)
unload
...
...
@@ -88,7 +66,9 @@ DEF_OUTLET( VankeServiceBoardCell_iPhone, complaint );
if
(
nil
!=
summary
)
{
[
self
.
salesInfo
setData
:
summary
.
salesAmount
];
[
self
.
passenger
setData
:
summary
.
passengerFlowVolume
];
// [self.traffic setData:summary.trafficVolume];
[
self
.
traffic
setData
:
summary
.
trafficVolume
];
[
self
.
energy
setData
:[
NSNumber
numberWithInt
:
0
]];
[
self
.
complaint
setData
:[
NSNumber
numberWithInt
:
0
]];
}
}
...
...
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