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
4e4d1a30
Commit
4e4d1a30
authored
Feb 22, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整 stepview 的 UI ---- 文字大小 及 使用
parent
0a645be6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
17 deletions
+20
-17
YHSelectCountryViewController.swift
...Information(主申请人信息)/C/YHSelectCountryViewController.swift
+3
-3
YHStepView.swift
...s(流程)/MainApplicantInformation(主申请人信息)/V/YHStepView.swift
+11
-8
YHWorkActionView.swift
...erviceProcess(流程)/WorkExperience/V/YHWorkActionView.swift
+1
-1
YHWorkExampleTypeView.swift
...eProcess(流程)/WorkExperience/V/YHWorkExampleTypeView.swift
+1
-1
YHWorkMessageSelectTableViewCell.swift
...)/WorkExperience/V/YHWorkMessageSelectTableViewCell.swift
+2
-2
YHCodeSueecssViewController.swift
...ses/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
+1
-1
YHPhoneLoginViewController.swift
...sses/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/C/YHSelectCountryViewController.swift
View file @
4e4d1a30
...
...
@@ -170,7 +170,7 @@ extension YHSelectCountryViewController: UICollectionViewDelegate, UICollectionV
func
collectionView
(
_
collectionView
:
UICollectionView
,
layout
collectionViewLayout
:
UICollectionViewLayout
,
sizeForItemAt
indexPath
:
IndexPath
)
->
CGSize
{
let
string
=
hotDataSource
[
indexPath
.
row
]
let
size
=
(
string
as
NSString
)
.
size
(
withAttributes
:
[
NSAttributedString
.
Key
.
font
:
kFont
(
s
ize
:
13
)])
let
size
=
(
string
as
NSString
)
.
size
(
withAttributes
:
[
NSAttributedString
.
Key
.
font
:
UIFont
.
PFSC_R
(
ofS
ize
:
13
)])
return
CGSize
(
width
:
size
.
width
+
25
,
height
:
32
)
// 这里可以根据需求设置不同的尺寸
}
...
...
@@ -199,7 +199,7 @@ class YHCountryCollectionViewCell: UICollectionViewCell {
label
=
{
let
view
=
UILabel
()
view
.
textAlignment
=
.
center
view
.
font
=
kFont
(
s
ize
:
13
)
view
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
13
)
view
.
textColor
=
UIColor
(
hex
:
0x222222
)
view
.
backgroundColor
=
UIColor
(
hex
:
0xf8f9fb
)
view
.
layer
.
masksToBounds
=
true
...
...
@@ -240,7 +240,7 @@ class YHCountryTableViewCell: UITableViewCell {
func
setupUI
()
{
titleLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kFont
(
s
ize
:
13
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
13
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
return
label
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHStepView.swift
View file @
4e4d1a30
...
...
@@ -69,10 +69,10 @@ class YHStepView: UIScrollView {
}
let
label
=
UILabel
()
label
.
text
=
array
[
i
]
label
.
font
=
kFont
(
s
ize
:
13
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
13
)
label
.
textAlignment
=
.
center
label
.
tag
=
2000
+
i
label
.
textColor
=
UIColor
.
init
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
addSubview
(
label
)
label
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalTo
(
button
.
snp
.
centerX
)
...
...
@@ -100,13 +100,13 @@ class YHStepView: UIScrollView {
if
currentIndex
==
i
{
button
.
setBackgroundImage
(
UIImage
(
named
:
"service_step_now"
),
for
:
.
normal
)
label
.
textColor
=
UIColor
.
init
(
hex
:
0x4388ff
)
label
.
textColor
=
UIColor
.
brandMainColor
}
else
if
i
<
currentIndex
{
button
.
setBackgroundImage
(
UIImage
(
named
:
"service_step_success"
),
for
:
.
normal
)
label
.
textColor
=
UIColor
.
init
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
}
else
{
button
.
setBackgroundImage
(
UIImage
(
named
:
"service_step_fail"
),
for
:
.
normal
)
label
.
textColor
=
UIColor
.
init
(
hex
:
0xc0c0c0
)
label
.
textColor
=
UIColor
.
placeHolderColor
}
}
}
...
...
@@ -125,13 +125,16 @@ class YHStepView: UIScrollView {
}
if
currentIndex
==
i
{
button
?
.
setBackgroundImage
(
UIImage
(
named
:
"service_step_now"
),
for
:
.
normal
)
lable
?
.
textColor
=
UIColor
.
init
(
hex
:
0x4388ff
)
lable
?
.
textColor
=
UIColor
.
brandMainColor
lable
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
13
)
}
else
if
i
<
currentIndex
{
button
?
.
setBackgroundImage
(
UIImage
(
named
:
"service_step_success"
),
for
:
.
normal
)
lable
?
.
textColor
=
UIColor
.
init
(
hex
:
0x222222
)
lable
?
.
textColor
=
UIColor
.
mainTextColor
lable
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
}
else
{
button
?
.
setBackgroundImage
(
UIImage
(
named
:
"service_step_fail"
),
for
:
.
normal
)
lable
?
.
textColor
=
UIColor
.
init
(
hex
:
0xc0c0c0
)
lable
?
.
textColor
=
UIColor
.
placeHolderColor
lable
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkActionView.swift
View file @
4e4d1a30
...
...
@@ -55,7 +55,7 @@ class YHWorkActionView: UIView {
exampleButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kFont
(
s
ize
:
13
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
13
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"参考示例"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x2f7ef6
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExampleTypeView.swift
View file @
4e4d1a30
...
...
@@ -72,7 +72,7 @@ class YHWorkExampleTypeView: UIView {
button
.
setTitle
(
dataSource
[
i
],
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x222222
),
for
:
.
normal
)
button
.
setBackgroundColor
(
color
:
UIColor
(
hex
:
0xf8f9fb
),
forState
:
.
normal
)
button
.
titleLabel
?
.
font
=
kFont
(
s
ize
:
13
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
13
)
button
.
layer
.
cornerRadius
=
16
button
.
tag
=
3000
+
i
button
.
addTarget
(
self
,
action
:
#selector(
exampleClick(sender:)
)
,
for
:
.
touchUpInside
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkMessageSelectTableViewCell.swift
View file @
4e4d1a30
...
...
@@ -109,7 +109,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
button
.
setTitleColor
(
UIColor
(
hex
:
0x2f7ef6
),
for
:
.
selected
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x222222
),
for
:
.
normal
)
button
.
setTitle
(
"是"
,
for
:
.
normal
)
button
.
titleLabel
?
.
font
=
kFont
(
s
ize
:
13
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
13
)
button
.
layer
.
cornerRadius
=
16
button
.
layer
.
borderWidth
=
1
button
.
layer
.
borderColor
=
UIColor
(
hex
:
0x2f7ef6
)
.
cgColor
...
...
@@ -131,7 +131,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
button
.
setTitleColor
(
UIColor
(
hex
:
0x2f7ef6
),
for
:
.
selected
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x222222
),
for
:
.
normal
)
button
.
setTitle
(
"否"
,
for
:
.
normal
)
button
.
titleLabel
?
.
font
=
kFont
(
s
ize
:
13
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
13
)
button
.
layer
.
cornerRadius
=
16
button
.
addTarget
(
self
,
action
:
#selector(
leftClick
)
,
for
:
.
touchUpInside
)
return
button
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
View file @
4e4d1a30
...
...
@@ -78,7 +78,7 @@ class YHCodeSueecssViewController: YHBaseViewController {
loginSubTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"已发送至
\(
phoneNumber
??
""
)
"
label
.
font
=
kFont
(
s
ize
:
13
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
13
)
label
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
return
label
}()
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
View file @
4e4d1a30
...
...
@@ -96,7 +96,7 @@ class YHPhoneLoginViewController: YHBaseViewController {
loginSubTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"手机号首次登录自动注册"
label
.
font
=
kFont
(
s
ize
:
13
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
13
)
label
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
return
label
}()
...
...
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