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
ebbf1004
Commit
ebbf1004
authored
Sep 29, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 名片
parent
25483272
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
0 deletions
+42
-0
YHMyEducationCell.swift
...y/Classes/Modules/Community(社区)/V/YHMyEducationCell.swift
+15
-0
YHMyIntroductionCell.swift
...lasses/Modules/Community(社区)/V/YHMyIntroductionCell.swift
+14
-0
YHMyWorkExperienceCell.swift
...sses/Modules/Community(社区)/V/YHMyWorkExperienceCell.swift
+13
-0
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyEducationCell.swift
View file @
ebbf1004
...
...
@@ -118,6 +118,12 @@ class YHMyEducationCell: UITableViewCell {
btn
.
addTarget
(
self
,
action
:
#selector(
didHiddenBtnClicked
)
,
for
:
.
touchUpInside
)
return
btn
}()
lazy
var
lineView
:
UIView
=
{
let
v
=
UIView
()
v
.
backgroundColor
=
.
brandGrayColor3
return
v
}()
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
...
...
@@ -144,6 +150,7 @@ class YHMyEducationCell: UITableViewCell {
cardView
.
addSubview
(
self
.
detailLabel
)
cardView
.
addSubview
(
self
.
editBtn
)
cardView
.
addSubview
(
self
.
hiddenBtn
)
cardView
.
addSubview
(
lineView
)
cardView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
...
...
@@ -181,6 +188,14 @@ class YHMyEducationCell: UITableViewCell {
make
.
right
.
equalTo
(
-
16
)
make
.
bottom
.
equalTo
(
-
16
)
}
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
bottom
.
equalTo
(
0
)
make
.
height
.
equalTo
(
1
)
}
}
@objc
func
edit
()
{
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyIntroductionCell.swift
View file @
ebbf1004
...
...
@@ -79,6 +79,12 @@ class YHMyIntroductionCell: UITableViewCell {
btn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
20
,
left
:
20
,
bottom
:
20
,
right
:
20
)
return
btn
}()
lazy
var
lineView
:
UIView
=
{
let
v
=
UIView
()
v
.
backgroundColor
=
.
brandGrayColor3
return
v
}()
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
...
...
@@ -99,6 +105,7 @@ class YHMyIntroductionCell: UITableViewCell {
cardView
.
addSubview
(
self
.
titleLabel
)
cardView
.
addSubview
(
self
.
detailLabel
)
cardView
.
addSubview
(
self
.
editBtn
)
cardView
.
addSubview
(
lineView
)
cardView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
...
...
@@ -122,6 +129,13 @@ class YHMyIntroductionCell: UITableViewCell {
make
.
right
.
equalTo
(
-
16
)
make
.
bottom
.
equalTo
(
-
16
)
}
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
bottom
.
equalTo
(
0
)
make
.
height
.
equalTo
(
1
)
}
}
@objc
func
edit
()
{
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyWorkExperienceCell.swift
View file @
ebbf1004
...
...
@@ -213,6 +213,12 @@ class YHMyWorkExperienceCell: UITableViewCell {
return
view
}()
lazy
var
lineView
:
UIView
=
{
let
v
=
UIView
()
v
.
backgroundColor
=
.
brandGrayColor3
return
v
}()
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
...
...
@@ -235,6 +241,7 @@ class YHMyWorkExperienceCell: UITableViewCell {
cardView
.
addSubview
(
self
.
companyView
)
cardView
.
addSubview
(
self
.
professionView
)
cardView
.
addSubview
(
self
.
industryView
)
cardView
.
addSubview
(
lineView
)
cardView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
...
...
@@ -282,6 +289,12 @@ class YHMyWorkExperienceCell: UITableViewCell {
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
16
)
}
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
bottom
.
equalTo
(
0
)
make
.
height
.
equalTo
(
1
)
}
}
func
getHeight
(
text
:
String
,
font
:
UIFont
,
width
:
CGFloat
)
->
CGFloat
{
...
...
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