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
f7ce2c78
Commit
f7ce2c78
authored
May 06, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 主品牌色
parent
79533e39
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
14 deletions
+17
-14
YHSearchInfoBar.swift
...y/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoBar.swift
+2
-2
YHSearchInfoCell.swift
.../galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoCell.swift
+1
-1
YHServiceViewController.swift
.../IntelligentService(服务中心)/C/YHServiceViewController.swift
+1
-1
YHServiceSectionView.swift
...les/IntelligentService(服务中心)/V/YHServiceSectionView.swift
+1
-1
YHMessageListVC.swift
...alaxy/Classes/Modules/Message(消息)/C/YHMessageListVC.swift
+2
-2
YHDetailMessageCell.swift
...y/Classes/Modules/Message(消息)/V/YHDetailMessageCell.swift
+2
-2
UIColor+Extension.swift
...xy/galaxy/Classes/Tools/Extention/UIColor+Extension.swift
+8
-5
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoBar.swift
View file @
f7ce2c78
...
...
@@ -39,7 +39,7 @@ class YHSearchInfoBar: UIView {
textField
.
backgroundColor
=
.
clear
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"香港身份"
.
local
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
(
hex
:
0x94A3B8
)])
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
12
)
textField
.
tintColor
=
UIColor
(
hex
:
0x3570DC
)
textField
.
tintColor
=
UIColor
.
brandMainColor
textField
.
textColor
=
UIColor
(
hexString
:
"#121A26"
)
textField
.
clearButtonMode
=
.
whileEditing
textField
.
addTarget
(
self
,
action
:
#selector(
textFieldChanged(textField:)
)
,
for
:
.
editingChanged
)
...
...
@@ -52,7 +52,7 @@ class YHSearchInfoBar: UIView {
btn
.
setTitle
(
"搜索"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#3570DC"
)
btn
.
backgroundColor
=
UIColor
.
brandMainColor
btn
.
addTarget
(
self
,
action
:
#selector(
searchBtnClicked
)
,
for
:
.
touchUpInside
)
return
btn
}()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoCell.swift
View file @
f7ce2c78
...
...
@@ -91,7 +91,7 @@ class YHSearchInfoCell: UITableViewCell {
// 设置高亮样式
let
highlightAttributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
foregroundColor
:
UIColor
(
hex
:
0x3570DC
)
.
foregroundColor
:
UIColor
.
brandMainColor
]
let
ranges
=
findOccurrencesOfString
(
text
,
inString
:
self
.
model
.
title
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceViewController.swift
View file @
f7ce2c78
...
...
@@ -90,7 +90,7 @@ class YHServiceViewController: YHBaseViewController {
//配置指示器
let
indicator
=
JXSegmentedIndicatorLineView
()
indicator
.
indicatorWidth
=
16
indicator
.
indicatorColor
=
UIColor
(
hex
:
0x3570dc
)
indicator
.
indicatorColor
=
UIColor
.
brandMainColor
segmentedView
.
indicators
=
[
indicator
]
segmentedView
.
backgroundColor
=
UIColor
(
red
:
0.95
,
green
:
0.95
,
blue
:
0.95
,
alpha
:
1
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceSectionView.swift
View file @
f7ce2c78
...
...
@@ -122,7 +122,7 @@ class YHServiceSectionCollectionViewCell: UICollectionViewCell {
static
let
cellReuseIdentifier
=
"YHServiceSectionCollectionViewCell"
func
setSelectedStyle
()
{
contentView
.
backgroundColor
=
UIColor
(
hex
:
0x3570dc
)
contentView
.
backgroundColor
=
UIColor
.
brandMainColor
descripeLable
.
textColor
=
UIColor
.
white
}
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHMessageListVC.swift
View file @
f7ce2c78
...
...
@@ -329,7 +329,7 @@ extension YHMessageListVC: UITableViewDelegate, UITableViewDataSource {
}
let
view
=
UIView
()
let
contentview
=
UIView
()
contentview
.
backgroundColor
=
UIColor
(
hex
:
0x3570DC
,
alpha
:
0.06
)
contentview
.
backgroundColor
=
UIColor
.
brandMainColor6
view
.
addSubview
(
contentview
)
contentview
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
top
.
equalToSuperview
()
...
...
@@ -345,7 +345,7 @@ extension YHMessageListVC: UITableViewDelegate, UITableViewDataSource {
let
enableBtn
=
UIButton
()
enableBtn
.
setTitle
(
"开启"
.
local
,
for
:
.
normal
)
enableBtn
.
setTitleColor
(
UIColor
(
hex
:
0x3570DC
)
,
for
:
.
normal
)
enableBtn
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
normal
)
enableBtn
.
titleLabel
?
.
font
=
.
PFSC_R
(
ofSize
:
13
)
enableBtn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
12
,
left
:
20
,
bottom
:
12
,
right
:
20
)
enableBtn
.
addTarget
(
self
,
action
:
#selector(
didEnableNotifyBtnClicked
)
,
for
:
.
touchUpInside
)
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/V/YHDetailMessageCell.swift
View file @
f7ce2c78
...
...
@@ -125,7 +125,7 @@ class YHDetailMessageCell: UITableViewCell {
bottomBtn
=
UIButton
()
bottomBtn
.
isUserInteractionEnabled
=
false
bottomBtn
.
setTitle
(
"去填写"
.
local
,
for
:
.
normal
)
bottomBtn
.
setTitleColor
(
UIColor
(
hex
:
0x3570DC
)
,
for
:
.
normal
)
bottomBtn
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
normal
)
bottomBtn
.
titleLabel
?
.
font
=
.
PFSC_R
(
ofSize
:
14
)
bottomBtn
.
addTarget
(
self
,
action
:
#selector(
didBottomBtnClicked
)
,
for
:
.
touchUpInside
)
whiteView
.
addSubview
(
bottomBtn
)
...
...
@@ -182,7 +182,7 @@ class YHDetailMessageCell: UITableViewCell {
let
text1
:
ASAttributedString
=
.
init
(
"林先生,您好,您尚有20%内容未填写,请到"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x121A26
,
alpha
:
0.7
)))
let
text2
:
ASAttributedString
=
.
init
(
"服务中心-资料上传"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x3570DC
)
),
.
action
{
let
text2
:
ASAttributedString
=
.
init
(
"服务中心-资料上传"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
})
let
text3
:
ASAttributedString
=
.
init
(
"去填写,请您尽快完成~"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x121A26
,
alpha
:
0.7
)))
...
...
galaxy/galaxy/Classes/Tools/Extention/UIColor+Extension.swift
View file @
f7ce2c78
...
...
@@ -11,17 +11,20 @@ import UIKit
extension
UIColor
{
//
品牌主
色
static
let
brandMainColor
:
UIColor
=
UIColor
(
hexString
:
"#
3570DC
"
)
!
//
主品牌
色
static
let
brandMainColor
:
UIColor
=
UIColor
(
hexString
:
"#
0046B4
"
)
!
//品牌渐变色
static
let
arrBrandGradaterColors
:
[
UIColor
]
=
[
UIColor
(
hexString
:
"#
3570DC"
)
!
,
UIColor
(
hexString
:
"#3A85FC
"
)
!
]
static
let
arrBrandGradaterColors
:
[
UIColor
]
=
[
UIColor
(
hexString
:
"#
0046B4"
)
!
,
UIColor
(
hexString
:
"#0046B4
"
)
!
]
//品牌主色 16
static
let
brandMainColor16
:
UIColor
=
UIColor
(
hexString
:
"#
2F7EF6
"
,
transparency
:
0.16
)
!
static
let
brandMainColor16
:
UIColor
=
UIColor
(
hexString
:
"#
0046B4
"
,
transparency
:
0.16
)
!
//品牌主色 8
static
let
brandMainColor8
:
UIColor
=
UIColor
(
hexString
:
"#2F7EF6"
,
transparency
:
0.08
)
!
static
let
brandMainColor8
:
UIColor
=
UIColor
(
hexString
:
"#0046B4"
,
transparency
:
0.08
)
!
//品牌主色 6
static
let
brandMainColor6
:
UIColor
=
UIColor
(
hexString
:
"#0046B4"
,
transparency
:
0.06
)
!
//标题/主内容
static
let
mainTextColor
:
UIColor
=
UIColor
(
hexString
:
"#222222"
)
!
...
...
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