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
fdccb80f
Commit
fdccb80f
authored
Apr 23, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐私政策 用户条款 使用官方主页
parent
afaa6695
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
12 deletions
+17
-12
YHAgreementAlertView.swift
...axy/Classes/Modules/Home(首页)/V/YHAgreementAlertView.swift
+2
-2
YHWebViewViewController.swift
...Classes/Modules/Login(登录)/C/YHWebViewViewController.swift
+1
-6
YHLoginPrivacyView.swift
...laxy/Classes/Modules/Login(登录)/V/YHLoginPrivacyView.swift
+2
-2
YHPrivacyAlertView.swift
...laxy/Classes/Modules/Login(登录)/V/YHPrivacyAlertView.swift
+2
-2
YHBaseUrlManager.swift
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
+10
-0
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHAgreementAlertView.swift
View file @
fdccb80f
...
@@ -147,7 +147,7 @@ class YHAgreementAlertView: UIView {
...
@@ -147,7 +147,7 @@ class YHAgreementAlertView: UIView {
let
aa
:
ASAttributedString
=
.
init
(
"《智汇银河App隐私协议》"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
let
aa
:
ASAttributedString
=
.
init
(
"《智汇银河App隐私协议》"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
if
let
block
=
self
.
urlBlock
{
if
let
block
=
self
.
urlBlock
{
block
(
"https://www.baidu.com"
)
block
(
YHBaseUrlManager
.
shared
.
curPrivacyAgreementUrl
()
)
}
}
})
})
...
@@ -157,7 +157,7 @@ class YHAgreementAlertView: UIView {
...
@@ -157,7 +157,7 @@ class YHAgreementAlertView: UIView {
let
aab
:
ASAttributedString
=
.
init
(
"《智汇银河App用户条款》"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
let
aab
:
ASAttributedString
=
.
init
(
"《智汇银河App用户条款》"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
if
let
block
=
self
.
urlBlock
{
if
let
block
=
self
.
urlBlock
{
block
(
"https://www.baidu.com"
)
block
(
YHBaseUrlManager
.
shared
.
curUserItemsUrl
()
)
}
}
})
})
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHWebViewViewController.swift
View file @
fdccb80f
...
@@ -13,12 +13,7 @@ class YHWebViewViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
...
@@ -13,12 +13,7 @@ class YHWebViewViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
var
webview
=
WKWebView
()
var
webview
=
WKWebView
()
var
progBar
=
UIProgressView
()
var
progBar
=
UIProgressView
()
// var url = "https://www.baidu.com"
var
url
=
""
var
url
=
"https://upload-cdn.galaxy-immi.com/crm/production/1620271613711.pdf"
// var url = "https://upload-cdn.galaxy-immi.com/crm/development/1616581669271.xlsx"
override
func
viewDidLoad
()
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHLoginPrivacyView.swift
View file @
fdccb80f
...
@@ -116,13 +116,13 @@ class YHLoginPrivacyView: UIView {
...
@@ -116,13 +116,13 @@ class YHLoginPrivacyView: UIView {
@objc
func
firstUrlClick
()
{
@objc
func
firstUrlClick
()
{
let
vc
=
YHWebViewViewController
()
let
vc
=
YHWebViewViewController
()
vc
.
url
=
"https://www.baidu.com"
vc
.
url
=
YHBaseUrlManager
.
shared
.
curPrivacyAgreementUrl
()
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
@objc
func
secondUrlClick
()
{
@objc
func
secondUrlClick
()
{
let
vc
=
YHWebViewViewController
()
let
vc
=
YHWebViewViewController
()
vc
.
url
=
"https://www.baidu.com"
vc
.
url
=
YHBaseUrlManager
.
shared
.
curUserItemsUrl
()
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
}
}
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHPrivacyAlertView.swift
View file @
fdccb80f
...
@@ -58,13 +58,13 @@ class YHPrivacyAlertView: UIView {
...
@@ -58,13 +58,13 @@ class YHPrivacyAlertView: UIView {
let
aa
:
ASAttributedString
=
.
init
(
"请先阅读并同意"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
aa
:
ASAttributedString
=
.
init
(
"请先阅读并同意"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
cc
:
ASAttributedString
=
.
init
(
"《隐私协议》"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
let
cc
:
ASAttributedString
=
.
init
(
"《隐私协议》"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
if
let
block
=
self
.
urlBlock
{
if
let
block
=
self
.
urlBlock
{
block
(
"https://www.baidu.com"
)
block
(
YHBaseUrlManager
.
shared
.
curPrivacyAgreementUrl
()
)
}
}
})
})
let
bb
:
ASAttributedString
=
.
init
(
"和"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"和"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
dd
:
ASAttributedString
=
.
init
(
"《用户条款》"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
let
dd
:
ASAttributedString
=
.
init
(
"《用户条款》"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
if
let
block
=
self
.
urlBlock
{
if
let
block
=
self
.
urlBlock
{
block
(
"https://www.baidu.com"
)
block
(
YHBaseUrlManager
.
shared
.
curUserItemsUrl
()
)
}
}
})
})
messageLabel
.
attributed
.
text
=
aa
+
cc
+
bb
+
dd
messageLabel
.
attributed
.
text
=
aa
+
cc
+
bb
+
dd
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
View file @
fdccb80f
...
@@ -36,4 +36,14 @@ class YHBaseUrlManager {
...
@@ -36,4 +36,14 @@ class YHBaseUrlManager {
func
curH5URL
()
->
String
{
func
curH5URL
()
->
String
{
return
YHConfigManager
.
shared
.
h5Url
return
YHConfigManager
.
shared
.
h5Url
}
}
//隐私协议 PrivacyAgreement
func
curPrivacyAgreementUrl
()
->
String
{
return
"https://www.galaxy-immi.com"
}
//用户政策 UserItems
func
curUserItemsUrl
()
->
String
{
return
"https://www.galaxy-immi.com"
}
}
}
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