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
95247cd3
Commit
95247cd3
authored
Sep 29, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 社区
parent
11218e24
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
YHCommunityViewController.swift
...s/Modules/Community(社区)/C/YHCommunityViewController.swift
+3
-2
YHFriendRequestView.swift
...Classes/Modules/Community(社区)/V/YHFriendRequestView.swift
+3
-3
YHMyFriendsCell.swift
...axy/Classes/Modules/Community(社区)/V/YHMyFriendsCell.swift
+2
-1
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHCommunityViewController.swift
View file @
95247cd3
...
...
@@ -74,6 +74,7 @@ class YHCommunityViewController: YHBaseViewController {
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
15
)
btn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
20
,
left
:
20
,
bottom
:
20
,
right
:
20
)
btn
.
addTarget
(
self
,
action
:
#selector(
didFriendsBtnClicked
)
,
for
:
.
touchUpInside
)
btn
.
isHidden
=
true
return
btn
}()
...
...
@@ -233,7 +234,7 @@ class YHCommunityViewController: YHBaseViewController {
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
requestFriendRequest
()
//
requestFriendRequest()
// 处于第一个item的时候,才允许屏幕边缘手势返回
navigationController
?
.
interactivePopGestureRecognizer
?
.
isEnabled
=
(
segmentedView
.
selectedIndex
==
0
)
showAlert
()
...
...
@@ -305,7 +306,7 @@ extension YHCommunityViewController: JXSegmentedViewDelegate {
navigationController
?
.
interactivePopGestureRecognizer
?
.
isEnabled
=
(
segmentedView
.
selectedIndex
==
0
)
if
segmentedView
.
selectedIndex
==
3
{
// 人脉
bgImgV
.
isHidden
=
false
friendsBtn
.
isHidden
=
false
//
friendsBtn.isHidden = false
cleanAllMsgBtn
.
isHidden
=
true
segmentedDataSource
.
titleNormalColor
=
UIColor
(
hex
:
0xFFFFFF
,
alpha
:
0.6
)
segmentedDataSource
.
titleSelectedColor
=
.
white
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHFriendRequestView.swift
View file @
95247cd3
...
...
@@ -117,11 +117,11 @@ class YHFriendRequestView: UIView {
let
btn
=
UIButton
()
btn
.
setTitle
(
"取消"
,
for
:
.
normal
)
btn
.
backgroundColor
=
.
white
btn
.
setTitleColor
(
.
brand
MainColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
brand
GrayColor8
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
14
)
btn
.
layer
.
cornerRadius
=
3
btn
.
layer
.
borderWidth
=
1.0
btn
.
layer
.
borderColor
=
UIColor
.
brand
MainColor
.
cgColor
btn
.
layer
.
borderColor
=
UIColor
.
brand
GrayColor8
.
cgColor
btn
.
addTarget
(
self
,
action
:
#selector(
didCancelBtnClicked
)
,
for
:
.
touchUpInside
)
return
btn
}()
...
...
@@ -129,7 +129,7 @@ class YHFriendRequestView: UIView {
lazy
var
sendBtn
:
UIButton
=
{
let
btn
=
UIButton
()
btn
.
setTitle
(
"发送申请"
,
for
:
.
normal
)
btn
.
backgroundColor
=
UIColor
.
brand
MainColor
btn
.
backgroundColor
=
UIColor
.
brand
GrayColor8
btn
.
setTitleColor
(
UIColor
.
white
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
14
)
btn
.
layer
.
cornerRadius
=
3
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyFriendsCell.swift
View file @
95247cd3
...
...
@@ -21,7 +21,7 @@ class YHMyFriendsCell: UITableViewCell {
}
self
.
nameLabel
.
text
=
self
.
friendModel
.
username
self
.
detailLabel
.
text
=
self
.
friendModel
.
signature
self
.
signImgV
.
isHidden
=
!
self
.
friendModel
.
isSign
//
self.signImgV.isHidden = !self.friendModel.isSign
var
text1
=
""
var
text1Arr
:
[
String
]
=
[]
...
...
@@ -65,6 +65,7 @@ class YHMyFriendsCell: UITableViewCell {
lazy
var
signImgV
:
UIImageView
=
{
let
view
=
UIImageView
()
view
.
image
=
UIImage
(
named
:
"people_sign"
)
view
.
isHidden
=
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