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
dbb85ff5
Commit
dbb85ff5
authored
Feb 26, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into develop
parents
6da816d0
06a57ee0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
YHCommunityViewController.swift
...s/Modules/Community(社区)/C/YHCommunityViewController.swift
+11
-10
YHMyNewViewController.swift
...xy/Classes/Modules/Mine(我的)/C/YHMyNewViewController.swift
+4
-4
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHCommunityViewController.swift
View file @
dbb85ff5
...
...
@@ -12,8 +12,9 @@ import JXSegmentedView
class
YHCommunityViewController
:
YHBaseViewController
{
var
defaltIndex
:
Int
=
0
let
friendViewModel
=
YHMatchUserViewModel
()
let
arrItemTitles
=
[
"会话"
,
"人脉"
,
"活动"
]
// let arrItemTitles = ["会话", "人脉","活动"]
let
arrItemTitles
=
[
"会话"
]
var
arrItemVCs
:
[
YHBaseViewController
]
=
[]
private
lazy
var
princleVM
:
YHPrincleViewModel
=
{
...
...
@@ -155,15 +156,15 @@ class YHCommunityViewController: YHBaseViewController {
if
i
==
0
{
// 消息
let
vc
=
YHMessageListVC
()
arrItemVCs
.
append
(
vc
)
}
else
if
i
==
1
{
// 人脉
let
vc
=
YHMatchUserViewController
()
arrItemVCs
.
append
(
vc
)
}
else
if
i
==
2
{
// 活动
let
vc
=
YHActivityListViewController
()
arrItemVCs
.
append
(
vc
)
}
// } else if i == 1 { // 人脉
// let vc = YHMatchUserViewController()
// arrItemVCs.append(vc)
//
// } else if i == 2 { // 活动
// let vc = YHActivityListViewController()
// arrItemVCs.append(vc)
// }
}
//segmentedViewDataSource一定要通过属性强持有!!!!!!!!!
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyNewViewController.swift
View file @
dbb85ff5
...
...
@@ -250,10 +250,10 @@ class YHMyNewViewController: YHBaseViewController {
serviceGroupArr
.
append
(
item
)
}
if
YHUatHelper
.
shared
.
getUatModuleStatusBy
(
module
:
.
Mine_MyActivity
)
==
1
{
let
item
=
PersonalModuleItem
(
icon
:
"mine_item_activity"
,
title
:
"我的活动"
.
local
,
type
:
.
myActivity
)
serviceGroupArr
.
append
(
item
)
}
//
if YHUatHelper.shared.getUatModuleStatusBy(module: .Mine_MyActivity) == 1 {
//
let item = PersonalModuleItem(icon: "mine_item_activity", title: "我的活动".local, type:.myActivity)
//
serviceGroupArr.append(item)
//
}
// 其他功能
do
{
...
...
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