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
3ce58cfc
Commit
3ce58cfc
authored
Oct 12, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// UI
parent
7464c0d2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
YHMyEducationCell.swift
...y/Classes/Modules/Community(社区)/V/YHMyEducationCell.swift
+2
-2
YHNameCardContainerViewController.swift
...的)/NameCard(名片)/C/YHNameCardContainerViewController.swift
+4
-3
YHNewNameCardViewController.swift
...Mine(我的)/NameCard(名片)/C/YHNewNameCardViewController.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyEducationCell.swift
View file @
3ce58cfc
...
...
@@ -82,14 +82,14 @@ class YHMyEducationCell: UITableViewCell {
let
label
=
UILabel
()
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_
M
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_
R
(
ofSize
:
14
)
label
.
numberOfLines
=
0
return
label
}()
lazy
var
detailLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
textColor
=
UIColor
.
mainTextColor70
label
.
textColor
=
UIColor
.
brandGrayColor7
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
numberOfLines
=
0
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/NameCard(名片)/C/YHNameCardContainerViewController.swift
View file @
3ce58cfc
...
...
@@ -49,7 +49,7 @@ class YHNameCardContainerViewController: YHBaseViewController {
// tab
lazy
var
segmentedView
:
JXSegmentedView
=
{
let
view
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
30
))
let
view
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
48
))
view
.
backgroundColor
=
.
white
return
view
}()
...
...
@@ -108,18 +108,19 @@ class YHNameCardContainerViewController: YHBaseViewController {
indicator
.
indicatorHeight
=
2.0
indicator
.
indicatorColor
=
UIColor
.
brandGrayColor8
indicator
.
indicatorCornerRadius
=
0
indicator
.
verticalOffset
=
4
segmentedView
.
indicators
=
[
indicator
]
segmentedView
.
defaultSelectedIndex
=
defaultIndex
view
.
addSubview
(
segmentedView
)
segmentedView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
top
.
equalToSuperview
()
make
.
height
.
equalTo
(
30
)
make
.
height
.
equalTo
(
48
)
}
view
.
addSubview
(
listContainerView
)
listContainerView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
top
.
equalTo
(
segmentedView
.
snp
.
bottom
)
.
offset
(
0.0
)
make
.
height
.
equalTo
(
KScreenHeight
-
k_Height_NavigationtBarAndStatuBar
-
30
-
k_Height_safeAreaInsetsBottom
()
-
46
-
10
)
make
.
height
.
equalTo
(
KScreenHeight
-
k_Height_NavigationtBarAndStatuBar
-
48
-
k_Height_safeAreaInsetsBottom
()
-
46
-
10
)
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/NameCard(名片)/C/YHNewNameCardViewController.swift
View file @
3ce58cfc
...
...
@@ -70,8 +70,8 @@ class YHNewNameCardViewController: YHBaseViewController {
}
view
.
addSubview
(
nameTextView
)
nameTextView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
20
)
make
.
right
.
equalTo
(
-
20
)
make
.
left
.
equalTo
(
15
)
make
.
right
.
equalTo
(
-
15
)
make
.
top
.
equalTo
(
avatarImgView
.
snp
.
bottom
)
.
offset
(
12
)
}
view
.
addSubview
(
professionalLabel
)
...
...
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