Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
红
红星美凯龙管理在线APP IOS
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
张杰
红星美凯龙管理在线APP IOS
Commits
46d2d8de
Commit
46d2d8de
authored
Dec 03, 2015
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复更多按钮
parent
eabddaa1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
UserInterfaceState.xcuserstate
...userdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
HomeViewController.m
...r/Classes/Module/Home/ViewController/HomeViewController.m
+18
-0
No files found.
redstar.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
46d2d8de
No preview for this file type
redstar/Classes/Module/Home/ViewController/HomeViewController.m
View file @
46d2d8de
...
...
@@ -396,6 +396,23 @@
// 更多按钮点击事件
-
(
void
)
moreButtonClick
:
(
UIButton
*
)
sender
{
if
(
_titleArray
.
count
==
5
)
{
UIButton
*
button
=
(
UIButton
*
)
sender
;
UINavigationController
*
nav
;
if
(
button
.
tag
-
332892
==
0
)
{
InspectListViewController
*
inspectListVC
=
[[
InspectListViewController
alloc
]
init
];
nav
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
inspectListVC
];
}
else
{
QuestionViewController
*
questionVC
=
[[
QuestionViewController
alloc
]
init
];
nav
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
questionVC
];
}
[
nav
.
navigationBar
setBarTintColor
:
kNavigationBarColor
];
[
nav
.
navigationBar
setTitleTextAttributes
:[
NSDictionary
dictionaryWithObjectsAndKeys
:[
UIColor
whiteColor
],
NSForegroundColorAttributeName
,
nil
]];
[
self
presentViewController
:
nav
animated
:
YES
completion
:
nil
];
}
else
{
UIButton
*
button
=
(
UIButton
*
)
sender
;
UINavigationController
*
nav
;
...
...
@@ -416,6 +433,7 @@
[
nav
.
navigationBar
setBarTintColor
:
kNavigationBarColor
];
[
nav
.
navigationBar
setTitleTextAttributes
:[
NSDictionary
dictionaryWithObjectsAndKeys
:[
UIColor
whiteColor
],
NSForegroundColorAttributeName
,
nil
]];
[
self
presentViewController
:
nav
animated
:
YES
completion
:
nil
];
}
}
-
(
void
)
itemClick
:
(
HomeCellItem
*
)
sender
...
...
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