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
c3f5ee13
Commit
c3f5ee13
authored
Jun 25, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 人脉
parent
bbffdffa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
YHMyNameCardAvatarInfoCell.swift
.../Modules/Community(社区)/V/YHMyNameCardAvatarInfoCell.swift
+20
-3
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyNameCardAvatarInfoCell.swift
View file @
c3f5ee13
...
...
@@ -41,15 +41,32 @@ class YHMyNameCardAvatarInfoCell: UITableViewCell {
name
+=
zodiacTag
}
self
.
nameTextView
.
attributed
.
text
=
name
self
.
professionalLabel
.
text
=
self
.
userModel
.
position
self
.
detailLabel
.
text
=
self
.
userModel
.
signature
if
!
self
.
userModel
.
position
.
isEmpty
{
self
.
professionalLabel
.
text
=
self
.
userModel
.
position
}
else
{
self
.
professionalLabel
.
text
=
""
if
self
.
userModel
.
isCurrentUser
{
self
.
professionalLabel
.
text
=
"填写职位 | 填写所属行业"
}
}
if
!
self
.
userModel
.
signature
.
isEmpty
{
self
.
detailLabel
.
text
=
self
.
userModel
.
signature
}
else
{
self
.
detailLabel
.
text
=
""
if
self
.
userModel
.
isCurrentUser
{
self
.
detailLabel
.
text
=
"填写个性签名,展现真我风采,彰显独特身份"
}
}
self
.
signImgV
.
isHidden
=
!
self
.
userModel
.
isSigned
}
}
lazy
var
headImgV
:
UIImageView
=
{
let
view
=
UIImageView
()
view
.
image
=
UIImage
(
named
:
""
)
view
.
image
=
UIImage
(
named
:
"
people_head_default
"
)
view
.
layer
.
cornerRadius
=
74.0
/
2.0
view
.
clipsToBounds
=
true
return
view
...
...
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