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
10ea16d7
Commit
10ea16d7
authored
Aug 03, 2016
by
Achilles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
a08281d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
VankeMainBoard_iPhone.m
vanke/view_iPhone/templates/main/VankeMainBoard_iPhone.m
+11
-11
VankeTopMenuBoardCell_iPhone.xml
...ew_iPhone/templates/main/VankeTopMenuBoardCell_iPhone.xml
+1
-1
No files found.
vanke/view_iPhone/templates/main/VankeMainBoard_iPhone.m
View file @
10ea16d7
...
@@ -96,9 +96,9 @@ ON_WILL_APPEAR( signal )
...
@@ -96,9 +96,9 @@ ON_WILL_APPEAR( signal )
ON_DID_APPEAR
(
signal
)
ON_DID_APPEAR
(
signal
)
{
{
// 如果没有设置当前tab,则默认为第一页
// 如果没有设置当前tab,则默认为第一页
if
(
nil
==
_currDashBoard
)
{
//
if (nil == _currDashBoard) {
[
self
showTab
:
0
];
//
[self showTab: 0];
}
//
}
}
}
ON_WILL_DISAPPEAR
(
signal
)
ON_WILL_DISAPPEAR
(
signal
)
...
@@ -228,21 +228,21 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) {
...
@@ -228,21 +228,21 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) {
return
;
return
;
}
}
if
(
nil
!=
_currDashBoard
)
{
ProjectSummary
*
data
=
[[
_summaryModel
getServerResp
]
getSummary
:
_currDashBoard
.
name
];
if
(
nil
!=
data
)
{
[
_currDashBoard
setData
:
data
];
}
}
ProjectSummaryResponse
*
resp
=
[
_summaryModel
getServerResp
];
ProjectSummaryResponse
*
resp
=
[
_summaryModel
getServerResp
];
if
([
resp
hasClassification
:
@"社区2049"
])
{
if
([
resp
hasClassification
:
@"社区2049"
])
{
[
self
showTab
:
0
];
[
self
showTab
:
0
];
}
else
if
([
resp
hasClassification
:
@"万科中心"
])
{
}
else
if
([
resp
hasClassification
:
@"万科中心"
])
{
[
self
showTab
:
1
];
[
self
showTab
:
1
];
}
else
if
([
resp
hasClassification
:
@"万科广场"
])
{
}
else
if
([
resp
hasClassification
:
@"万科广场"
])
{
[
self
showTab
:
2
];
[
self
showTab
:
2
];
}
}
if
(
nil
!=
_currDashBoard
)
{
ProjectSummary
*
data
=
[[
_summaryModel
getServerResp
]
getSummary
:
_currDashBoard
.
name
];
if
(
nil
!=
data
)
{
[
_currDashBoard
setData
:
data
];
}
}
}
}
-
(
void
)
addLeftIconToTextField
:
(
BeeUITextField
*
)
textField
icon
:
(
NSString
*
)
icon
{
-
(
void
)
addLeftIconToTextField
:
(
BeeUITextField
*
)
textField
icon
:
(
NSString
*
)
icon
{
...
...
vanke/view_iPhone/templates/main/VankeTopMenuBoardCell_iPhone.xml
View file @
10ea16d7
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<image
class=
"bg"
/>
<image
class=
"bg"
/>
<linear
orientation=
"h"
class=
"top-menu"
>
<linear
orientation=
"h"
class=
"top-menu"
>
<linear
orientation=
"v"
class=
"menu-item"
>
<linear
orientation=
"v"
class=
"menu-item"
>
<button
class=
"menu
active
"
id=
"menuCommunity"
>
社区2049
</button>
<button
class=
"menu"
id=
"menuCommunity"
>
社区2049
</button>
</linear>
</linear>
<linear
orientation=
"v"
class=
"menu-item"
>
<linear
orientation=
"v"
class=
"menu-item"
>
<button
class=
"menu"
id=
"menuCenter"
>
万科中心
</button>
<button
class=
"menu"
id=
"menuCenter"
>
万科中心
</button>
...
...
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