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
f4b7a881
Commit
f4b7a881
authored
Jul 24, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 首页身份
parent
2ab027d9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
11 deletions
+2
-11
YHHomeHoldViewPageViewController.swift
...Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
+0
-9
YHHomeIdentityViewController.swift
...ses/Modules/Home(首页)/C/YHHomeIdentityViewController.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
View file @
f4b7a881
...
...
@@ -17,8 +17,6 @@ class YHHomeHoldViewPageViewController: YHBaseViewController {
var
arrItemVCs
:
[
YHBaseViewController
]
=
[]
var
identityVC
:
YHHomeIdentityViewController
?
lazy
var
segmentedView
:
JXSegmentedView
=
{
let
view
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
k_Height_safeAreaInsetsTop
(),
width
:
KScreenWidth
,
height
:
44
))
view
.
backgroundColor
=
.
clear
...
...
@@ -236,7 +234,6 @@ extension YHHomeHoldViewPageViewController {
}
else
if
i
==
1
{
//身份
let
vc
=
YHHomeIdentityViewController
()
self
.
identityVC
=
vc
arrItemVCs
.
append
(
vc
)
}
else
if
i
==
2
{
//生活
...
...
@@ -295,12 +292,6 @@ extension YHHomeHoldViewPageViewController: JXSegmentedViewDelegate {
}
self
.
segmentedView
.
reloadDataWithoutListContainer
()
if
index
==
1
{
// 点击了身份tab 需要重置二级tab为第一个
if
let
vc
=
self
.
identityVC
{
vc
.
updateSelectIndex
(
0
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeIdentityViewController.swift
View file @
f4b7a881
...
...
@@ -237,8 +237,8 @@ extension YHHomeIdentityViewController: UIScrollViewDelegate {
var
model
=
TabBarShareModel
()
model
.
showFlag
=
true
model
.
shareUrl
=
""
model
.
codeUrl
=
""
model
.
downloadUrl
=
""
model
.
codeUrl
=
self
.
viewModel
.
detailModel
.
imageURLDefault
model
.
downloadUrl
=
self
.
viewModel
.
detailModel
.
imageURLDefaultDownload
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
changeShareViewStatusOnTabBarNotifiction
,
object
:
model
)
}
...
...
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