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
f2ab1260
Commit
f2ab1260
authored
May 10, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 删除不必要的浏览请求
parent
77c1c514
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
YHSearchInfomationVC.swift
...axy/Classes/Modules/Home(首页)/C/YHSearchInfomationVC.swift
+0
-5
YHHomeCollectionViewCell.swift
...Classes/Modules/Home(首页)/V/YHHomeCollectionViewCell.swift
+0
-5
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHSearchInfomationVC.swift
View file @
f2ab1260
...
...
@@ -339,15 +339,10 @@ extension YHSearchInfomationVC: UITableViewDelegate, UITableViewDataSource {
let
model
=
items
[
indexPath
.
section
]
if
model
.
type
==
1
{
// 视频
if
!
model
.
media_url
.
isEmpty
,
let
url
=
URL
(
string
:
model
.
media_url
)
{
let
vc
=
YHVideoPlayerVC
()
vc
.
url
=
model
.
media_url
vc
.
id
=
model
.
id
self
.
navigationController
?
.
pushViewController
(
vc
)
DispatchQueue
.
main
.
async
{
self
.
homeViewModel
.
getWebDetail
(
model
.
id
)
{
success
,
error
in
}
}
}
return
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeCollectionViewCell.swift
View file @
f2ab1260
...
...
@@ -102,11 +102,6 @@ extension YHHomeCollectionViewCell {
self
.
updataSubViews
()
}
self
.
parentViewController
?
.
navigationController
?
.
pushViewController
(
vc
)
DispatchQueue
.
main
.
async
{
self
.
viewModel
.
getWebDetail
(
listModel
.
id
)
{
success
,
error
in
}
}
}
}
...
...
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