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
f32f3c08
Commit
f32f3c08
authored
May 22, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
色值统一
parent
f3a94a43
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
72 additions
and
63 deletions
+72
-63
YHTabBarViewController.swift
galaxy/galaxy/Classes/Base/C/YHTabBarViewController.swift
+1
-1
YHBasicContentView.swift
galaxy/galaxy/Classes/Base/V/YHBasicContentView.swift
+2
-2
YHEmptyDataView.swift
galaxy/galaxy/Classes/Base/V/YHEmptyDataView.swift
+1
-1
YHHomeCollectionViewCell.swift
...Classes/Modules/Home(首页)/V/YHHomeCollectionViewCell.swift
+2
-2
YHSearchInfoBar.swift
...y/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoBar.swift
+1
-1
YHSearchInfoCell.swift
.../galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoCell.swift
+2
-2
YHSearchInfoHistoryCell.swift
.../Classes/Modules/Home(首页)/V/YHSearchInfoHistoryCell.swift
+1
-1
YHServiceOrderAlertView.swift
.../Classes/Modules/Home(首页)/V/YHServiceOrderAlertView.swift
+4
-4
YHOrderDetailViewController.swift
...elligentService(服务中心)/C/YHOrderDetailViewController.swift
+4
-4
YHServiceCenterMainViewController.swift
...ntService(服务中心)/C/YHServiceCenterMainViewController.swift
+4
-4
YHServiceNoOrderView.swift
...les/IntelligentService(服务中心)/V/YHServiceNoOrderView.swift
+2
-2
YHServiceOrderProgressTableViewCell.swift
...Service(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
+9
-9
YHCodeSueecssWithVideoBkgViewController.swift
...Login(登录)/C/YHCodeSueecssWithVideoBkgViewController.swift
+2
-2
YHPhoneLiginWithVideoBkgViewController.swift
.../Login(登录)/C/YHPhoneLiginWithVideoBkgViewController.swift
+1
-1
YHLoginPrivacyView.swift
...laxy/Classes/Modules/Login(登录)/V/YHLoginPrivacyView.swift
+7
-3
YHMessageListVC.swift
...alaxy/Classes/Modules/Message(消息)/C/YHMessageListVC.swift
+2
-2
YHDetailMessageCell.swift
...y/Classes/Modules/Message(消息)/V/YHDetailMessageCell.swift
+4
-4
YHMessageSessionCell.swift
.../Classes/Modules/Message(消息)/V/YHMessageSessionCell.swift
+4
-4
YHAboutUsViewController.swift
.../Classes/Modules/Mine(我的)/C/YHAboutUsViewController.swift
+2
-2
YHDeviceInfoViewController.swift
...asses/Modules/Mine(我的)/C/YHDeviceInfoViewController.swift
+1
-1
YHMyNotifySettingVC.swift
...laxy/Classes/Modules/Mine(我的)/C/YHMyNotifySettingVC.swift
+1
-1
YHMyPermissionSettingVC.swift
.../Classes/Modules/Mine(我的)/C/YHMyPermissionSettingVC.swift
+1
-1
YHMySettingViewController.swift
...lasses/Modules/Mine(我的)/C/YHMySettingViewController.swift
+2
-2
YHAboutUsAdvantageCell.swift
...y/Classes/Modules/Mine(我的)/V/YHAboutUsAdvantageCell.swift
+2
-2
YHMyPermissionCell.swift
...alaxy/Classes/Modules/Mine(我的)/V/YHMyPermissionCell.swift
+3
-3
YHFindAppNewVersionView.swift
...dules/VersionUpload(版本更新)/V/YHFindAppNewVersionView.swift
+1
-1
UIColor+Extension.swift
...xy/galaxy/Classes/Tools/Extention/UIColor+Extension.swift
+6
-1
No files found.
galaxy/galaxy/Classes/Base/C/YHTabBarViewController.swift
View file @
f32f3c08
...
@@ -112,7 +112,7 @@ extension YHTabBarViewController {
...
@@ -112,7 +112,7 @@ extension YHTabBarViewController {
//展示tabbar上的横线
//展示tabbar上的横线
func
handleTabBarLine
()
->
Void
{
func
handleTabBarLine
()
->
Void
{
let
rect
=
CGRect
.
init
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
0.5
)
let
rect
=
CGRect
.
init
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
0.5
)
let
fillColor
=
UIColor
(
hex
:
0x121A26
,
transparency
:
0.05
)
!
let
fillColor
=
UIColor
.
mainTextColor5
let
img
=
UIImage
.
from
(
color
:
fillColor
,
rect
:
rect
)
let
img
=
UIImage
.
from
(
color
:
fillColor
,
rect
:
rect
)
UIView
.
transition
(
with
:
self
.
tabBar
,
duration
:
0.5
,
options
:
.
transitionCrossDissolve
)
{
UIView
.
transition
(
with
:
self
.
tabBar
,
duration
:
0.5
,
options
:
.
transitionCrossDissolve
)
{
...
...
galaxy/galaxy/Classes/Base/V/YHBasicContentView.swift
View file @
f32f3c08
...
@@ -17,8 +17,8 @@ class YHBasicContentView: ESTabBarItemContentView {
...
@@ -17,8 +17,8 @@ class YHBasicContentView: ESTabBarItemContentView {
// 此渲染模式会影响图片颜色哦
// 此渲染模式会影响图片颜色哦
renderingMode
=
.
alwaysOriginal
renderingMode
=
.
alwaysOriginal
textColor
=
UIColor
(
hex
:
0x121A26
)
textColor
=
UIColor
.
mainTextColor
highlightTextColor
=
UIColor
(
hex
:
0x121A26
)
highlightTextColor
=
UIColor
.
mainTextColor
titleLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
titleLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
}
}
...
...
galaxy/galaxy/Classes/Base/V/YHEmptyDataView.swift
View file @
f32f3c08
...
@@ -55,7 +55,7 @@ class YHEmptyDataView: UIView {
...
@@ -55,7 +55,7 @@ class YHEmptyDataView: UIView {
var
tipsLabel
:
UILabel
=
{
var
tipsLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
.
init
(
hex
:
0x121A26
,
alpha
:
0.5
)
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
text
=
"暂无内容"
.
local
label
.
text
=
"暂无内容"
.
local
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeCollectionViewCell.swift
View file @
f32f3c08
...
@@ -39,7 +39,7 @@ class YHHomeCollectionViewCell: UICollectionViewCell {
...
@@ -39,7 +39,7 @@ class YHHomeCollectionViewCell: UICollectionViewCell {
lazy
var
descripeLable
:
UILabel
=
{
lazy
var
descripeLable
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
""
label
.
text
=
""
label
.
textColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
1.0
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
numberOfLines
=
2
label
.
numberOfLines
=
2
label
.
lineBreakMode
=
.
byTruncatingTail
label
.
lineBreakMode
=
.
byTruncatingTail
...
@@ -63,7 +63,7 @@ class YHHomeCollectionViewCell: UICollectionViewCell {
...
@@ -63,7 +63,7 @@ class YHHomeCollectionViewCell: UICollectionViewCell {
lazy
var
numLable
:
UILabel
=
{
lazy
var
numLable
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
""
label
.
text
=
""
label
.
textColor
=
UIColor
(
hex
:
0x121A264D
,
alpha
:
0.3
)
label
.
textColor
=
UIColor
.
mainTextColor30
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
return
label
return
label
}()
}()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoBar.swift
View file @
f32f3c08
...
@@ -40,7 +40,7 @@ class YHSearchInfoBar: UIView {
...
@@ -40,7 +40,7 @@ class YHSearchInfoBar: UIView {
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"香港身份"
.
local
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
(
hex
:
0x94A3B8
)])
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"香港身份"
.
local
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
(
hex
:
0x94A3B8
)])
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
12
)
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
12
)
textField
.
tintColor
=
UIColor
.
brandMainColor
textField
.
tintColor
=
UIColor
.
brandMainColor
textField
.
textColor
=
UIColor
(
hexString
:
"#121A26"
)
textField
.
textColor
=
UIColor
.
mainTextColor30
textField
.
clearButtonMode
=
.
whileEditing
textField
.
clearButtonMode
=
.
whileEditing
textField
.
addTarget
(
self
,
action
:
#selector(
textFieldChanged(textField:)
)
,
for
:
.
editingChanged
)
textField
.
addTarget
(
self
,
action
:
#selector(
textFieldChanged(textField:)
)
,
for
:
.
editingChanged
)
textField
.
delegate
=
self
textField
.
delegate
=
self
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoCell.swift
View file @
f32f3c08
...
@@ -43,7 +43,7 @@ class YHSearchInfoCell: UITableViewCell {
...
@@ -43,7 +43,7 @@ class YHSearchInfoCell: UITableViewCell {
var
label
=
UILabel
()
var
label
=
UILabel
()
label
.
font
=
Self
.
textFont
label
.
font
=
Self
.
textFont
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
numberOfLines
=
2
label
.
numberOfLines
=
2
return
label
return
label
}()
}()
...
@@ -84,7 +84,7 @@ class YHSearchInfoCell: UITableViewCell {
...
@@ -84,7 +84,7 @@ class YHSearchInfoCell: UITableViewCell {
func
renderHighLightText
(
_
text
:
String
)
{
func
renderHighLightText
(
_
text
:
String
)
{
var
attributedString
=
NSMutableAttributedString
(
string
:
self
.
model
.
title
,
attributes
:
[
var
attributedString
=
NSMutableAttributedString
(
string
:
self
.
model
.
title
,
attributes
:
[
.
foregroundColor
:
UIColor
(
hex
:
0x121A26
)
,
.
foregroundColor
:
UIColor
.
mainTextColor
,
.
font
:
Self
.
textFont
.
font
:
Self
.
textFont
])
])
if
isEmptyString
(
text
)
{
if
isEmptyString
(
text
)
{
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoHistoryCell.swift
View file @
f32f3c08
...
@@ -16,7 +16,7 @@ class YHSearchInfoHistoryCell: UICollectionViewCell {
...
@@ -16,7 +16,7 @@ class YHSearchInfoHistoryCell: UICollectionViewCell {
var
label
=
UILabel
()
var
label
=
UILabel
()
label
.
font
=
.
PFSC_R
(
ofSize
:
12
)
label
.
font
=
.
PFSC_R
(
ofSize
:
12
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHServiceOrderAlertView.swift
View file @
f32f3c08
...
@@ -139,17 +139,17 @@ class YHServiceOrderAlertView: UIView {
...
@@ -139,17 +139,17 @@ class YHServiceOrderAlertView: UIView {
make
.
top
.
equalTo
(
157
)
make
.
top
.
equalTo
(
157
)
}
}
let
a
:
ASAttributedString
=
.
init
(
"1.当前仅支持查看"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.7
)))
let
a
:
ASAttributedString
=
.
init
(
"1.当前仅支持查看"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.7
)))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"优才订单"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"优才订单"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
",如果是签约了其他高才、专才、留学等订单,请与您的服务管家或销售顾问企微沟通联系哦"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.7
)))
let
aaa
:
ASAttributedString
=
.
init
(
",如果是签约了其他高才、专才、留学等订单,请与您的服务管家或销售顾问企微沟通联系哦"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.7
)))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"2.使用其他手机号签约合同/订单,请退出登录"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.7
)))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"2.使用其他手机号签约合同/订单,请退出登录"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.7
)))
let
bb
:
ASAttributedString
=
.
init
(
"切换账号"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
bb
:
ASAttributedString
=
.
init
(
"切换账号"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
bbb
:
ASAttributedString
=
.
init
(
"查看"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.7
)))
let
bbb
:
ASAttributedString
=
.
init
(
"查看"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.7
)))
measageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
measageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
subMeasageLabel
.
attributed
.
text
=
b
+
bb
+
bbb
subMeasageLabel
.
attributed
.
text
=
b
+
bb
+
bbb
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHOrderDetailViewController.swift
View file @
f32f3c08
...
@@ -76,7 +76,7 @@ class YHOrderDetailViewController: YHBaseViewController {
...
@@ -76,7 +76,7 @@ class YHOrderDetailViewController: YHBaseViewController {
orderLabel
=
{
orderLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
textColor
=
UIColor
(
hex
:
0x121A26
)
.
withAlphaComponent
(
0.5
)
label
.
textColor
=
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.5
)
label
.
text
=
"合同编号: "
label
.
text
=
"合同编号: "
return
label
return
label
}()
}()
...
@@ -90,7 +90,7 @@ class YHOrderDetailViewController: YHBaseViewController {
...
@@ -90,7 +90,7 @@ class YHOrderDetailViewController: YHBaseViewController {
phoneLabel
=
{
phoneLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
textColor
=
UIColor
(
hex
:
0x121A26
)
.
withAlphaComponent
(
0.5
)
label
.
textColor
=
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.5
)
label
.
text
=
"签约手机号:"
label
.
text
=
"签约手机号:"
return
label
return
label
}()
}()
...
@@ -104,7 +104,7 @@ class YHOrderDetailViewController: YHBaseViewController {
...
@@ -104,7 +104,7 @@ class YHOrderDetailViewController: YHBaseViewController {
orderNumLabel
=
{
orderNumLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
textColor
=
UIColor
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
text
=
model
.
orderSn
label
.
text
=
model
.
orderSn
label
.
textAlignment
=
.
right
label
.
textAlignment
=
.
right
return
label
return
label
...
@@ -119,7 +119,7 @@ class YHOrderDetailViewController: YHBaseViewController {
...
@@ -119,7 +119,7 @@ class YHOrderDetailViewController: YHBaseViewController {
phoneNumLabel
=
{
phoneNumLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
textColor
=
UIColor
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
text
=
model
.
mobile
label
.
text
=
model
.
mobile
label
.
textAlignment
=
.
right
label
.
textAlignment
=
.
right
return
label
return
label
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceCenterMainViewController.swift
View file @
f32f3c08
...
@@ -283,14 +283,14 @@ extension YHServiceCenterMainViewController {
...
@@ -283,14 +283,14 @@ extension YHServiceCenterMainViewController {
}
}
}
}
if
doneCount
==
6
{
if
doneCount
==
6
{
let
a
:
ASAttributedString
=
.
init
(
"您好,
\(
name
)
,您的资料已全部准备完成,已进入"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
))
let
a
:
ASAttributedString
=
.
init
(
"您好,
\(
name
)
,您的资料已全部准备完成,已进入"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"全套资料审核"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"全套资料审核"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"阶段,审核没问题会安排递交入境处哦~"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
))
let
aaa
:
ASAttributedString
=
.
init
(
"阶段,审核没问题会安排递交入境处哦~"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
self
.
nameLabel
.
attributed
.
text
=
a
+
aa
+
aaa
self
.
nameLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
else
{
}
else
{
let
a
:
ASAttributedString
=
.
init
(
"您好,
\(
name
)
,您当前处于"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
))
let
a
:
ASAttributedString
=
.
init
(
"您好,
\(
name
)
,您当前处于"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"信息提交"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"信息提交"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"阶段,让我们一起共同完成您的身份申请之旅吧~"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
))
let
aaa
:
ASAttributedString
=
.
init
(
"阶段,让我们一起共同完成您的身份申请之旅吧~"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
self
.
nameLabel
.
attributed
.
text
=
a
+
aa
+
aaa
self
.
nameLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceNoOrderView.swift
View file @
f32f3c08
...
@@ -22,7 +22,7 @@ class YHServiceNoOrderView: UIView {
...
@@ -22,7 +22,7 @@ class YHServiceNoOrderView: UIView {
private
lazy
var
tipsLab
:
UILabel
=
{
private
lazy
var
tipsLab
:
UILabel
=
{
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
.
init
(
hex
:
0x121A26
)
lable
.
textColor
=
UIColor
.
mainTextColor
lable
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
lable
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
lable
.
textAlignment
=
.
center
lable
.
textAlignment
=
.
center
lable
.
text
=
"您还没有相关订单"
lable
.
text
=
"您还没有相关订单"
...
@@ -50,7 +50,7 @@ class YHServiceNoOrderView: UIView {
...
@@ -50,7 +50,7 @@ class YHServiceNoOrderView: UIView {
btn
.
layer
.
cornerRadius
=
kCornerRadius3
btn
.
layer
.
cornerRadius
=
kCornerRadius3
btn
.
clipsToBounds
=
true
btn
.
clipsToBounds
=
true
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
13
)
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
13
)
btn
.
setTitleColor
(
UIColor
.
init
(
hex
:
0x121A26
)
,
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
btn
.
backgroundColor
=
UIColor
.
init
(
hex
:
0xF4F6FA
)
btn
.
backgroundColor
=
UIColor
.
init
(
hex
:
0xF4F6FA
)
return
btn
return
btn
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
View file @
f32f3c08
...
@@ -65,7 +65,7 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -65,7 +65,7 @@ extension YHServiceOrderProgressTableViewCell {
messageLabel
.
text
=
"您还有"
+
"
\(
model
.
num
)
"
+
"份信息待填写哦~"
messageLabel
.
text
=
"您还有"
+
"
\(
model
.
num
)
"
+
"份信息待填写哦~"
// 0未知 1待开始 2进行中 3 已完成
// 0未知 1待开始 2进行中 3 已完成
if
model
.
status
==
1
{
if
model
.
status
==
1
{
titleLabel
.
textColor
=
UIColor
(
hex
:
0x121a26
,
transparency
:
0.5
)
titleLabel
.
textColor
=
UIColor
.
mainTextColor50
messageLabel
.
textColor
=
UIColor
(
hex
:
0x94a3b8
,
transparency
:
0.5
)
messageLabel
.
textColor
=
UIColor
(
hex
:
0x94a3b8
,
transparency
:
0.5
)
buttonLabel
.
text
=
"待开始"
buttonLabel
.
text
=
"待开始"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0xb8babe
,
transparency
:
0.5
)
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0xb8babe
,
transparency
:
0.5
)
...
@@ -94,8 +94,8 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -94,8 +94,8 @@ extension YHServiceOrderProgressTableViewCell {
titleLabel
.
text
=
"我的文书"
titleLabel
.
text
=
"我的文书"
messageLabel
.
text
=
"您的文书还没确认哦~"
messageLabel
.
text
=
"您的文书还没确认哦~"
}
}
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
progressLabel
.
attributed
.
text
=
b
+
bb
}
}
if
model
.
status
==
2
{
if
model
.
status
==
2
{
...
@@ -163,8 +163,8 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -163,8 +163,8 @@ extension YHServiceOrderProgressTableViewCell {
}
}
}
}
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
progressLabel
.
attributed
.
text
=
b
+
bb
}
}
if
model
.
status
==
3
{
if
model
.
status
==
3
{
...
@@ -199,8 +199,8 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -199,8 +199,8 @@ extension YHServiceOrderProgressTableViewCell {
titleLabel
.
text
=
"我的文书"
titleLabel
.
text
=
"我的文书"
messageLabel
.
text
=
"恭喜您,文件已全部确认完~"
messageLabel
.
text
=
"恭喜您,文件已全部确认完~"
}
}
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
progressLabel
.
attributed
.
text
=
b
+
bb
}
}
if
model
.
status
==
4
{
if
model
.
status
==
4
{
...
@@ -250,8 +250,8 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -250,8 +250,8 @@ extension YHServiceOrderProgressTableViewCell {
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
progressLabel
.
attributed
.
text
=
b
+
bb
}
}
if
model
.
percentage
==
0
{
if
model
.
percentage
==
0
{
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssWithVideoBkgViewController.swift
View file @
f32f3c08
...
@@ -42,7 +42,7 @@ class YHCodeSueecssWithVideoBkgViewController: YHBaseViewController {
...
@@ -42,7 +42,7 @@ class YHCodeSueecssWithVideoBkgViewController: YHBaseViewController {
lazy
var
frontHoldView
:
UIView
=
{
lazy
var
frontHoldView
:
UIView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.32
)
view
.
backgroundColor
=
UIColor
.
mainTextColor30
return
view
return
view
}()
}()
...
@@ -252,7 +252,7 @@ extension YHCodeSueecssWithVideoBkgViewController {
...
@@ -252,7 +252,7 @@ extension YHCodeSueecssWithVideoBkgViewController {
let
button
=
UILabel
()
let
button
=
UILabel
()
button
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
16
)
button
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
16
)
button
.
text
=
"重新发送(58)"
button
.
text
=
"重新发送(58)"
button
.
textColor
=
UIColor
.
init
(
hex
:
0x121A26
)
button
.
textColor
=
UIColor
.
mainTextColor
button
.
textAlignment
=
.
center
button
.
textAlignment
=
.
center
button
.
isHidden
=
false
button
.
isHidden
=
false
button
.
layer
.
cornerRadius
=
24
button
.
layer
.
cornerRadius
=
24
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLiginWithVideoBkgViewController.swift
View file @
f32f3c08
...
@@ -53,7 +53,7 @@ class YHPhoneLiginWithVideoBkgViewController: YHBaseViewController {
...
@@ -53,7 +53,7 @@ class YHPhoneLiginWithVideoBkgViewController: YHBaseViewController {
lazy
var
frontHoldView
:
UIView
=
{
lazy
var
frontHoldView
:
UIView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.32
)
view
.
backgroundColor
=
UIColor
.
mainTextColor30
return
view
return
view
}()
}()
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHLoginPrivacyView.swift
View file @
f32f3c08
...
@@ -14,7 +14,11 @@ class YHLoginPrivacyView: UIView {
...
@@ -14,7 +14,11 @@ class YHLoginPrivacyView: UIView {
var
serviceButton
:
UIButton
!
var
serviceButton
:
UIButton
!
var
andLabel
:
UILabel
!
var
andLabel
:
UILabel
!
var
privacyButton
:
UIButton
!
var
privacyButton
:
UIButton
!
var
isAgree
:
Bool
=
false
var
isAgree
:
Bool
=
false
{
didSet
{
agreeButton
.
isSelected
=
isAgree
}
}
override
init
(
frame
:
CGRect
)
{
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
super
.
init
(
frame
:
frame
)
...
@@ -45,7 +49,7 @@ class YHLoginPrivacyView: UIView {
...
@@ -45,7 +49,7 @@ class YHLoginPrivacyView: UIView {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"我已阅读并同意"
label
.
text
=
"我已阅读并同意"
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
textColor
=
UIColor
.
labelTextColor2
label
.
textColor
=
UIColor
(
hex
:
0xffffff
,
alpha
:
0.7
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
return
label
return
label
}()
}()
...
@@ -76,7 +80,7 @@ class YHLoginPrivacyView: UIView {
...
@@ -76,7 +80,7 @@ class YHLoginPrivacyView: UIView {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"和"
label
.
text
=
"和"
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
textColor
=
UIColor
.
labelTextColor2
label
.
textColor
=
UIColor
(
hex
:
0xffffff
,
alpha
:
0.7
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
return
label
return
label
}()
}()
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHMessageListVC.swift
View file @
f32f3c08
...
@@ -36,7 +36,7 @@ class YHMessageListVC: YHBaseViewController {
...
@@ -36,7 +36,7 @@ class YHMessageListVC: YHBaseViewController {
let
bar
=
UIView
()
let
bar
=
UIView
()
let
titleLabel
=
UILabel
()
let
titleLabel
=
UILabel
()
titleLabel
.
textColor
=
UIColor
(
hex
:
0x121A26
)
titleLabel
.
textColor
=
UIColor
.
mainTextColor
titleLabel
.
textAlignment
=
.
left
titleLabel
.
textAlignment
=
.
left
titleLabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
21
)
titleLabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
21
)
titleLabel
.
text
=
"消息"
titleLabel
.
text
=
"消息"
...
@@ -325,7 +325,7 @@ extension YHMessageListVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -325,7 +325,7 @@ extension YHMessageListVC: UITableViewDelegate, UITableViewDataSource {
}
}
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
text
=
"开启通知,及时掌握最新消息"
.
local
label
.
text
=
"开启通知,及时掌握最新消息"
.
local
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/V/YHDetailMessageCell.swift
View file @
f32f3c08
...
@@ -89,7 +89,7 @@ class YHDetailMessageCell: UITableViewCell {
...
@@ -89,7 +89,7 @@ class YHDetailMessageCell: UITableViewCell {
contentView
.
backgroundColor
=
UIColor
(
hex
:
0xF8F8F8
)
contentView
.
backgroundColor
=
UIColor
(
hex
:
0xF8F8F8
)
timeLabel
=
UILabel
()
timeLabel
=
UILabel
()
timeLabel
.
textColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.3
)
timeLabel
.
textColor
=
UIColor
.
mainTextColor30
timeLabel
.
textAlignment
=
.
center
timeLabel
.
textAlignment
=
.
center
timeLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
timeLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
timeLabel
.
text
=
"2023-09-13"
timeLabel
.
text
=
"2023-09-13"
...
@@ -118,7 +118,7 @@ class YHDetailMessageCell: UITableViewCell {
...
@@ -118,7 +118,7 @@ class YHDetailMessageCell: UITableViewCell {
detailLabel
.
textAlignment
=
.
left
detailLabel
.
textAlignment
=
.
left
detailLabel
.
numberOfLines
=
0
detailLabel
.
numberOfLines
=
0
detailLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
detailLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
detailLabel
.
textColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.7
)
detailLabel
.
textColor
=
UIColor
.
mainTextColor70
whiteView
.
addSubview
(
detailLabel
)
whiteView
.
addSubview
(
detailLabel
)
lineView
=
UIView
()
lineView
=
UIView
()
...
@@ -183,12 +183,12 @@ class YHDetailMessageCell: UITableViewCell {
...
@@ -183,12 +183,12 @@ class YHDetailMessageCell: UITableViewCell {
func
updateModel
()
{
func
updateModel
()
{
let
text1
:
ASAttributedString
=
.
init
(
"林先生,您好,您尚有20%内容未填写,请到"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x121A26
,
alpha
:
0.7
)
))
let
text1
:
ASAttributedString
=
.
init
(
"林先生,您好,您尚有20%内容未填写,请到"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor70
))
let
text2
:
ASAttributedString
=
.
init
(
"服务中心-资料上传"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
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
)
))
let
text3
:
ASAttributedString
=
.
init
(
"去填写,请您尽快完成~"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor70
))
detailLabel
.
attributed
.
text
=
text1
+
text2
+
text3
detailLabel
.
attributed
.
text
=
text1
+
text2
+
text3
}
}
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/V/YHMessageSessionCell.swift
View file @
f32f3c08
...
@@ -119,19 +119,19 @@ class YHMessageSessionCell: UITableViewCell {
...
@@ -119,19 +119,19 @@ class YHMessageSessionCell: UITableViewCell {
iconContentView
.
addSubview
(
badgeLabel
)
iconContentView
.
addSubview
(
badgeLabel
)
nameLabel
=
UILabel
()
nameLabel
=
UILabel
()
nameLabel
.
textColor
=
UIColor
(
hex
:
0x121A26
)
nameLabel
.
textColor
=
UIColor
.
mainTextColor
nameLabel
.
textAlignment
=
.
left
nameLabel
.
textAlignment
=
.
left
nameLabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
15
)
nameLabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
15
)
contentView
.
addSubview
(
nameLabel
)
contentView
.
addSubview
(
nameLabel
)
detailLabel
=
UILabel
()
detailLabel
=
UILabel
()
detailLabel
.
textColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.5
)
detailLabel
.
textColor
=
UIColor
.
mainTextColor50
detailLabel
.
textAlignment
=
.
left
detailLabel
.
textAlignment
=
.
left
detailLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
detailLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
contentView
.
addSubview
(
detailLabel
)
contentView
.
addSubview
(
detailLabel
)
timeLabel
=
UILabel
()
timeLabel
=
UILabel
()
timeLabel
.
textColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.3
)
timeLabel
.
textColor
=
UIColor
.
mainTextColor30
timeLabel
.
textAlignment
=
.
right
timeLabel
.
textAlignment
=
.
right
timeLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
11
)
timeLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
11
)
timeLabel
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
timeLabel
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
...
@@ -139,7 +139,7 @@ class YHMessageSessionCell: UITableViewCell {
...
@@ -139,7 +139,7 @@ class YHMessageSessionCell: UITableViewCell {
contentView
.
addSubview
(
timeLabel
)
contentView
.
addSubview
(
timeLabel
)
bottomLineView
=
UIView
()
bottomLineView
=
UIView
()
bottomLineView
.
backgroundColor
=
UIColor
(
hex
:
0x121A26
,
transparency
:
0.05
)
bottomLineView
.
backgroundColor
=
UIColor
.
mainTextColor5
contentView
.
addSubview
(
bottomLineView
)
contentView
.
addSubview
(
bottomLineView
)
iconContentView
.
snp
.
makeConstraints
{
make
in
iconContentView
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHAboutUsViewController.swift
View file @
f32f3c08
...
@@ -50,7 +50,7 @@ class YHAboutUsViewController: YHBaseViewController {
...
@@ -50,7 +50,7 @@ class YHAboutUsViewController: YHBaseViewController {
lazy
var
aboutLabel
=
{
lazy
var
aboutLabel
=
{
var
label
=
UILabel
()
var
label
=
UILabel
()
label
.
text
=
"关于银河"
.
local
label
.
text
=
"关于银河"
.
local
label
.
textColor
=
UIColor
.
init
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
21
)
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
21
)
return
label
return
label
...
@@ -69,7 +69,7 @@ class YHAboutUsViewController: YHBaseViewController {
...
@@ -69,7 +69,7 @@ class YHAboutUsViewController: YHBaseViewController {
lazy
var
advantageLabel
=
{
lazy
var
advantageLabel
=
{
var
label
=
UILabel
()
var
label
=
UILabel
()
label
.
text
=
"四大优势"
label
.
text
=
"四大优势"
label
.
textColor
=
UIColor
.
init
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
17
)
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
17
)
return
label
return
label
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHDeviceInfoViewController.swift
View file @
f32f3c08
...
@@ -12,7 +12,7 @@ class YHDeviceInfoViewController: YHBaseViewController {
...
@@ -12,7 +12,7 @@ class YHDeviceInfoViewController: YHBaseViewController {
lazy
var
deviceInfoLabel
:
UILabel
=
{
lazy
var
deviceInfoLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
15
)
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
15
)
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyNotifySettingVC.swift
View file @
f32f3c08
...
@@ -138,7 +138,7 @@ extension YHMyNotifySettingVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -138,7 +138,7 @@ extension YHMyNotifySettingVC: UITableViewDelegate, UITableViewDataSource {
view
.
backgroundColor
=
UIColor
(
hex
:
0xF8FAFB
)
view
.
backgroundColor
=
UIColor
(
hex
:
0xF8FAFB
)
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.5
)
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyPermissionSettingVC.swift
View file @
f32f3c08
...
@@ -250,7 +250,7 @@ extension YHMyPermissionSettingVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -250,7 +250,7 @@ extension YHMyPermissionSettingVC: UITableViewDelegate, UITableViewDataSource {
view
.
backgroundColor
=
UIColor
(
hex
:
0xF8FAFB
)
view
.
backgroundColor
=
UIColor
(
hex
:
0xF8FAFB
)
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.5
)
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMySettingViewController.swift
View file @
f32f3c08
...
@@ -40,7 +40,7 @@ class YHMySettingViewController: YHBaseViewController, ConstraintRelatableTarget
...
@@ -40,7 +40,7 @@ class YHMySettingViewController: YHBaseViewController, ConstraintRelatableTarget
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"注销账号"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"注销账号"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
btn
.
setTitleColor
(
UIColor
(
hexString
:
"#121A26"
,
transparency
:
0.3
)
,
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
.
mainTextColor30
,
for
:
.
normal
)
btn
.
backgroundColor
=
.
clear
btn
.
backgroundColor
=
.
clear
btn
.
addTarget
(
self
,
action
:
#selector(
clickRegBtn
)
,
for
:
.
touchUpInside
)
btn
.
addTarget
(
self
,
action
:
#selector(
clickRegBtn
)
,
for
:
.
touchUpInside
)
return
btn
return
btn
...
@@ -230,7 +230,7 @@ extension YHMySettingViewController : UITableViewDelegate, UITableViewDataSource
...
@@ -230,7 +230,7 @@ extension YHMySettingViewController : UITableViewDelegate, UITableViewDataSource
if
item
.
type
==
.
version
{
if
item
.
type
==
.
version
{
cell
.
isShowRedPoint
=
item
.
isShowRedPoint
cell
.
isShowRedPoint
=
item
.
isShowRedPoint
var
detailText
=
"已是最新版"
var
detailText
=
"已是最新版"
var
detailColor
=
UIColor
.
init
(
hex
:
0x121A26
,
alpha
:
0.3
)
var
detailColor
=
UIColor
.
mainTextColor30
if
let
configModel
=
YHConfigManager
.
shared
.
reqVM
.
configModel
,
configModel
.
suggest_updating
==
true
{
if
let
configModel
=
YHConfigManager
.
shared
.
reqVM
.
configModel
,
configModel
.
suggest_updating
==
true
{
detailText
=
"去更新"
detailText
=
"去更新"
detailColor
=
UIColor
.
brandMainColor
detailColor
=
UIColor
.
brandMainColor
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHAboutUsAdvantageCell.swift
View file @
f32f3c08
...
@@ -30,7 +30,7 @@ class YHAboutUsAdvantageCell: UICollectionViewCell {
...
@@ -30,7 +30,7 @@ class YHAboutUsAdvantageCell: UICollectionViewCell {
lazy
var
titleLabel
:
UILabel
=
{
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
.
init
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
14
)
return
label
return
label
...
@@ -38,7 +38,7 @@ class YHAboutUsAdvantageCell: UICollectionViewCell {
...
@@ -38,7 +38,7 @@ class YHAboutUsAdvantageCell: UICollectionViewCell {
lazy
var
detailLabel
:
UILabel
=
{
lazy
var
detailLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hex
:
0x121A2680
,
alpha
:
0.5
)
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
11
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
11
)
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHMyPermissionCell.swift
View file @
f32f3c08
...
@@ -12,8 +12,8 @@ class YHMyPermissionCell: UITableViewCell {
...
@@ -12,8 +12,8 @@ class YHMyPermissionCell: UITableViewCell {
static
let
cellReuseIdentifier
=
"YHMyPermissionCell"
static
let
cellReuseIdentifier
=
"YHMyPermissionCell"
static
let
enableColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.3
)
static
let
enableColor
=
UIColor
.
mainTextColor30
static
let
disableColor
=
UIColor
(
hex
:
0x121A26
,
alpha
:
0.7
)
static
let
disableColor
=
UIColor
.
mainTextColor70
var
titleLabel
:
UILabel
!
var
titleLabel
:
UILabel
!
var
statusLabel
:
UILabel
!
var
statusLabel
:
UILabel
!
...
@@ -33,7 +33,7 @@ class YHMyPermissionCell: UITableViewCell {
...
@@ -33,7 +33,7 @@ class YHMyPermissionCell: UITableViewCell {
self
.
selectionStyle
=
.
none
self
.
selectionStyle
=
.
none
titleLabel
=
UILabel
()
titleLabel
=
UILabel
()
titleLabel
.
textColor
=
UIColor
(
hex
:
0x121A26
)
titleLabel
.
textColor
=
UIColor
.
mainTextColor
titleLabel
.
textAlignment
=
.
left
titleLabel
.
textAlignment
=
.
left
titleLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
15
)
titleLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
15
)
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
titleLabel
)
...
...
galaxy/galaxy/Classes/Modules/VersionUpload(版本更新)/V/YHFindAppNewVersionView.swift
View file @
f32f3c08
...
@@ -86,7 +86,7 @@ class YHFindAppNewVersionView: UIView {
...
@@ -86,7 +86,7 @@ class YHFindAppNewVersionView: UIView {
lazy
var
titleLabel
:
UILabel
=
{
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
.
init
(
hex
:
0x121A26
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
20
)
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
20
)
label
.
text
=
"发现新版本"
label
.
text
=
"发现新版本"
return
label
return
label
...
...
galaxy/galaxy/Classes/Tools/Extention/UIColor+Extension.swift
View file @
f32f3c08
...
@@ -27,7 +27,12 @@ extension UIColor {
...
@@ -27,7 +27,12 @@ extension UIColor {
static
let
brandMainColor6
:
UIColor
=
UIColor
(
hexString
:
"#0046B4"
,
transparency
:
0.06
)
!
static
let
brandMainColor6
:
UIColor
=
UIColor
(
hexString
:
"#0046B4"
,
transparency
:
0.06
)
!
//标题/主内容
//标题/主内容
static
let
mainTextColor
:
UIColor
=
UIColor
(
hexString
:
"#222222"
)
!
// static let mainTextColor : UIColor = UIColor(hexString: "#222222")!
static
let
mainTextColor
:
UIColor
=
UIColor
(
hexString
:
"#121A26"
)
!
static
let
mainTextColor5
:
UIColor
=
UIColor
(
hexString
:
"#121A26"
,
transparency
:
0.05
)
!
static
let
mainTextColor30
:
UIColor
=
UIColor
(
hexString
:
"#121A26"
,
transparency
:
0.3
)
!
static
let
mainTextColor50
:
UIColor
=
UIColor
(
hexString
:
"#121A26"
,
transparency
:
0.5
)
!
static
let
mainTextColor70
:
UIColor
=
UIColor
(
hexString
:
"#121A26"
,
transparency
:
0.7
)
!
//次内容一
//次内容一
static
let
subTextColor
:
UIColor
=
UIColor
(
hexString
:
"#4E4E4E"
)
!
static
let
subTextColor
:
UIColor
=
UIColor
(
hexString
:
"#4E4E4E"
)
!
...
...
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