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
21d7a18c
Commit
21d7a18c
authored
Aug 14, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交测试代码
parent
d2954003
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
YHJsApi.swift
...galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
+14
-7
No files found.
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
View file @
21d7a18c
...
...
@@ -20,16 +20,23 @@ extension YHJsApi {
//展示pics
@objc
func
showPicsSyn
(
_
dicPics
:[
String
:
Any
])
{
//dsBridge.call("showPicsSyn",{pics:["123","456"], curIndex:1})
if
!
dicPics
.
isEmpty
{
let
curIndex
:
Int
=
dicPics
[
"curIndex"
]
as?
Int
??
-
1
let
arrPics
:
[
String
]
=
dicPics
[
"pics"
]
as?
[
String
]
??
[]
// if !dicPics.isEmpty {
// let curIndex : Int = dicPics["curIndex"] as? Int ?? -1
// let arrPics : [String] = dicPics["pics"] as? [String] ?? []
//
// if curIndex > -1,arrPics.count > 0 {
// DispatchQueue.main.async {
// YHPictureReviewManager.shared.showNetWorkPicturs(curIndex: curIndex, arrPicturs: arrPics)
// }
// }
// }
if
curIndex
>
-
1
,
arrPics
.
count
>
0
{
DispatchQueue
.
main
.
async
{
YHPictureReviewManager
.
shared
.
showNetWorkPicturs
(
curIndex
:
curIndex
,
arrPicturs
:
arrPics
)
}
}
// YHPictureReviewManager.shared.showNetWorkPicturs(curIndex: curIndex, arrPicturs: arrPics)
YHHUD
.
flash
(
message
:
"ddddddd"
)
}
}
//设置app导航栏隐藏、显示
...
...
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