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
68f8f37f
Commit
68f8f37f
authored
Jul 08, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
背景替换
parent
1f0ecf1f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
25 deletions
+34
-25
YHBasicContentView.swift
galaxy/galaxy/Classes/Base/V/YHBasicContentView.swift
+4
-1
YHConfigManager.swift
...y/galaxy/Classes/Modules/Home(首页)/C/YHConfigManager.swift
+16
-16
YHHKEventCenterViewController.swift
...es/Modules/Home(首页)/C/YHHKEventCenterViewController.swift
+2
-0
YHOtherServiceViewController.swift
...ses/Modules/Home(首页)/C/YHOtherServiceViewController.swift
+2
-0
YHMyLikeActivityViewController.swift
...s/Modules/Mine(我的)/C/YHMyLikeActivityViewController.swift
+2
-0
YHBaseUrlManager.swift
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
+8
-8
No files found.
galaxy/galaxy/Classes/Base/V/YHBasicContentView.swift
View file @
68f8f37f
...
@@ -70,8 +70,8 @@ class YHHomeLottieAnimateContentView: YHBasicContentView {
...
@@ -70,8 +70,8 @@ class YHHomeLottieAnimateContentView: YHBasicContentView {
override
func
deselectAnimation
(
animated
:
Bool
,
completion
:
(()
->
())?)
{
override
func
deselectAnimation
(
animated
:
Bool
,
completion
:
(()
->
())?)
{
super
.
deselectAnimation
(
animated
:
animated
,
completion
:
nil
)
super
.
deselectAnimation
(
animated
:
animated
,
completion
:
nil
)
lottieView
.
isHidden
=
true
lottieView
.
isHidden
=
true
imageView
.
isHidden
=
false
}
}
}
}
class
YHServiceLottieAnimateContentView
:
YHBasicContentView
{
class
YHServiceLottieAnimateContentView
:
YHBasicContentView
{
...
@@ -113,6 +113,7 @@ class YHServiceLottieAnimateContentView: YHBasicContentView {
...
@@ -113,6 +113,7 @@ class YHServiceLottieAnimateContentView: YHBasicContentView {
override
func
deselectAnimation
(
animated
:
Bool
,
completion
:
(()
->
())?)
{
override
func
deselectAnimation
(
animated
:
Bool
,
completion
:
(()
->
())?)
{
super
.
deselectAnimation
(
animated
:
animated
,
completion
:
nil
)
super
.
deselectAnimation
(
animated
:
animated
,
completion
:
nil
)
lottieView
.
isHidden
=
true
lottieView
.
isHidden
=
true
imageView
.
isHidden
=
false
}
}
}
}
...
@@ -155,6 +156,7 @@ class YHCommunityLottieAnimateContentView: YHBasicContentView {
...
@@ -155,6 +156,7 @@ class YHCommunityLottieAnimateContentView: YHBasicContentView {
override
func
deselectAnimation
(
animated
:
Bool
,
completion
:
(()
->
())?)
{
override
func
deselectAnimation
(
animated
:
Bool
,
completion
:
(()
->
())?)
{
super
.
deselectAnimation
(
animated
:
animated
,
completion
:
nil
)
super
.
deselectAnimation
(
animated
:
animated
,
completion
:
nil
)
lottieView
.
isHidden
=
true
lottieView
.
isHidden
=
true
imageView
.
isHidden
=
false
}
}
}
}
...
@@ -198,5 +200,6 @@ class YHMyLottieAnimateContentView: YHBasicContentView {
...
@@ -198,5 +200,6 @@ class YHMyLottieAnimateContentView: YHBasicContentView {
override
func
deselectAnimation
(
animated
:
Bool
,
completion
:
(()
->
())?)
{
override
func
deselectAnimation
(
animated
:
Bool
,
completion
:
(()
->
())?)
{
super
.
deselectAnimation
(
animated
:
animated
,
completion
:
nil
)
super
.
deselectAnimation
(
animated
:
animated
,
completion
:
nil
)
lottieView
.
isHidden
=
true
lottieView
.
isHidden
=
true
imageView
.
isHidden
=
false
}
}
}
}
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHConfigManager.swift
View file @
68f8f37f
...
@@ -32,15 +32,15 @@ class YHConfigManager: NSObject {
...
@@ -32,15 +32,15 @@ class YHConfigManager: NSObject {
var
h5Url
:
String
{
var
h5Url
:
String
{
var
tH5url
=
reqVM
.
configModel
?
.
article_h5_url
??
""
var
tH5url
=
reqVM
.
configModel
?
.
article_h5_url
??
""
if
tH5url
.
isEmpty
{
if
tH5url
.
isEmpty
{
#if DEBUG
//
#if DEBUG
tH5url
=
YHConfigManager
.
baseH5UrlTest
//
tH5url = YHConfigManager.baseH5UrlTest
#elseif TESTENV
//
#elseif TESTENV
tH5url
=
YHConfigManager
.
baseH5UrlTest
//
tH5url = YHConfigManager.baseH5UrlTest
#elseif UATENV
//
#elseif UATENV
tH5url
=
YHConfigManager
.
baseH5UrlRelease
tH5url
=
YHConfigManager
.
baseH5UrlRelease
#else
//
#else
tH5url
=
YHConfigManager
.
baseH5UrlRelease
//
tH5url = YHConfigManager.baseH5UrlRelease
#endif
//
#endif
}
}
if
!
loadNewDataFlag
{
if
!
loadNewDataFlag
{
...
@@ -58,15 +58,15 @@ class YHConfigManager: NSObject {
...
@@ -58,15 +58,15 @@ class YHConfigManager: NSObject {
var
ossUrl
:
String
{
var
ossUrl
:
String
{
var
tOssUrl
=
reqVM
.
configModel
?
.
oss_server
??
""
var
tOssUrl
=
reqVM
.
configModel
?
.
oss_server
??
""
if
tOssUrl
.
isEmpty
{
if
tOssUrl
.
isEmpty
{
#if DEBUG
//#if DEBUG
tOssUrl
=
YHConfigManager
.
baseOSSUrlTest
// tOssUrl = YHConfigManager.baseOSSUrlTest
#elseif TESTENV
//#elseif TESTENV
tOssUrl
=
YHConfigManager
.
baseOSSUrlTest
// tOssUrl = YHConfigManager.baseOSSUrlTest
#elseif UATENV
//#elseif UATENV
tOssUrl
=
YHConfigManager
.
baseOSSUrlRelease
#else
tOssUrl
=
YHConfigManager
.
baseOSSUrlRelease
tOssUrl
=
YHConfigManager
.
baseOSSUrlRelease
#endif
//#else
// tOssUrl = YHConfigManager.baseOSSUrlRelease
//#endif
}
}
if
!
loadNewDataFlag
{
if
!
loadNewDataFlag
{
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHKEventCenterViewController.swift
View file @
68f8f37f
...
@@ -75,6 +75,8 @@ class YHHKEventCenterViewController: YHBaseViewController {
...
@@ -75,6 +75,8 @@ class YHHKEventCenterViewController: YHBaseViewController {
func
getData
()
{
func
getData
()
{
gk_navTitle
=
"香港办事"
gk_navTitle
=
"香港办事"
gk_navBackgroundColor
=
.
white
gk_navBarAlpha
=
1.0
homeViewModel
.
getHKEvent
{[
weak
self
]
success
,
error
in
homeViewModel
.
getHKEvent
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
hkList
=
self
.
homeViewModel
.
hkList
??
[]
self
.
hkList
=
self
.
homeViewModel
.
hkList
??
[]
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHOtherServiceViewController.swift
View file @
68f8f37f
...
@@ -88,6 +88,8 @@ class YHOtherServiceViewController: YHBaseViewController {
...
@@ -88,6 +88,8 @@ class YHOtherServiceViewController: YHBaseViewController {
}
else
if
classID
==
5
{
}
else
if
classID
==
5
{
gk_navTitle
=
"客户心声"
gk_navTitle
=
"客户心声"
}
}
gk_navBackgroundColor
=
.
white
gk_navBarAlpha
=
1.0
homeViewModel
.
getHomeClassify
{[
weak
self
]
success
,
error
in
homeViewModel
.
getHomeClassify
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
,
let
classify
=
self
.
homeViewModel
.
classify
else
{
return
}
guard
let
self
=
self
,
let
classify
=
self
.
homeViewModel
.
classify
else
{
return
}
for
item
in
classify
{
for
item
in
classify
{
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyLikeActivityViewController.swift
View file @
68f8f37f
...
@@ -85,6 +85,8 @@ class YHMyLikeActivityViewController: YHBaseViewController {
...
@@ -85,6 +85,8 @@ class YHMyLikeActivityViewController: YHBaseViewController {
func
getData
()
{
func
getData
()
{
gk_navTitle
=
"我的足迹"
gk_navTitle
=
"我的足迹"
gk_navBackgroundColor
=
.
white
gk_navBarAlpha
=
1.0
}
}
func
updateViews
()
{
func
updateViews
()
{
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
View file @
68f8f37f
...
@@ -20,15 +20,15 @@ class YHBaseUrlManager {
...
@@ -20,15 +20,15 @@ class YHBaseUrlManager {
func
curURL
()
->
String
{
func
curURL
()
->
String
{
#if DEBUG
//
#if DEBUG
return
YHBaseUrlManager
.
baseUrlForTest
+
"/"
//
return YHBaseUrlManager.baseUrlForTest + "/"
#elseif TESTENV
//
#elseif TESTENV
return
YHBaseUrlManager
.
baseUrlForTest
+
"/"
//
return YHBaseUrlManager.baseUrlForTest + "/"
#elseif UATENV
//
#elseif UATENV
return
YHBaseUrlManager
.
baseUrlForUat
+
"/"
return
YHBaseUrlManager
.
baseUrlForUat
+
"/"
#else
//
#else
return
YHBaseUrlManager
.
baseUrlForRelease
+
"/"
//
return YHBaseUrlManager.baseUrlForRelease + "/"
#endif
//
#endif
}
}
//ossUrl
//ossUrl
...
...
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