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
28598d31
Commit
28598d31
authored
Jun 25, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 我的名片
parent
c3f5ee13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
YHMyNameCardAvatarInfoCell.swift
.../Modules/Community(社区)/V/YHMyNameCardAvatarInfoCell.swift
+4
-0
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyNameCardAvatarInfoCell.swift
View file @
28598d31
...
@@ -18,6 +18,8 @@ class YHMyNameCardAvatarInfoCell: UITableViewCell {
...
@@ -18,6 +18,8 @@ class YHMyNameCardAvatarInfoCell: UITableViewCell {
var
userModel
:
YHUserNameCardInfo
=
YHUserNameCardInfo
()
{
var
userModel
:
YHUserNameCardInfo
=
YHUserNameCardInfo
()
{
didSet
{
didSet
{
self
.
professionalLabel
.
textColor
=
UIColor
.
mainTextColor
self
.
detailLabel
.
textColor
=
UIColor
.
mainTextColor50
self
.
editBtn
.
isHidden
=
!
self
.
userModel
.
isCurrentUser
self
.
editBtn
.
isHidden
=
!
self
.
userModel
.
isCurrentUser
if
let
url
=
URL
(
string
:
self
.
userModel
.
avatar
)
{
if
let
url
=
URL
(
string
:
self
.
userModel
.
avatar
)
{
...
@@ -47,6 +49,7 @@ class YHMyNameCardAvatarInfoCell: UITableViewCell {
...
@@ -47,6 +49,7 @@ class YHMyNameCardAvatarInfoCell: UITableViewCell {
}
else
{
}
else
{
self
.
professionalLabel
.
text
=
""
self
.
professionalLabel
.
text
=
""
if
self
.
userModel
.
isCurrentUser
{
if
self
.
userModel
.
isCurrentUser
{
self
.
professionalLabel
.
textColor
=
UIColor
.
mainTextColor30
self
.
professionalLabel
.
text
=
"填写职位 | 填写所属行业"
self
.
professionalLabel
.
text
=
"填写职位 | 填写所属行业"
}
}
}
}
...
@@ -56,6 +59,7 @@ class YHMyNameCardAvatarInfoCell: UITableViewCell {
...
@@ -56,6 +59,7 @@ class YHMyNameCardAvatarInfoCell: UITableViewCell {
}
else
{
}
else
{
self
.
detailLabel
.
text
=
""
self
.
detailLabel
.
text
=
""
if
self
.
userModel
.
isCurrentUser
{
if
self
.
userModel
.
isCurrentUser
{
self
.
detailLabel
.
textColor
=
UIColor
.
mainTextColor30
self
.
detailLabel
.
text
=
"填写个性签名,展现真我风采,彰显独特身份"
self
.
detailLabel
.
text
=
"填写个性签名,展现真我风采,彰显独特身份"
}
}
}
}
...
...
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