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
bfc7bb83
Commit
bfc7bb83
authored
Jul 24, 2024
by
DavidHuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理 tabbar上 view不消失的场景
parent
1520a182
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
10 deletions
+16
-10
YHHomeHoldViewPageViewController.swift
...Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
+0
-7
YHHomeIdentityViewController.swift
...ses/Modules/Home(首页)/C/YHHomeIdentityViewController.swift
+14
-3
YHUatHelper.swift
.../galaxy/Classes/Modules/UatModule(灰度功能)/YHUatHelper.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
View file @
bfc7bb83
...
@@ -283,13 +283,6 @@ extension YHHomeHoldViewPageViewController {
...
@@ -283,13 +283,6 @@ extension YHHomeHoldViewPageViewController {
extension
YHHomeHoldViewPageViewController
:
JXSegmentedViewDelegate
{
extension
YHHomeHoldViewPageViewController
:
JXSegmentedViewDelegate
{
func
segmentedView
(
_
segmentedView
:
JXSegmentedView
,
didSelectedItemAt
index
:
Int
)
{
func
segmentedView
(
_
segmentedView
:
JXSegmentedView
,
didSelectedItemAt
index
:
Int
)
{
navigationController
?
.
interactivePopGestureRecognizer
?
.
isEnabled
=
(
segmentedView
.
selectedIndex
==
0
)
navigationController
?
.
interactivePopGestureRecognizer
?
.
isEnabled
=
(
segmentedView
.
selectedIndex
==
0
)
if
segmentedView
.
selectedIndex
!=
1
{
var
model
=
TabBarShareModel
()
model
.
showFlag
=
false
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
changeShareViewStatusOnTabBarNotifiction
,
object
:
model
)
}
self
.
segmentedView
.
reloadDataWithoutListContainer
()
self
.
segmentedView
.
reloadDataWithoutListContainer
()
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeIdentityViewController.swift
View file @
bfc7bb83
...
@@ -157,6 +157,19 @@ class YHHomeIdentityViewController: YHBaseViewController {
...
@@ -157,6 +157,19 @@ class YHHomeIdentityViewController: YHBaseViewController {
make
.
top
.
equalTo
(
headImgView
.
snp
.
bottom
)
.
offset
(
8.0
)
make
.
top
.
equalTo
(
headImgView
.
snp
.
bottom
)
.
offset
(
8.0
)
}
}
}
}
override
func
viewWillDisappear
(
_
animated
:
Bool
)
{
super
.
viewWillDisappear
(
animated
)
hideBottomOnTabbar
()
}
func
hideBottomOnTabbar
()
{
//隐藏
var
model
=
TabBarShareModel
()
model
.
showFlag
=
false
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
changeShareViewStatusOnTabBarNotifiction
,
object
:
model
)
}
}
}
extension
YHHomeIdentityViewController
:
JXSegmentedViewDelegate
{
extension
YHHomeIdentityViewController
:
JXSegmentedViewDelegate
{
...
@@ -245,9 +258,7 @@ extension YHHomeIdentityViewController: UIScrollViewDelegate {
...
@@ -245,9 +258,7 @@ extension YHHomeIdentityViewController: UIScrollViewDelegate {
if
self
.
isShowBottomView
{
if
self
.
isShowBottomView
{
self
.
isShowBottomView
=
false
self
.
isShowBottomView
=
false
printLog
(
"ABC hide:
\(
self
.
scrollContentY
)
"
)
printLog
(
"ABC hide:
\(
self
.
scrollContentY
)
"
)
var
model
=
TabBarShareModel
()
hideBottomOnTabbar
()
model
.
showFlag
=
false
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
changeShareViewStatusOnTabBarNotifiction
,
object
:
model
)
}
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/UatModule(灰度功能)/YHUatHelper.swift
View file @
bfc7bb83
...
@@ -83,6 +83,8 @@ extension YHUatHelper {
...
@@ -83,6 +83,8 @@ extension YHUatHelper {
//获取功能模块的展示状态
//获取功能模块的展示状态
func
getUatModuleStatusBy
(
module
:
YHUatModules
)
->
Bool
{
func
getUatModuleStatusBy
(
module
:
YHUatModules
)
->
Bool
{
return
true
return
true
}
}
}
}
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