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
2980f109
Commit
2980f109
authored
Oct 18, 2015
by
Achilles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bugs
parent
fac7cde2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
11 deletions
+26
-11
LaunchScreen.xib
vanke/Base.lproj/LaunchScreen.xib
+1
-1
VankeFloorDetailBoard_iPhone.m
...one/templates/floor-detail/VankeFloorDetailBoard_iPhone.m
+1
-1
VankePassengerDetailBoard_iPhone.m
...templates/floor-detail/VankePassengerDetailBoard_iPhone.m
+7
-7
VankeFloorListBoard_iPhone.h
..._iPhone/templates/floor-list/VankeFloorListBoard_iPhone.h
+2
-0
VankeFloorListBoard_iPhone.m
..._iPhone/templates/floor-list/VankeFloorListBoard_iPhone.m
+2
-0
VankeMainBoard_iPhone.m
vanke/view_iPhone/templates/main/VankeMainBoard_iPhone.m
+13
-2
No files found.
vanke/Base.lproj/LaunchScreen.xib
View file @
2980f109
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<rect
key=
"frame"
x=
"20"
y=
"439"
width=
"441"
height=
"21"
/>
<rect
key=
"frame"
x=
"20"
y=
"439"
width=
"441"
height=
"21"
/>
<animations/>
<animations/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<color
key=
"textColor"
cocoaTouchSystemColor=
"darkTextColor
"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB
"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
</subviews>
</subviews>
...
...
vanke/view_iPhone/templates/floor-detail/VankeFloorDetailBoard_iPhone.m
View file @
2980f109
...
@@ -146,7 +146,7 @@ ON_DID_DISAPPEAR( signal )
...
@@ -146,7 +146,7 @@ ON_DID_DISAPPEAR( signal )
ON_SIGNAL3
(
VankeSaleVolumeModel
,
RELOADING
,
signal
)
ON_SIGNAL3
(
VankeSaleVolumeModel
,
RELOADING
,
signal
)
{
{
self
.
list
.
headerLoading
=
self
.
saleVolumeModel
.
loaded
;
self
.
list
.
headerLoading
=
YES
;
self
.
list
.
footerLoading
=
YES
;
self
.
list
.
footerLoading
=
YES
;
}
}
...
...
vanke/view_iPhone/templates/floor-detail/VankePassengerDetailBoard_iPhone.m
View file @
2980f109
...
@@ -98,17 +98,17 @@ ON_CREATE_VIEWS( signal )
...
@@ -98,17 +98,17 @@ ON_CREATE_VIEWS( signal )
self
.
list
.
whenHeaderRefresh
=
^
self
.
list
.
whenHeaderRefresh
=
^
{
{
[
self
reload
Salesolume
Model
];
[
self
reload
PassengerFlow
Model
];
};
};
self
.
list
.
whenFooterRefresh
=
^
self
.
list
.
whenFooterRefresh
=
^
{
{
[
self
reload
Salesolume
Model
];
[
self
reload
PassengerFlow
Model
];
};
};
self
.
list
.
whenReachBottom
=
^
self
.
list
.
whenReachBottom
=
^
{
{
[
self
reload
Salesolume
Model
];
[
self
reload
PassengerFlow
Model
];
};
};
}
}
...
@@ -140,13 +140,13 @@ ON_DID_DISAPPEAR( signal )
...
@@ -140,13 +140,13 @@ ON_DID_DISAPPEAR( signal )
#pragma mark -
#pragma mark -
ON_SIGNAL3
(
Vanke
SaleVolume
Model
,
RELOADING
,
signal
)
ON_SIGNAL3
(
Vanke
PassengerFlow
Model
,
RELOADING
,
signal
)
{
{
self
.
list
.
headerLoading
=
self
.
passengerFlowModel
.
loaded
;
self
.
list
.
headerLoading
=
YES
;
self
.
list
.
footerLoading
=
YES
;
self
.
list
.
footerLoading
=
YES
;
}
}
ON_SIGNAL3
(
Vanke
SaleVolume
Model
,
RELOADED
,
signal
)
ON_SIGNAL3
(
Vanke
PassengerFlow
Model
,
RELOADED
,
signal
)
{
{
self
.
list
.
headerLoading
=
NO
;
self
.
list
.
headerLoading
=
NO
;
self
.
list
.
footerLoading
=
NO
;
self
.
list
.
footerLoading
=
NO
;
...
@@ -154,7 +154,7 @@ ON_SIGNAL3( VankeSaleVolumeModel, RELOADED, signal )
...
@@ -154,7 +154,7 @@ ON_SIGNAL3( VankeSaleVolumeModel, RELOADED, signal )
[
self
.
list
reloadData
];
[
self
.
list
reloadData
];
}
}
-
(
void
)
reload
Salesolume
Model
{
-
(
void
)
reload
PassengerFlow
Model
{
self
.
passengerFlowModel
.
projectEquals
=
self
.
data
.
projectId
;
self
.
passengerFlowModel
.
projectEquals
=
self
.
data
.
projectId
;
self
.
passengerFlowModel
.
passengerFlowDateEquals
=
self
.
passengerFlowDate
;
self
.
passengerFlowModel
.
passengerFlowDateEquals
=
self
.
passengerFlowDate
;
[
self
.
passengerFlowModel
reload
];
[
self
.
passengerFlowModel
reload
];
...
...
vanke/view_iPhone/templates/floor-list/VankeFloorListBoard_iPhone.h
View file @
2980f109
...
@@ -20,6 +20,8 @@ AS_OUTLET( BeeUITextField, txtQuery);
...
@@ -20,6 +20,8 @@ AS_OUTLET( BeeUITextField, txtQuery);
@property
(
strong
,
nonatomic
)
NSString
*
projectNameLike
;
@property
(
strong
,
nonatomic
)
NSString
*
projectNameLike
;
// 销售日期
// 销售日期
@property
(
strong
,
nonatomic
)
NSString
*
salesDate
;
@property
(
strong
,
nonatomic
)
NSString
*
salesDate
;
//// 客流日期
//@property (nonatomic, strong) NSString *passengerFlowDate;
+
(
id
)
boardWithType
:
(
CellType
)
type
;
+
(
id
)
boardWithType
:
(
CellType
)
type
;
...
...
vanke/view_iPhone/templates/floor-list/VankeFloorListBoard_iPhone.m
View file @
2980f109
...
@@ -25,6 +25,7 @@ SUPPORT_AUTOMATIC_LAYOUT(YES)
...
@@ -25,6 +25,7 @@ SUPPORT_AUTOMATIC_LAYOUT(YES)
@synthesize
projectCategory
=
_projectCategory
;
@synthesize
projectCategory
=
_projectCategory
;
@synthesize
projectNameLike
=
_projectNameLike
;
@synthesize
projectNameLike
=
_projectNameLike
;
@synthesize
salesDate
=
_salesDate
;
@synthesize
salesDate
=
_salesDate
;
//@synthesize passengerFlowDate = _passengerFlowDate;
@synthesize
listType
=
_listType
;
@synthesize
listType
=
_listType
;
DEF_MODEL
(
VankeProjectListModel
,
model
);
DEF_MODEL
(
VankeProjectListModel
,
model
);
...
@@ -124,6 +125,7 @@ ON_CREATE_VIEWS( signal )
...
@@ -124,6 +125,7 @@ ON_CREATE_VIEWS( signal )
self
.
model
.
classificationEquals
=
_projectCategory
;
self
.
model
.
classificationEquals
=
_projectCategory
;
self
.
model
.
nameLike
=
_projectNameLike
;
self
.
model
.
nameLike
=
_projectNameLike
;
self
.
model
.
salesDateEquals
=
_salesDate
;
self
.
model
.
salesDateEquals
=
_salesDate
;
$
(
self
.
txtQuery
).
DATA
(
_projectNameLike
);
$
(
self
.
txtQuery
).
DATA
(
_projectNameLike
);
}
}
...
...
vanke/view_iPhone/templates/main/VankeMainBoard_iPhone.m
View file @
2980f109
...
@@ -262,13 +262,24 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) {
...
@@ -262,13 +262,24 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) {
VankeFloorListBoard_iPhone
*
board
=
[
VankeFloorListBoard_iPhone
boardWithType
:
type
];
VankeFloorListBoard_iPhone
*
board
=
[
VankeFloorListBoard_iPhone
boardWithType
:
type
];
if
(
nil
!=
_currDashBoard
)
{
if
(
nil
!=
_currDashBoard
)
{
board
.
projectCategory
=
_currDashBoard
.
name
;
board
.
projectCategory
=
_currDashBoard
.
name
;
board
.
salesDate
=
_summaryModel
.
salesDate
;
board
.
theme
=
_currDashBoard
.
theme
;
board
.
theme
=
_currDashBoard
.
theme
;
NSString
*
nameLike
=
[
VankeUtil
trim
:
$
(
self
.
txtQuery
).
data
];
NSString
*
nameLike
=
[
VankeUtil
trim
:
$
(
self
.
txtQuery
).
data
];
board
.
projectNameLike
=
nameLike
;
board
.
projectNameLike
=
nameLike
;
}
}
if
(
type
==
CELL_TYPE_FLOOR
)
{
board
.
salesDate
=
_summaryModel
.
salesDate
;
}
else
{
board
.
salesDate
=
[
self
today
];
}
[
self
.
stack
pushBoard
:
board
animated
:
YES
transition
:
bee
.
ui
.
transitionFade
];
[
self
.
stack
pushBoard
:
board
animated
:
YES
transition
:
bee
.
ui
.
transitionFade
];
}
}
-
(
NSString
*
)
today
{
NSDateFormatter
*
df
=
[[
NSDateFormatter
alloc
]
init
];
[
df
setDateFormat
:
@"yyyy-MM-dd"
];
return
[
df
stringFromDate
:[
NSDate
date
]];
}
@end
@end
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