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
5040e9e6
Commit
5040e9e6
authored
Sep 26, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into develop
parents
3d78a611
2a110183
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
17 deletions
+21
-17
YHResignGuidelinesExampleViewController.swift
...s(续期身份指引)/C/YHResignGuidelinesExampleViewController.swift
+1
-1
YHH5WebViewVC.swift
.../Classes/Modules/InteractionH5(与H5交互)/YHH5WebViewVC.swift
+18
-14
YHJsApi.swift
...galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignGuidelines(续期身份指引)/C/YHResignGuidelinesExampleViewController.swift
View file @
5040e9e6
...
...
@@ -25,7 +25,7 @@ class YHResignGuidelinesExampleViewController: YHBaseViewController {
// var viewModel = YHResignCertificateListViewModel()
var
viewModel
=
YHResignGuidelinesViewModel
()
var
height
:
CGFloat
=
0
var
id
=
3473
var
id
:
Int
=
-
1
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHH5WebViewVC.swift
View file @
5040e9e6
...
...
@@ -15,8 +15,22 @@ import Photos
快速测评 及 其他与H5交互的界面
*/
class
YHH5WebViewVC
:
YHBaseViewController
,
WKUIDelegate
,
WKNavigationDelegate
{
var
webview
=
DWKWebView
()
var
progBar
=
UIProgressView
()
lazy
var
webview
:
DWKWebView
=
{
let
webview
=
DWKWebView
(
frame
:
.
zero
)
webview
.
scrollView
.
contentInsetAdjustmentBehavior
=
.
never
webview
.
navigationDelegate
=
self
webview
.
scrollView
.
delegate
=
self
webview
.
setDebugMode
(
false
)
return
webview
}()
lazy
var
progBar
:
UIProgressView
=
{
progBar
=
UIProgressView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
self
.
view
.
frame
.
width
,
height
:
30
))
progBar
.
progress
=
0.0
progBar
.
tintColor
=
UIColor
.
brandMainColor
return
progBar
}()
var
url
=
""
var
navTitle
=
""
//导航栏title
...
...
@@ -167,11 +181,7 @@ private extension YHH5WebViewVC {
// 创建wkwebview
webview
=
DWKWebView
(
frame
:
.
zero
)
webview
.
scrollView
.
contentInsetAdjustmentBehavior
=
.
never
webview
.
navigationDelegate
=
self
webview
.
scrollView
.
delegate
=
self
webview
.
setDebugMode
(
false
)
let
api
=
YHJsApi
()
api
.
delegate
=
self
...
...
@@ -216,14 +226,8 @@ private extension YHH5WebViewVC {
}
// }
// 加载网页的进度条
progBar
=
UIProgressView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
self
.
view
.
frame
.
width
,
height
:
30
))
progBar
.
progress
=
0.0
progBar
.
tintColor
=
UIColor
.
brandMainColor
webview
.
addSubview
(
progBar
)
// 监听网页加载的进度
webview
.
addObserver
(
self
,
forKeyPath
:
"estimatedProgress"
,
options
:
.
new
,
context
:
nil
)
...
...
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
View file @
5040e9e6
...
...
@@ -59,9 +59,9 @@ extension YHJsApi {
}
//8、跳转案例分享UI
@objc
func
goCaseShareUISyn
(
_
caseId
:
String
)
{
@objc
func
goCaseShareUISyn
(
_
caseId
:
Any
)
{
DispatchQueue
.
main
.
async
{
if
let
id
=
Int
(
case
Id
)
{
if
let
sId
=
caseId
as?
String
,
let
id
=
Int
(
s
Id
)
{
let
vc
=
YHResignGuidelinesExampleViewController
()
vc
.
id
=
id
self
.
delegate
?
.
navigationController
?
.
pushViewController
(
vc
)
...
...
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