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
17c351ed
Commit
17c351ed
authored
Mar 27, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 我的证件UI走查
parent
5af53914
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
YHCertificateUploadContentListVC.swift
...rtificates(我的证书)/C/YHCertificateUploadContentListVC.swift
+10
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificateUploadContentListVC.swift
View file @
17c351ed
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
import
UIKit
import
UIKit
import
IQKeyboardManagerSwift
import
IQKeyboardManagerSwift
import
AttributedString
class
YHCertificateUploadContentListVC
:
YHBaseViewController
{
class
YHCertificateUploadContentListVC
:
YHBaseViewController
{
...
@@ -351,7 +352,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
...
@@ -351,7 +352,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
}
}
let
tipsLabel
=
UILabel
()
let
tipsLabel
=
UILabel
()
tipsLabel
.
textColor
=
UIColor
.
mainTextColor
tipsLabel
.
textColor
=
UIColor
.
labelTextColor2
tipsLabel
.
textAlignment
=
.
left
tipsLabel
.
textAlignment
=
.
left
tipsLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
tipsLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
tipsLabel
.
numberOfLines
=
0
tipsLabel
.
numberOfLines
=
0
...
@@ -463,7 +464,14 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
...
@@ -463,7 +464,14 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
label
.
textColor
=
UIColor
.
labelTextColor2
label
.
textColor
=
UIColor
.
labelTextColor2
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
text
=
"*最多上传
\(
items
.
count
)
/99张图片或文件"
let
tipsFont
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
let
a
:
ASAttributedString
=
.
init
(
"*最多上传"
,
.
font
(
tipsFont
),
.
foreground
(
UIColor
.
labelTextColor2
))
let
b
:
ASAttributedString
=
.
init
(
"
\(
items
.
count
)
/99 "
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
12
)),
.
foreground
(
UIColor
.
init
(
hexString
:
"#2F2F2F"
)))
let
c
:
ASAttributedString
=
.
init
(
"张图片或文件"
,
.
font
(
tipsFont
),
.
foreground
(
UIColor
.
labelTextColor2
))
label
.
attributed
.
text
=
a
+
b
+
c
view
.
addSubview
(
label
)
view
.
addSubview
(
label
)
label
.
snp
.
makeConstraints
{
make
in
label
.
snp
.
makeConstraints
{
make
in
...
...
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