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
52089f8d
Commit
52089f8d
authored
Jun 18, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
颜色值统一
parent
cf0bc714
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
174 additions
and
44 deletions
+174
-44
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHOneKeyLoginManager.swift
...sses/Modules/AutoLogin(一键登录)/M/YHOneKeyLoginManager.swift
+1
-1
YHAiRadarAreaView.swift
...galaxy/Classes/Modules/Home(首页)/V/YHAiRadarAreaView.swift
+107
-0
YHHkLifeAndIdItemView.swift
...xy/Classes/Modules/Home(首页)/V/YHHkLifeAndIdItemView.swift
+1
-1
YHHomeHeadView.swift
...xy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
+14
-3
YHHomeKingKongBlockItem.swift
.../Classes/Modules/Home(首页)/V/YHHomeKingKongBlockItem.swift
+1
-1
YHHomeSearchView.swift
.../galaxy/Classes/Modules/Home(首页)/V/YHHomeSearchView.swift
+1
-1
YHSearchInfoBar.swift
...y/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoBar.swift
+1
-1
YHSearchInfoHistoryView.swift
.../Classes/Modules/Home(首页)/V/YHSearchInfoHistoryView.swift
+1
-1
YHServiceCenterMainViewController.swift
...ntService(服务中心)/C/YHServiceCenterMainViewController.swift
+1
-1
YHFileListItemsView.swift
...tService(服务中心)/FileList(文件清单)/V/YHFileListItemsView.swift
+1
-1
YHServiceNoOrderView.swift
...les/IntelligentService(服务中心)/V/YHServiceNoOrderView.swift
+1
-1
YHServiceOrderProgressTableViewCell.swift
...Service(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
+26
-26
YHPhoneMessageView.swift
...laxy/Classes/Modules/Login(登录)/V/YHPhoneMessageView.swift
+2
-2
YHVideoPlaySettingVC.swift
...axy/Classes/Modules/Mine(我的)/C/YHVideoPlaySettingVC.swift
+1
-1
YHUserInfoHeaderView.swift
...axy/Classes/Modules/Mine(我的)/V/YHUserInfoHeaderView.swift
+3
-3
UIColor+Extension.swift
...xy/galaxy/Classes/Tools/Extention/UIColor+Extension.swift
+8
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
52089f8d
...
@@ -451,6 +451,7 @@
...
@@ -451,6 +451,7 @@
A5DE0D3C2BB9016200976FE1
/* YHEmailInputAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5DE0D3B2BB9016200976FE1
/* YHEmailInputAlertView.swift */
;
};
A5DE0D3C2BB9016200976FE1
/* YHEmailInputAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5DE0D3B2BB9016200976FE1
/* YHEmailInputAlertView.swift */
;
};
A5DF3D462BF72BA1003D5F03
/* YHTestViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5DF3D452BF72BA0003D5F03
/* YHTestViewController.swift */
;
};
A5DF3D462BF72BA1003D5F03
/* YHTestViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5DF3D452BF72BA0003D5F03
/* YHTestViewController.swift */
;
};
A5E69D512BA304D400411932
/* DIN Alternate Bold.ttf in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5E69D502BA304D400411932
/* DIN Alternate Bold.ttf */
;
};
A5E69D512BA304D400411932
/* DIN Alternate Bold.ttf in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5E69D502BA304D400411932
/* DIN Alternate Bold.ttf */
;
};
A5EE41EF2C21387C005BBA5D
/* YHAiRadarAreaView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5EE41EE2C21387C005BBA5D
/* YHAiRadarAreaView.swift */
;
};
A5EF21312BA6DF94005027E6
/* YHMineSchemeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5EF21302BA6DF94005027E6
/* YHMineSchemeViewController.swift */
;
};
A5EF21312BA6DF94005027E6
/* YHMineSchemeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5EF21302BA6DF94005027E6
/* YHMineSchemeViewController.swift */
;
};
A5EF21332BA6E030005027E6
/* YHFileListViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5EF21322BA6E030005027E6
/* YHFileListViewController.swift */
;
};
A5EF21332BA6E030005027E6
/* YHFileListViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5EF21322BA6E030005027E6
/* YHFileListViewController.swift */
;
};
A5EF21352BA6E05E005027E6
/* YHQuestionAndAnswerViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5EF21342BA6E05E005027E6
/* YHQuestionAndAnswerViewController.swift */
;
};
A5EF21352BA6E05E005027E6
/* YHQuestionAndAnswerViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5EF21342BA6E05E005027E6
/* YHQuestionAndAnswerViewController.swift */
;
};
...
@@ -952,6 +953,7 @@
...
@@ -952,6 +953,7 @@
A5DE0D3B2BB9016200976FE1
/* YHEmailInputAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEmailInputAlertView.swift
;
sourceTree
=
"<group>"
;
};
A5DE0D3B2BB9016200976FE1
/* YHEmailInputAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEmailInputAlertView.swift
;
sourceTree
=
"<group>"
;
};
A5DF3D452BF72BA0003D5F03
/* YHTestViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHTestViewController.swift
;
sourceTree
=
"<group>"
;
};
A5DF3D452BF72BA0003D5F03
/* YHTestViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHTestViewController.swift
;
sourceTree
=
"<group>"
;
};
A5E69D502BA304D400411932
/* DIN Alternate Bold.ttf */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file
;
path
=
"DIN Alternate Bold.ttf"
;
sourceTree
=
"<group>"
;
};
A5E69D502BA304D400411932
/* DIN Alternate Bold.ttf */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file
;
path
=
"DIN Alternate Bold.ttf"
;
sourceTree
=
"<group>"
;
};
A5EE41EE2C21387C005BBA5D
/* YHAiRadarAreaView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAiRadarAreaView.swift
;
sourceTree
=
"<group>"
;
};
A5EF21302BA6DF94005027E6
/* YHMineSchemeViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMineSchemeViewController.swift
;
sourceTree
=
"<group>"
;
};
A5EF21302BA6DF94005027E6
/* YHMineSchemeViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMineSchemeViewController.swift
;
sourceTree
=
"<group>"
;
};
A5EF21322BA6E030005027E6
/* YHFileListViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFileListViewController.swift
;
sourceTree
=
"<group>"
;
};
A5EF21322BA6E030005027E6
/* YHFileListViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFileListViewController.swift
;
sourceTree
=
"<group>"
;
};
A5EF21342BA6E05E005027E6
/* YHQuestionAndAnswerViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHQuestionAndAnswerViewController.swift
;
sourceTree
=
"<group>"
;
};
A5EF21342BA6E05E005027E6
/* YHQuestionAndAnswerViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHQuestionAndAnswerViewController.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2205,6 +2207,7 @@
...
@@ -2205,6 +2207,7 @@
A567E5902BD7643D00D5D5A0
/* YHHkLifeAndIdItemView.swift */
,
A567E5902BD7643D00D5D5A0
/* YHHkLifeAndIdItemView.swift */
,
049AB5ED2C0EF68700155DDF
/* YHOrderTipsView.swift */
,
049AB5ED2C0EF68700155DDF
/* YHOrderTipsView.swift */
,
A567E5912BD7643D00D5D5A0
/* YHSearchItemLayout.swift */
,
A567E5912BD7643D00D5D5A0
/* YHSearchItemLayout.swift */
,
A5EE41EE2C21387C005BBA5D
/* YHAiRadarAreaView.swift */
,
);
);
path
=
V
;
path
=
V
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -3086,6 +3089,7 @@
...
@@ -3086,6 +3089,7 @@
A58556BA2B6BCF1A003746B2
/* YHPersonInfoFillStepModel.swift in Sources */
,
A58556BA2B6BCF1A003746B2
/* YHPersonInfoFillStepModel.swift in Sources */
,
045EEEC92B9F171A0022A143
/* YHOtherInfoSessionView.swift in Sources */
,
045EEEC92B9F171A0022A143
/* YHOtherInfoSessionView.swift in Sources */
,
A567E59B2BD7643D00D5D5A0
/* YHWebModel.swift in Sources */
,
A567E59B2BD7643D00D5D5A0
/* YHWebModel.swift in Sources */
,
A5EE41EF2C21387C005BBA5D
/* YHAiRadarAreaView.swift in Sources */
,
045EEEE22B9F171A0022A143
/* YHMySignatureDetailViewModel.swift in Sources */
,
045EEEE22B9F171A0022A143
/* YHMySignatureDetailViewModel.swift in Sources */
,
045EEE7D2B9F171A0022A143
/* YHWorkExpDataModel.swift in Sources */
,
045EEE7D2B9F171A0022A143
/* YHWorkExpDataModel.swift in Sources */
,
045EEE832B9F171A0022A143
/* YHMainInfoPreviewModel.swift in Sources */
,
045EEE832B9F171A0022A143
/* YHMainInfoPreviewModel.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/AutoLogin(一键登录)/M/YHOneKeyLoginManager.swift
View file @
52089f8d
...
@@ -264,7 +264,7 @@ extension YHOneKeyLoginManager {
...
@@ -264,7 +264,7 @@ extension YHOneKeyLoginManager {
}
}
// 登录按钮自定义UI
// 登录按钮自定义UI
model
.
loginBtnText
=
NSAttributedString
(
string
:
"本机号码一键登录"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
init
(
hex
:
0x121A26
)
,
NSAttributedString
.
Key
.
font
:
UIFont
.
PFSC_M
(
ofSize
:
16
)])
model
.
loginBtnText
=
NSAttributedString
(
string
:
"本机号码一键登录"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
mainTextColor
,
NSAttributedString
.
Key
.
font
:
UIFont
.
PFSC_M
(
ofSize
:
16
)])
let
enableLoginBgImg
=
TXCommonUtils
.
image
(
with
:
.
white
,
size
:
CGSize
(
width
:
KScreenWidth
-
20*
2
,
height
:
48
),
isRoundedCorner
:
true
,
radius
:
kCornerRadius3
)
!
let
enableLoginBgImg
=
TXCommonUtils
.
image
(
with
:
.
white
,
size
:
CGSize
(
width
:
KScreenWidth
-
20*
2
,
height
:
48
),
isRoundedCorner
:
true
,
radius
:
kCornerRadius3
)
!
let
disableLoginBgImg
=
TXCommonUtils
.
image
(
with
:
.
white
,
size
:
CGSize
(
width
:
KScreenWidth
-
20*
2
,
height
:
48
),
isRoundedCorner
:
true
,
radius
:
kCornerRadius3
)
!
let
disableLoginBgImg
=
TXCommonUtils
.
image
(
with
:
.
white
,
size
:
CGSize
(
width
:
KScreenWidth
-
20*
2
,
height
:
48
),
isRoundedCorner
:
true
,
radius
:
kCornerRadius3
)
!
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHAiRadarAreaView.swift
0 → 100644
View file @
52089f8d
//
// YHAiRadarAreaView.swift
// galaxy
//
// Created by davidhuangA on 2024/6/18.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHAiRadarAreaView
:
UIView
{
static
let
viewH
=
88.0
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
setupUI
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
lazy
var
bkgImageV
:
UIImageView
=
{
let
imgV
:
UIImageView
=
UIImageView
()
imgV
.
contentMode
=
.
scaleAspectFill
return
imgV
}()
lazy
var
lable1
:
UILabel
=
{
let
lable
:
UILabel
=
UILabel
()
lable
.
text
=
"AI人脉雷达"
lable
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
16
)
lable
.
textColor
=
UIColor
.
brandMainColor
return
lable
}()
lazy
var
lable2
:
UILabel
=
{
let
lable
:
UILabel
=
UILabel
()
lable
.
text
=
"为您找到更多同行"
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
lable
.
textColor
=
UIColor
.
yhGreyColor
return
lable
}()
lazy
var
lable3
:
UILabel
=
{
let
lable
:
UILabel
=
UILabel
()
lable
.
text
=
"前往查看"
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
lable
.
textColor
=
UIColor
.
white
lable
.
backgroundColor
=
UIColor
.
brandMainColor
return
lable
}()
}
extension
YHAiRadarAreaView
{
@objc
func
didLookOrderBtnClicked
()
{
goTabBarBy
(
tabType
:
.
service
)
}
func
setupUI
()
{
// self.backgroundColor = UIColor(hex: 0xF8FAFB)
//
// let imgView = UIImageView(image: UIImage(named: "home_tips_order"))
// addSubview(imgView)
// imgView.snp.makeConstraints { make in
// make.width.height.equalTo(31)
// make.centerY.equalToSuperview()
// make.left.equalTo(14)
// }
//
// let label = UILabel()
// label.textAlignment = .left
// let aa: ASAttributedString = .init("您有", .font(UIFont.PFSC_R(ofSize: 14)),.foreground(UIColor.mainTextColor))
// let bb: ASAttributedString = .init("1", .font(UIFont.PFSC_R(ofSize: 14)),.foreground(UIColor.brandMainColor))
// let cc: ASAttributedString = .init("个服务中的优才订单", .font(UIFont.PFSC_R(ofSize: 14)),.foreground(UIColor.mainTextColor))
// label.attributed.text = aa+bb+cc
// addSubview(label)
// label.snp.makeConstraints { make in
// make.centerY.equalToSuperview()
// make.left.equalTo(imgView.snp.right).offset(6)
// }
//
// let btn = UIButton()
// btn.setTitle("查看进度", for: .normal)
// btn.setTitleColor(.white, for: .normal)
// btn.backgroundColor = UIColor.brandMainColor
// btn.titleLabel?.font = .PFSC_R(ofSize: 12)
// btn.addTarget(self, action: #selector(didLookOrderBtnClicked), for: .touchUpInside)
// addSubview(btn)
// btn.snp.makeConstraints { make in
// make.width.equalTo(72)
// make.height.equalTo(33)
// make.centerY.equalToSuperview()
// make.left.equalTo(label.snp.right).offset(16)
// make.right.equalTo(-16)
// }
}
}
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHkLifeAndIdItemView.swift
View file @
52089f8d
...
@@ -50,7 +50,7 @@ class YHHkLifeAndIdItemView: UIView {
...
@@ -50,7 +50,7 @@ class YHHkLifeAndIdItemView: UIView {
lazy
var
subtitleLable
:
UILabel
=
{
lazy
var
subtitleLable
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"去香港"
label
.
text
=
"去香港"
label
.
textColor
=
UIColor
(
hex
:
0x94A3B8
,
alpha
:
1.0
)
label
.
textColor
=
UIColor
.
yhGreyColor
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
11
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
11
)
label
.
lineBreakMode
=
.
byTruncatingMiddle
label
.
lineBreakMode
=
.
byTruncatingMiddle
return
label
return
label
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
View file @
52089f8d
...
@@ -30,20 +30,31 @@ class YHHomeHeadView: UIView {
...
@@ -30,20 +30,31 @@ class YHHomeHeadView: UIView {
return
view
return
view
}()
}()
//
优才订单提示视图
//
2.优才订单提示视图 - 未登录态不
lazy
var
orderTipsView
:
YHOrderTipsView
=
{
lazy
var
orderTipsView
:
YHOrderTipsView
=
{
let
view
=
YHOrderTipsView
(
frame
:
.
zero
)
let
view
=
YHOrderTipsView
(
frame
:
.
zero
)
view
.
isHidden
=
true
view
.
isHidden
=
true
return
view
return
view
}()
}()
//2.香港身份 香港生活
//3. ai人脉雷达
lazy
var
aiRadarArea
:
YHOrderTipsView
=
{
let
view
=
YHOrderTipsView
(
frame
:
.
zero
)
view
.
isHidden
=
true
return
view
}()
//4.银河线下沙龙
//5.香港身份 香港生活
lazy
var
homeHkLife
:
YHHkLifeAndIdView
=
{
lazy
var
homeHkLife
:
YHHkLifeAndIdView
=
{
let
view
=
YHHkLifeAndIdView
()
let
view
=
YHHkLifeAndIdView
()
return
view
return
view
}()
}()
//
3
. 四大金刚区
//
6
. 四大金刚区
lazy
var
homeKingKongBlock
:
YHHomeKingKongBlockView
=
{
lazy
var
homeKingKongBlock
:
YHHomeKingKongBlockView
=
{
let
view
=
YHHomeKingKongBlockView
()
let
view
=
YHHomeKingKongBlockView
()
return
view
return
view
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeKingKongBlockItem.swift
View file @
52089f8d
...
@@ -27,7 +27,7 @@ class YHHomeKingKongBlockItem: UIView {
...
@@ -27,7 +27,7 @@ class YHHomeKingKongBlockItem: UIView {
lazy
var
subtitleLable
:
UILabel
=
{
lazy
var
subtitleLable
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"去香港"
label
.
text
=
"去香港"
label
.
textColor
=
UIColor
(
hex
:
0x94A3B8
,
alpha
:
1.0
)
label
.
textColor
=
UIColor
.
yhGreyColor
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
12
)
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
12
)
label
.
lineBreakMode
=
.
byTruncatingMiddle
label
.
lineBreakMode
=
.
byTruncatingMiddle
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeSearchView.swift
View file @
52089f8d
...
@@ -13,7 +13,7 @@ class YHHomeSearchView: UIView {
...
@@ -13,7 +13,7 @@ class YHHomeSearchView: UIView {
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
text
=
"香港身份"
lable
.
text
=
"香港身份"
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
lable
.
textColor
=
UIColor
(
hex
:
0x94A3B8
,
alpha
:
1.0
)
lable
.
textColor
=
UIColor
.
yhGreyColor
return
lable
return
lable
}()
}()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoBar.swift
View file @
52089f8d
...
@@ -37,7 +37,7 @@ class YHSearchInfoBar: UIView {
...
@@ -37,7 +37,7 @@ class YHSearchInfoBar: UIView {
lazy
var
textField
:
UITextField
=
{
lazy
var
textField
:
UITextField
=
{
let
textField
=
UITextField
()
let
textField
=
UITextField
()
textField
.
backgroundColor
=
.
clear
textField
.
backgroundColor
=
.
clear
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"香港身份"
.
local
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
(
hex
:
0x94A3B8
)
])
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"香港身份"
.
local
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
yhGreyColor
])
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
.
mainTextColor
textField
.
textColor
=
UIColor
.
mainTextColor
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHSearchInfoHistoryView.swift
View file @
52089f8d
...
@@ -22,7 +22,7 @@ class YHSearchInfoHistoryView: UIView {
...
@@ -22,7 +22,7 @@ class YHSearchInfoHistoryView: UIView {
lazy
var
titleLabel
:
UILabel
=
{
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
.
PFSC_R
(
ofSize
:
14
)
label
.
font
=
.
PFSC_R
(
ofSize
:
14
)
label
.
textColor
=
UIColor
(
hex
:
0x94A3B8
)
label
.
textColor
=
UIColor
.
yhGreyColor
label
.
text
=
"历史搜索"
label
.
text
=
"历史搜索"
return
label
return
label
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceCenterMainViewController.swift
View file @
52089f8d
...
@@ -196,7 +196,7 @@ extension YHServiceCenterMainViewController {
...
@@ -196,7 +196,7 @@ extension YHServiceCenterMainViewController {
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
button
.
setTitle
(
"我的订单"
,
for
:
.
normal
)
button
.
setTitle
(
"我的订单"
,
for
:
.
normal
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x94a3b8
)
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
yhGreyColor
,
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
pushOrderView
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
pushOrderView
)
,
for
:
.
touchUpInside
)
return
button
return
button
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/V/YHFileListItemsView.swift
View file @
52089f8d
...
@@ -86,7 +86,7 @@ private extension YHFileListItemsView {
...
@@ -86,7 +86,7 @@ private extension YHFileListItemsView {
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
text
=
"暂无待完善清单"
lable
.
text
=
"暂无待完善清单"
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
lable
.
textColor
=
UIColor
(
hex
:
0x94A3B8
,
alpha
:
1.0
)
lable
.
textColor
=
UIColor
.
yhGreyColor
holdView
.
addSubview
(
lable
)
holdView
.
addSubview
(
lable
)
lable
.
snp
.
makeConstraints
{
make
in
lable
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceNoOrderView.swift
View file @
52089f8d
...
@@ -30,7 +30,7 @@ class YHServiceNoOrderView: UIView {
...
@@ -30,7 +30,7 @@ class YHServiceNoOrderView: UIView {
private
lazy
var
noFindLab
:
UILabel
=
{
private
lazy
var
noFindLab
:
UILabel
=
{
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
.
init
(
hex
:
0x94A3B8
)
lable
.
textColor
=
UIColor
.
yhGreyColor
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
lable
.
textAlignment
=
.
center
lable
.
textAlignment
=
.
center
lable
.
text
=
"找不到订单"
lable
.
text
=
"找不到订单"
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
View file @
52089f8d
...
@@ -72,7 +72,7 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -72,7 +72,7 @@ extension YHServiceOrderProgressTableViewCell {
// 0未知 1待开始 2进行中 3 已完成
// 0未知 1待开始 2进行中 3 已完成
if
model
.
status
==
1
{
if
model
.
status
==
1
{
titleLabel
.
textColor
=
UIColor
.
mainTextColor50
titleLabel
.
textColor
=
UIColor
.
mainTextColor50
messageLabel
.
textColor
=
UIColor
(
hex
:
0x94a3b8
,
transparency
:
0.5
)
messageLabel
.
textColor
=
UIColor
.
yhGreyColor50
buttonLabel
.
text
=
"待开始"
buttonLabel
.
text
=
"待开始"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0xb8babe
,
transparency
:
0.5
)
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0xb8babe
,
transparency
:
0.5
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_normal"
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_normal"
)
...
@@ -115,23 +115,23 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -115,23 +115,23 @@ extension YHServiceOrderProgressTableViewCell {
titleLabel
.
text
=
"我的证件"
titleLabel
.
text
=
"我的证件"
// messageLabel.text = "恭喜您,证件已全部上传完~"
// messageLabel.text = "恭喜您,证件已全部上传完~"
buttonLabel
.
text
=
"去上传"
buttonLabel
.
text
=
"去上传"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
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
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
if
model
.
type
==
2
{
if
model
.
type
==
2
{
titleLabel
.
text
=
"我的信息"
titleLabel
.
text
=
"我的信息"
buttonLabel
.
text
=
"去填写"
buttonLabel
.
text
=
"去填写"
if
model
.
reject_status
==
0
{
if
model
.
reject_status
==
0
{
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
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
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
else
{
}
else
{
let
a
:
ASAttributedString
=
.
init
(
"您的信息被"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您的信息被"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"驳回"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
failColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"驳回"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
failColor
))
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
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
buttonLabel
.
text
=
"去修改"
buttonLabel
.
text
=
"去修改"
}
}
...
@@ -147,25 +147,25 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -147,25 +147,25 @@ extension YHServiceOrderProgressTableViewCell {
if
model
.
type
==
5
{
if
model
.
type
==
5
{
titleLabel
.
text
=
"我的签字"
titleLabel
.
text
=
"我的签字"
buttonLabel
.
text
=
"去签字"
buttonLabel
.
text
=
"去签字"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
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
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
if
model
.
type
==
6
{
if
model
.
type
==
6
{
titleLabel
.
text
=
"我的文书"
titleLabel
.
text
=
"我的文书"
buttonLabel
.
text
=
"去确认"
buttonLabel
.
text
=
"去确认"
if
model
.
percentage
==
66
{
if
model
.
percentage
==
66
{
let
a
:
ASAttributedString
=
.
init
(
"您的文书正在"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您的文书正在"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
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_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
aaa
:
ASAttributedString
=
.
init
(
"哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
buttonLabel
.
text
=
"请稍候"
buttonLabel
.
text
=
"请稍候"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x94a3b8
,
transparency
:
0.5
)
buttonLabel
.
backgroundColor
=
UIColor
.
yhGreyColor50
}
else
{
}
else
{
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
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
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
...
@@ -176,7 +176,7 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -176,7 +176,7 @@ extension YHServiceOrderProgressTableViewCell {
}
}
if
model
.
status
==
3
{
if
model
.
status
==
3
{
titleLabel
.
textColor
=
UIColor
.
mainTextColor
titleLabel
.
textColor
=
UIColor
.
mainTextColor
messageLabel
.
textColor
=
UIColor
(
hex
:
0x94a3b8
)
messageLabel
.
textColor
=
UIColor
.
yhGreyColor
buttonLabel
.
text
=
"去查看"
buttonLabel
.
text
=
"去查看"
progress
.
changeColor
(
UIColor
(
hex
:
0x55cba0
))
progress
.
changeColor
(
UIColor
(
hex
:
0x55cba0
))
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x55cba0
)
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x55cba0
)
...
@@ -213,16 +213,16 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -213,16 +213,16 @@ extension YHServiceOrderProgressTableViewCell {
if
model
.
status
==
4
{
if
model
.
status
==
4
{
titleLabel
.
textColor
=
UIColor
.
mainTextColor
titleLabel
.
textColor
=
UIColor
.
mainTextColor
buttonLabel
.
text
=
"请稍候"
buttonLabel
.
text
=
"请稍候"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x94a3b8
,
transparency
:
0.5
)
buttonLabel
.
backgroundColor
=
UIColor
.
yhGreyColor50
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_start"
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_start"
)
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progress
.
changeColor
(
UIColor
.
brandMainColor
)
// 1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
// 1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
if
model
.
type
==
1
{
if
model
.
type
==
1
{
titleLabel
.
text
=
"我的证件"
titleLabel
.
text
=
"我的证件"
// messageLabel.text = "恭喜您,证件已全部上传完~"
// messageLabel.text = "恭喜您,证件已全部上传完~"
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
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_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
if
model
.
type
==
2
{
if
model
.
type
==
2
{
...
@@ -231,30 +231,30 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -231,30 +231,30 @@ extension YHServiceOrderProgressTableViewCell {
}
}
if
model
.
type
==
3
{
if
model
.
type
==
3
{
titleLabel
.
text
=
"我的评分"
titleLabel
.
text
=
"我的评分"
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
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_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
if
model
.
type
==
4
{
if
model
.
type
==
4
{
titleLabel
.
text
=
"我的方案"
titleLabel
.
text
=
"我的方案"
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
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_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
if
model
.
type
==
5
{
if
model
.
type
==
5
{
titleLabel
.
text
=
"我的签字"
titleLabel
.
text
=
"我的签字"
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
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_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
if
model
.
type
==
6
{
if
model
.
type
==
6
{
titleLabel
.
text
=
"我的文书"
titleLabel
.
text
=
"我的文书"
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
a
:
ASAttributedString
=
.
init
(
"您的"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
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_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)
))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
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
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHPhoneMessageView.swift
View file @
52089f8d
...
@@ -29,7 +29,7 @@ class YHPhoneMessageView: UIView {
...
@@ -29,7 +29,7 @@ class YHPhoneMessageView: UIView {
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
18
)
button
.
titleLabel
?
.
font
=
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
18
)
button
.
setTitle
(
"+86"
,
for
:
.
normal
)
button
.
setTitle
(
"+86"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x121a26
)
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
messageClick
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
messageClick
)
,
for
:
.
touchUpInside
)
button
.
titleLabel
?
.
textAlignment
=
.
left
button
.
titleLabel
?
.
textAlignment
=
.
left
return
button
return
button
...
@@ -46,7 +46,7 @@ class YHPhoneMessageView: UIView {
...
@@ -46,7 +46,7 @@ class YHPhoneMessageView: UIView {
let
text
=
UITextField
()
let
text
=
UITextField
()
text
.
placeholder
=
"请输入您的手机号"
text
.
placeholder
=
"请输入您的手机号"
text
.
font
=
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
18
)
text
.
font
=
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
18
)
text
.
textColor
=
UIColor
(
hex
:
0x121a26
)
text
.
textColor
=
UIColor
.
mainTextColor
text
.
textAlignment
=
.
left
text
.
textAlignment
=
.
left
text
.
keyboardType
=
.
phonePad
text
.
keyboardType
=
.
phonePad
text
.
clearButtonMode
=
.
always
text
.
clearButtonMode
=
.
always
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHVideoPlaySettingVC.swift
View file @
52089f8d
...
@@ -26,7 +26,7 @@ class YHVideoPlaySettingVC: YHBaseViewController {
...
@@ -26,7 +26,7 @@ class YHVideoPlaySettingVC: YHBaseViewController {
lazy
var
titleLabel
:
UILabel
=
{
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hexString
:
"#121A26"
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
15
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
15
)
label
.
text
=
"播放视频时默认静音"
label
.
text
=
"播放视频时默认静音"
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHUserInfoHeaderView.swift
View file @
52089f8d
...
@@ -57,7 +57,7 @@ class YHUserInfoHeaderView: UIView {
...
@@ -57,7 +57,7 @@ class YHUserInfoHeaderView: UIView {
private
lazy
var
likeLabel
:
UILabel
=
{
private
lazy
var
likeLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"点赞 0"
.
local
label
.
text
=
"点赞 0"
.
local
label
.
textColor
=
UIColor
(
hex
:
0x121A26
,
transparency
:
0.5
)
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
isUserInteractionEnabled
=
true
label
.
isUserInteractionEnabled
=
true
...
@@ -70,7 +70,7 @@ class YHUserInfoHeaderView: UIView {
...
@@ -70,7 +70,7 @@ class YHUserInfoHeaderView: UIView {
private
lazy
var
collectLabel
:
UILabel
=
{
private
lazy
var
collectLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"收藏 0"
.
local
label
.
text
=
"收藏 0"
.
local
label
.
textColor
=
UIColor
(
hex
:
0x121A26
,
transparency
:
0.5
)
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
isUserInteractionEnabled
=
true
label
.
isUserInteractionEnabled
=
true
...
@@ -83,7 +83,7 @@ class YHUserInfoHeaderView: UIView {
...
@@ -83,7 +83,7 @@ class YHUserInfoHeaderView: UIView {
private
lazy
var
scanLabel
:
UILabel
=
{
private
lazy
var
scanLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"最近浏览 0"
.
local
label
.
text
=
"最近浏览 0"
.
local
label
.
textColor
=
UIColor
(
hex
:
0x121A26
,
transparency
:
0.5
)
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
isUserInteractionEnabled
=
true
label
.
isUserInteractionEnabled
=
true
...
...
galaxy/galaxy/Classes/Tools/Extention/UIColor+Extension.swift
View file @
52089f8d
...
@@ -80,6 +80,14 @@ extension UIColor {
...
@@ -80,6 +80,14 @@ extension UIColor {
// alertView 底部蒙层颜色
// alertView 底部蒙层颜色
static
let
alertMaskColor
:
UIColor
=
UIColor
.
init
(
hex
:
0x0F1214
,
alpha
:
0.5
)
static
let
alertMaskColor
:
UIColor
=
UIColor
.
init
(
hex
:
0x0F1214
,
alpha
:
0.5
)
//94a3b8
static
let
yhGreyColor
:
UIColor
=
UIColor
(
hexString
:
"#94A3B8"
)
!
static
let
yhGreyColor50
:
UIColor
=
UIColor
(
hexString
:
"#94A3B8"
,
transparency
:
0.5
)
!
public
convenience
init
(
r
:
CGFloat
,
g
:
CGFloat
,
b
:
CGFloat
,
alpha
:
CGFloat
=
1.0
)
{
public
convenience
init
(
r
:
CGFloat
,
g
:
CGFloat
,
b
:
CGFloat
,
alpha
:
CGFloat
=
1.0
)
{
self
.
init
(
red
:
r
/
255.0
,
green
:
g
/
255.0
,
blue
:
b
/
255.0
,
alpha
:
alpha
)
self
.
init
(
red
:
r
/
255.0
,
green
:
g
/
255.0
,
blue
:
b
/
255.0
,
alpha
:
alpha
)
}
}
...
...
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