Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
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
mobile-group
galaxy-iOS
Commits
e741ca53
Commit
e741ca53
authored
Feb 01, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI 微调
parent
8dc576d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
YHServiceCenterMainViewController.swift
...ntService(服务中心)/C/YHServiceCenterMainViewController.swift
+0
-2
YHLoginTipsView.swift
.../Modules/IntelligentService(服务中心)/V/YHLoginTipsView.swift
+7
-6
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceCenterMainViewController.swift
View file @
e741ca53
...
...
@@ -50,8 +50,6 @@ class YHServiceCenterMainViewController: YHBaseViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
setupUI
()
loadData
()
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHLoginTipsView.swift
View file @
e741ca53
...
...
@@ -39,8 +39,8 @@ class YHLoginTipsView: UIView {
private
lazy
var
tipsLab
:
UILabel
=
{
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
(
red
:
0.533
,
green
:
0.561
,
blue
:
0.596
,
alpha
:
1
)
lable
.
font
=
kFont
(
s
ize
:
14
)
lable
.
textColor
=
UIColor
.
labelTextColor2
lable
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
lable
.
textAlignment
=
.
center
lable
.
text
=
"登录后可以查看"
return
lable
...
...
@@ -49,10 +49,10 @@ class YHLoginTipsView: UIView {
private
lazy
var
loginBtn
:
UIButton
=
{
let
btn
=
UIButton
(
type
:
.
custom
)
btn
.
setTitle
(
"去登录"
,
for
:
.
normal
)
btn
.
setBackgroundImage
(
UIImage
.
from
(
color
:
UIColor
(
hex
:
0x4D9FF8
,
alpha
:
1.0
),
rect
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
10
,
height
:
10
)),
for
:
.
normal
)
btn
.
layer
.
cornerRadius
=
8
btn
.
layer
.
cornerRadius
=
kCornerRadius6
btn
.
clipsToBounds
=
true
btn
.
titleLabel
?
.
font
=
kFont
(
size
:
12
)
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
12
)
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
return
btn
}()
...
...
@@ -61,7 +61,6 @@ class YHLoginTipsView: UIView {
initView
()
}
private
func
initView
()
{
addSubview
(
iconImgV
)
iconImgV
.
snp
.
makeConstraints
{
make
in
...
...
@@ -88,6 +87,8 @@ class YHLoginTipsView: UIView {
}
loginBtn
.
addTarget
(
self
,
action
:
#selector(
clickLoginBtn
)
,
for
:
.
touchUpInside
)
loginBtn
.
layoutIfNeeded
()
loginBtn
.
backgroundGradient
()
}
required
init
?(
coder
:
NSCoder
)
{
...
...
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