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
82e06c94
Commit
82e06c94
authored
Jun 27, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 行业显示
parent
c17aacd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
2 deletions
+27
-2
YHAddFriendCardCell.swift
...Classes/Modules/Community(社区)/V/YHAddFriendCardCell.swift
+13
-1
YHMyFriendsCell.swift
...axy/Classes/Modules/Community(社区)/V/YHMyFriendsCell.swift
+14
-1
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHAddFriendCardCell.swift
View file @
82e06c94
...
...
@@ -47,10 +47,22 @@ class YHAddFriendCardCell: UITableViewCell {
self
.
headImgV
.
image
=
UIImage
(
named
:
"people_head_default"
)
}
self
.
nameLabel
.
text
=
self
.
friendModel
.
username
self
.
professionalLabel
.
text
=
self
.
friendModel
.
position
self
.
msgLabel
.
text
=
self
.
friendModel
.
verifyInfo
self
.
signImgV
.
isHidden
=
!
self
.
friendModel
.
isSign
var
text1
=
""
var
text1Arr
:[
String
]
=
[]
if
!
self
.
friendModel
.
position
.
isEmpty
{
text1Arr
.
append
(
self
.
friendModel
.
position
)
}
if
!
self
.
friendModel
.
industry
.
isEmpty
{
text1Arr
.
append
(
self
.
friendModel
.
industry
)
}
if
text1Arr
.
count
>
0
{
text1
=
text1Arr
.
joined
(
separator
:
" | "
)
}
self
.
professionalLabel
.
text
=
text1
self
.
scrollView
.
snp
.
updateConstraints
{
make
in
let
msgHeight
=
self
.
getHeight
(
text
:
self
.
friendModel
.
verifyInfo
,
font
:
self
.
msgLabel
.
font
!
,
width
:
KScreenWidth
-
40.0
*
2
)
make
.
height
.
equalTo
(
msgHeight
>=
55.0
?
52
+
12
:
msgHeight
+
12
)
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyFriendsCell.swift
View file @
82e06c94
...
...
@@ -20,9 +20,22 @@ class YHMyFriendsCell: UITableViewCell {
self
.
headImgV
.
image
=
UIImage
(
named
:
"people_head_default"
)
}
self
.
nameLabel
.
text
=
self
.
friendModel
.
username
self
.
professionalLabel
.
text
=
self
.
friendModel
.
position
self
.
detailLabel
.
text
=
self
.
friendModel
.
bio
self
.
signImgV
.
isHidden
=
!
self
.
friendModel
.
isSign
var
text1
=
""
var
text1Arr
:[
String
]
=
[]
if
!
self
.
friendModel
.
position
.
isEmpty
{
text1Arr
.
append
(
self
.
friendModel
.
position
)
}
if
!
self
.
friendModel
.
industry
.
isEmpty
{
text1Arr
.
append
(
self
.
friendModel
.
industry
)
}
if
text1Arr
.
count
>
0
{
text1
=
text1Arr
.
joined
(
separator
:
" | "
)
}
self
.
professionalLabel
.
text
=
text1
}
}
...
...
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