Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
ALand
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
张杰
ALand
Commits
3aba241b
Commit
3aba241b
authored
9 years ago
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
金额不可见时眼睛图标为黑色
parent
fea1f537
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
MoneyView.m
ALand/CodeClass/Home/View/MoneyView.m
+3
-0
No files found.
ALand/CodeClass/Home/View/MoneyView.m
View file @
3aba241b
...
...
@@ -30,6 +30,7 @@
if
([
str
isEqualToString
:
@"YES"
])
{
weakSelf
.
buttonEye
.
tag
=
1
;
weakSelf
.
labelMoney
.
text
=
@"******"
;
[
self
.
buttonEye
setImage
:[
UIImage
imageNamed
:
@"Invisible_icon"
]
forState
:
UIControlStateNormal
];
}
else
{
}
...
...
@@ -40,11 +41,13 @@
if
(
sender
.
tag
==
0
)
{
self
.
labelMoney
.
text
=
@"******"
;
sender
.
tag
=
1
;
[
sender
setImage
:[
UIImage
imageNamed
:
@"Invisible_icon"
]
forState
:
UIControlStateNormal
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@"YES"
forKey
:
@"hideMoney"
];
}
else
{
self
.
labelMoney
.
text
=
@"23421"
;
sender
.
tag
=
0
;
[
sender
setImage
:[
UIImage
imageNamed
:
@"eyeOpen"
]
forState
:
UIControlStateNormal
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@"NO"
forKey
:
@"hideMoney"
];
}
...
...
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