Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pidan
/
FuSiLive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a4065ff2
authored
Jul 19, 2024
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复一些bug
parent
60681f0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/FUSStyleButton.m
FuSiLive/Classes/FusiVersionFeature/ViewController/HomePage/cell/FUSHomeAnchorListSmallCell.m
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/FUSStyleButton.m
View file @
a4065ff2
...
...
@@ -129,6 +129,7 @@
[
_bgLayer
addSublayer
:
_gradientView
.
layer
];
[
self
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:(
UIControlStateNormal
)];
[
self
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateDisabled
];
}
break
;
case
FUSButtonStyleGradientUpsideDown
:
...
...
@@ -193,6 +194,7 @@
[
_bgLayer
addSublayer
:
_gradientView
.
layer
];
[
self
setTitleColor
:[
UIColor
fus_diamondBlue
]
forState
:(
UIControlStateNormal
)];
[
self
setTitleColor
:[
UIColor
fus_diamondBlue
]
forState
:
UIControlStateDisabled
];
}
break
;
case
FUSButtonStyleGradientBorder
:
...
...
@@ -203,6 +205,7 @@
[
_bgLayer
addSublayer
:
_gradientView
.
layer
];
[
self
setTitleColor
:[
UIColor
fus_diamondBlue
]
forState
:(
UIControlStateNormal
)];
[
self
setTitleColor
:[
UIColor
fus_diamondBlue
]
forState
:
UIControlStateDisabled
];
}
break
;
case
FUSButtonStyleWhiteBorder
:
...
...
@@ -227,6 +230,7 @@
[
self
.
layer
insertSublayer
:
self
.
imageView
.
layer
above
:
_bgLayer
];
[
self
setTitleColor
:[
UIColor
fus_textColorLight2
]
forState
:(
UIControlStateNormal
)];
[
self
setTitleColor
:[
UIColor
fus_textColorLight2
]
forState
:
UIControlStateDisabled
];
}
break
;
case
FUSButtonStyleBlue
:
...
...
@@ -251,6 +255,7 @@
self
.
backgroundColor
=
[
UIColor
clearColor
];
[
self
setTitleColor
:[
UIColor
fus_diamondBlue
]
forState
:(
UIControlStateNormal
)];
[
self
setTitleColor
:[
UIColor
fus_diamondBlue
]
forState
:
UIControlStateDisabled
];
}
break
;
default
:
...
...
@@ -277,6 +282,7 @@
self
.
layer
.
borderColor
=
[[
UIColor
clearColor
]
CGColor
];
[
self
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:(
UIControlStateNormal
)];
[
self
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateDisabled
];
[
self
.
gradientView
.
layer
removeFromSuperlayer
];
self
.
gradientView
=
nil
;
...
...
@@ -376,11 +382,6 @@
self
.
alpha
=
0
.
5
;
}
}
// ludy: 其他颜色设置enable=no会沿用FUSButtonStyleBlue的颜色
if
(
_style
!=
FUSButtonStyleBlue
)
{
[
self
setTitleColor
:[
self
titleColorForState
:
UIControlStateNormal
]
forState
:
UIControlStateSelected
];
}
}
-
(
void
)
setHighlighted
:
(
BOOL
)
highlighted
...
...
FuSiLive/Classes/FusiVersionFeature/ViewController/HomePage/cell/FUSHomeAnchorListSmallCell.m
View file @
a4065ff2
...
...
@@ -145,7 +145,7 @@
self
.
locationBtn
.
hidden
=
NO
;
[
self
.
locationBtn
setTitle
:
model
.
addr
forState
:
UIControlStateNormal
];
}
if
([
NSString
isNull
:
model
.
hotSum
])
{
if
([
NSString
isNull
:
model
.
hotSum
]
||
model
.
roomType
==
2
)
{
self
.
hotNumBtn
.
hidden
=
YES
;
}
else
{
self
.
hotNumBtn
.
hidden
=
NO
;
...
...
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