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
8e420aa4
Commit
8e420aa4
authored
9 years ago
by
Achilles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add mask when model loading
parent
eb0e8970
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
VankeFloorDetailBoard_iPhone.m
...one/templates/floor-detail/VankeFloorDetailBoard_iPhone.m
+3
-0
VankeFloorListBoard_iPhone.m
..._iPhone/templates/floor-list/VankeFloorListBoard_iPhone.m
+6
-0
No files found.
vanke/view_iPhone/templates/floor-detail/VankeFloorDetailBoard_iPhone.m
View file @
8e420aa4
...
...
@@ -4,6 +4,7 @@
#import "VankeFloorDetailBoardPhoto_iPhone.h"
#import "PullLoader.h"
#import "FootLoader.h"
#import "GEToast.h"
#import "VankeBusinessChartCell_iPhone.h"
#pragma mark - VankeFloorDetailBoard_iPhone
...
...
@@ -146,12 +147,14 @@ ON_DID_DISAPPEAR( signal )
ON_SIGNAL3
(
VankeSaleVolumeModel
,
RELOADING
,
signal
)
{
[
GEToast
showProgress
:
self
.
view
];
self
.
list
.
headerLoading
=
YES
;
self
.
list
.
footerLoading
=
YES
;
}
ON_SIGNAL3
(
VankeSaleVolumeModel
,
RELOADED
,
signal
)
{
[
GEToast
hideProgress
];
self
.
list
.
headerLoading
=
NO
;
self
.
list
.
footerLoading
=
NO
;
self
.
list
.
footerMore
=
NO
;
...
...
This diff is collapsed.
Click to expand it.
vanke/view_iPhone/templates/floor-list/VankeFloorListBoard_iPhone.m
View file @
8e420aa4
...
...
@@ -4,6 +4,7 @@
#import "PullLoader.h"
#import "FootLoader.h"
#import "VankeUtil.h"
#import "GEToast.h"
#import "NoDataCell_iPhoneCell.h"
#import "VankeProjectListAPI.h"
#import "VankeFloorDetailBoard_iPhone.h"
...
...
@@ -103,6 +104,9 @@ ON_CREATE_VIEWS( signal )
}
}
};
self
.
list
.
whenReloaded
=
^
{
};
self
.
list
.
whenAnimated
=
^
{
...
...
@@ -198,12 +202,14 @@ ON_SIGNAL3( VankeFloorListBoardCell_iPhone, mask, signal )
ON_SIGNAL3
(
VankeProjectListModel
,
RELOADING
,
signal
)
{
[
GEToast
showProgress
:
self
.
view
];
self
.
list
.
headerLoading
=
YES
;
self
.
list
.
footerLoading
=
YES
;
}
ON_SIGNAL3
(
VankeProjectListModel
,
RELOADED
,
signal
)
{
[
GEToast
hideProgress
];
self
.
list
.
headerLoading
=
NO
;
self
.
list
.
footerLoading
=
NO
;
self
.
list
.
footerMore
=
self
.
model
.
more
;
...
...
This diff is collapsed.
Click to expand it.
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