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
320f492d
Commit
320f492d
authored
Jul 29, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 几处bug
parent
7b69128f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
11 deletions
+16
-11
YHEvaluationView.swift
.../galaxy/Classes/Modules/Home(首页)/V/YHEvaluationView.swift
+2
-2
YHCheckEamilAlertView.swift
...ice(服务中心)/MyDocuments(我的文书)/V/YHCheckEamilAlertView.swift
+2
-2
YHH5WebViewVC.swift
.../Classes/Modules/InteractionH5(与H5交互)/YHH5WebViewVC.swift
+9
-0
YHJsApi.swift
...galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
+3
-7
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHEvaluationView.swift
View file @
320f492d
...
...
@@ -104,8 +104,8 @@ extension YHEvaluationView {
}
let
aa
:
ASAttributedString
=
.
init
(
"香港身份"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"20"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
cc
:
ASAttributedString
=
.
init
(
"
秒
测评"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"20
秒
"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
cc
:
ASAttributedString
=
.
init
(
"测评"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
mainTextColor
))
lable1
.
attributed
.
text
=
aa
+
bb
+
cc
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/V/YHCheckEamilAlertView.swift
View file @
320f492d
...
...
@@ -100,7 +100,7 @@ class YHCheckEamilAlertView: UIView {
titleLabel
=
{
let
label
=
UILabel
()
label
.
textAlignment
=
.
center
//
label.textAlignment = .center
label
.
textColor
=
UIColor
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
numberOfLines
=
0
...
...
@@ -117,7 +117,7 @@ class YHCheckEamilAlertView: UIView {
messageLabel
=
{
let
label
=
UILabel
()
label
.
textAlignment
=
.
center
//
label.textAlignment = .center
label
.
textColor
=
UIColor
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
16
)
label
.
numberOfLines
=
0
...
...
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHH5WebViewVC.swift
View file @
320f492d
...
...
@@ -280,6 +280,15 @@ extension YHH5WebViewVC {
// MARK: - h5实现的接口
extension
YHH5WebViewVC
{
func
setAppNavigation
(
_
show
:
Bool
)
{
if
show
{
gk_navBarAlpha
=
1.0
}
else
{
gk_navBarAlpha
=
0.0
}
}
func
saveLocalPictureSyn
(
_
picUrl
:
String
)
{
let
imageView
=
UIImageView
()
imageView
.
kf
.
setImage
(
with
:
URL
(
string
:
picUrl
))
{
result
in
...
...
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
View file @
320f492d
...
...
@@ -17,18 +17,14 @@ class YHJsApi: NSObject {
}
extension
YHJsApi
{
//测试使用
@objc
func
testSyn
(
_
arg
:
String
)
{
printLog
(
arg
)
}
//保存图片到本地
@objc
func
saveLocalPictureSyn
(
_
picUrl
:
String
)
{
self
.
delegate
?
.
saveLocalPictureSyn
(
picUrl
)
}
//H5中 webview的偏移量
@objc
func
webViewDidScrollView
(
_
offset
:
CGFloat
)
{
self
.
delegate
?
.
webViewDidScrollView
(
offset
)
@objc
func
setAppNavigation
(
_
show
:
Bool
)
{
self
.
delegate
?
.
setAppNavigation
(
show
)
}
}
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