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
29c473c6
authored
Jul 18, 2024
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改ui
parent
5555176a
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
13 deletions
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/FUSStyleButton.m
FuSiLive/Classes/Common/View/FUSEditPickerView.m
FuSiLive/Classes/NewsFeed/RichEditor/Controller/FUSPublishNewsFeedViewController.m
FuSiLive/Classes/Zone/Controller/FireFlyMyZone/FUSZoneTaskCenterViewController.m
FuSiLive/Classes/Zone/View/TaskCenter/FUSTaskCenterListTableViewCell.m
FuSiLive/Classes/Zone/View/TaskCenter/FUSTaskCenterProcessTableViewCell.m
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/FUSStyleButton.m
View file @
29c473c6
...
...
@@ -219,7 +219,9 @@
{
[
_gradientView
.
layer
removeFromSuperlayer
];
_gradientView
=
[
FUSGradientView
fus_gradientViewWithType
:
FUSGradientViewTypeGrayBorder
frame
:
_bgLayer
.
bounds
];
self
.
layer
.
cornerRadius
=
_gradientView
.
height
/
2
.
0
;
self
.
layer
.
cornerRadius
=
self
.
height
/
2
.
0
f
;
self
.
layer
.
borderColor
=
[
UIColor
fus_textColorLight2
].
CGColor
;
self
.
layer
.
borderWidth
=
1
;
_gradientView
.
cornerRadius
=
_gradientView
.
height
/
2
.
0
;
[
_bgLayer
addSublayer
:
_gradientView
.
layer
];
[
self
.
layer
insertSublayer
:
self
.
imageView
.
layer
above
:
_bgLayer
];
...
...
FuSiLive/Classes/Common/View/FUSEditPickerView.m
View file @
29c473c6
...
...
@@ -97,7 +97,7 @@
self
.
frame
=
[
UIScreen
mainScreen
].
bounds
;
self
.
tag
=
100
;
self
.
alpha
=
0
;
self
.
backgroundColor
=
[
[
UIColor
blackColor
]
colorWithAlphaComponent
:
0
.
5
];
self
.
backgroundColor
=
[
UIColor
fus_alertViewBackgroundColor
];
[
self
addGestureRecognizer
:[[
UITapGestureRecognizer
alloc
]
initWithTarget
:
self
action
:
@selector
(
onTapPickerViewAction
:)]];
_bgView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
UIView
.
fus_screenH
+
TOOLBAR_HEIGHT
+
PICKER_VIEW_HEIGHT
,
UIView
.
fus_screenH
,
PICKER_VIEW_HEIGHT
+
TOOLBAR_HEIGHT
)];
...
...
@@ -116,7 +116,7 @@
// toolbar工具条
UIView
*
toolBar
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
UIView
.
fus_screenW
,
TOOLBAR_HEIGHT
)];
toolBar
.
backgroundColor
=
[
UIColor
colorWithHex
:
@"#191923"
];
toolBar
.
backgroundColor
=
[
UIColor
fus_appBGColor
];
[
_bgView
addSubview
:
toolBar
];
CGFloat
cancelX
=
FUSRTL
.
isRTL
?
UIView
.
fus_screenW
-
70
:
10
;
...
...
@@ -128,7 +128,7 @@
cancelBtn
.
width
=
cancelBtn
.
width
+
20
;
cancelBtn
.
x
=
FUSRTL
.
isRTL
?
UIView
.
fus_screenW
-
cancelBtn
.
width
-
10
:
10
;
[
toolBar
addSubview
:
cancelBtn
];
[
cancelBtn
setTitleColor
:[
UIColor
colorWithHex
:
@"#58DBD7"
]
forState
:
UIControlStateNormal
];
[
cancelBtn
setTitleColor
:[
UIColor
fus_textColorMedium
]
forState
:
UIControlStateNormal
];
[
cancelBtn
addTarget
:
self
action
:
@selector
(
onTapCancelBtnAction
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
CGFloat
certainX
=
FUSRTL
.
isRTL
?
10
:
UIView
.
fus_screenW
-
70
;
...
...
@@ -139,21 +139,21 @@
certainBtn
.
height
=
TOOLBAR_HEIGHT
;
certainBtn
.
x
=
FUSRTL
.
isRTL
?
10
:
UIView
.
fus_screenW
-
certainBtn
.
width
-
10
;
[
toolBar
addSubview
:
certainBtn
];
[
certainBtn
setTitleColor
:[
UIColor
colorWithHex
:
@"#58DBD7"
]
forState
:
UIControlStateNormal
];
[
certainBtn
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateNormal
];
[
certainBtn
addTarget
:
self
action
:
@selector
(
onTapCertainBtnAction
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
_titleLb
=
[[
UILabel
alloc
]
initWithFrame
:
CGRectMake
(
CGRectGetMaxX
(
cancelBtn
.
frame
),
0
,
self
.
width
-
cancelBtn
.
width
-
certainBtn
.
width
-
30
,
toolBar
.
height
)];
_titleLb
.
font
=
[
UIFont
systemFontOfSize
:
17
weight
:
UIFontWeightMedium
];
_titleLb
.
textColor
=
[
UIColor
colorWithHex
:
@"#CCCCCC"
];
_titleLb
.
textColor
=
[
UIColor
fus_textColorRich
];
_titleLb
.
textAlignment
=
NSTextAlignmentCenter
;
_titleLb
.
text
=
_title
;
[
_titleLb
sizeToFit
];
_titleLb
.
center
=
toolBar
.
center
;
[
toolBar
addSubview
:
_titleLb
];
UIView
*
view
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
toolBar
.
height
-
1
,
toolBar
.
width
,
0
.
5
)];
view
.
backgroundColor
=
[[
UIColor
whiteColor
]
colorWithAlphaComponent
:
0
.
09
];
[
toolBar
addSubview
:
view
];
//
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, toolBar.height - 1, toolBar.width, 0.5)];
//
view.backgroundColor = [[UIColor whiteColor] colorWithAlphaComponent:0.09];
//
[toolBar addSubview:view];
[
self
.
pickerView
reloadAllComponents
];
[
self
.
pickerView
selectRow
:
_currentSelectRow
inComponent
:
0
animated
:
YES
];
...
...
@@ -250,8 +250,8 @@
UIButton
*
titleBtn
=
(
UIButton
*
)
view
;
if
(
!
titleBtn
)
{
titleBtn
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
[
titleBtn
setTitleColor
:[
UIColor
whiteColor
]
forState
:
UIControlStateNormal
];
[
titleBtn
setTitleColor
:[
UIColor
whiteColor
]
forState
:
UIControlStateSelected
];
[
titleBtn
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateNormal
];
[
titleBtn
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateSelected
];
if
(
row
==
0
)
{
_lastSelectBtn
=
titleBtn
;
}
...
...
@@ -320,7 +320,7 @@
_pickerView
.
dataSource
=
self
;
_pickerView
.
tag
=
101
;
[
_pickerView
selectRow
:
0
inComponent
:
0
animated
:
YES
];
_pickerView
.
backgroundColor
=
[
UIColor
colorWithHex
:
@"#191923"
];
_pickerView
.
backgroundColor
=
[
UIColor
fus_appBGColor
];
}
return
_pickerView
;
}
...
...
FuSiLive/Classes/NewsFeed/RichEditor/Controller/FUSPublishNewsFeedViewController.m
View file @
29c473c6
...
...
@@ -258,6 +258,7 @@ FUSImagePickerViewControllerDelegate>
_switchAddress
=
[[
UISwitch
alloc
]
initWithFrame
:
CGRectMake
(
CGRectGetMaxX
(
_addressLb2
.
frame
),
0
,
40
,
view2
.
height
)];
_switchAddress
.
centerY
=
view2
.
height
/
2
.
0
;
_switchAddress
.
tag
=
1
;
_switchAddress
.
onTintColor
=
[
UIColor
fus_themeColor
];
[
_switchAddress
addTarget
:
self
action
:
@selector
(
fus_switchEvent
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
view2
addSubview
:
_switchAddress
];
...
...
@@ -269,6 +270,7 @@ FUSImagePickerViewControllerDelegate>
_switchSync
=
[[
UISwitch
alloc
]
initWithFrame
:
CGRectMake
(
CGRectGetMaxX
(
lb3
.
frame
),
0
,
40
,
view3
.
height
)];
_switchSync
.
centerY
=
view3
.
height
/
2
.
0
;
_switchSync
.
onTintColor
=
[
UIColor
fus_themeColor
];
[
view3
addSubview
:
_switchSync
];
_switchSync
.
tag
=
2
;
[
_switchSync
addTarget
:
self
action
:
@selector
(
fus_switchEvent
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
...
...
FuSiLive/Classes/Zone/Controller/FireFlyMyZone/FUSZoneTaskCenterViewController.m
View file @
29c473c6
...
...
@@ -118,6 +118,7 @@ static NSString *const reuseIdentifyCell = @"cell";
_segmentView
.
segmentDelegate
=
self
;
_segmentView
.
isEqualSpace
=
YES
;
_segmentView
.
itemFont
=
[
UIFont
fus_themeFont
:
15
];
_segmentView
.
itemSelectedFont
=
[
UIFont
fus_themeBoldFont
:
15
];
_segmentView
.
backgroundColor
=
[
UIColor
clearColor
];
[
_segmentView
fus_setItemTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateSelected
];
[
_segmentView
fus_setItemTitleColor
:[
UIColor
fus_textColorMedium
]
forState
:
UIControlStateNormal
];
...
...
FuSiLive/Classes/Zone/View/TaskCenter/FUSTaskCenterListTableViewCell.m
View file @
29c473c6
...
...
@@ -35,7 +35,7 @@
// SaveBtn.titleLabel.adjustsFontSizeToFitWidth = YES;
self
.
operationBtn
.
titleLabel
.
adjustsFontSizeToFitWidth
=
YES
;
self
.
taskNameLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
taskNameLabel
.
font
=
[
UIFont
fus_themeFont
:
15
];
self
.
taskNameLabel
.
font
=
[
UIFont
fus_theme
Bold
Font
:
15
];
}
...
...
FuSiLive/Classes/Zone/View/TaskCenter/FUSTaskCenterProcessTableViewCell.m
View file @
29c473c6
...
...
@@ -49,6 +49,7 @@
[
super
awakeFromNib
];
// self.operationBtn.titleLabel.adjustsFontSizeToFitWidth = YES;
self
.
taskTitleLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
taskTitleLabel
.
font
=
[
UIFont
fus_themeBoldFont
:
15
];
}
// 重写setter方法赋值
...
...
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