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
f671aae1
Commit
f671aae1
authored
Sep 23, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整 资讯详情的展示
parent
6fcaec2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
YHJsApi.swift
...galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
+9
-10
No files found.
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
View file @
f671aae1
...
@@ -100,16 +100,15 @@ extension YHJsApi {
...
@@ -100,16 +100,15 @@ extension YHJsApi {
let
isFullScreen
:
Int
=
jsonObject
[
"isFullScreen"
]
as?
Int
??
1
let
isFullScreen
:
Int
=
jsonObject
[
"isFullScreen"
]
as?
Int
??
1
let
navTitle
:
String
=
jsonObject
[
"navTitle"
]
as?
String
??
""
let
navTitle
:
String
=
jsonObject
[
"navTitle"
]
as?
String
??
""
if
!
url
.
isEmpty
{
if
isInformationUrl
==
1
{
if
isInformationUrl
==
1
{
//资讯详情
//资讯详情
let
vc
=
YHHomeWebViewController
()
let
vc
=
YHHomeWebViewController
()
vc
.
id
=
id
vc
.
url
=
url
vc
.
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"articleDetail.html"
+
"?id=
\(
id
)
"
vc
.
gk_navTitle
=
navTitle
self
.
delegate
?
.
navigationController
?
.
pushViewController
(
vc
)
// vc.id = model.id
}
else
{
self
.
delegate
?
.
navigationController
?
.
pushViewController
(
vc
)
//普通界面
}
else
{
if
!
url
.
isEmpty
{
//普通界面
let
vc
=
YHH5WebViewVC
()
let
vc
=
YHH5WebViewVC
()
vc
.
url
=
url
vc
.
url
=
url
vc
.
isFullScreenFlag
=
isFullScreen
==
1
?
true
:
false
vc
.
isFullScreenFlag
=
isFullScreen
==
1
?
true
:
false
...
...
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