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
b101d124
Commit
b101d124
authored
Mar 25, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// UI走查
parent
db5f18d2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
7 deletions
+15
-7
YHCertificateUploadContentListVC.swift
...rtificates(我的证书)/C/YHCertificateUploadContentListVC.swift
+10
-4
YHCertificateSearchBar.swift
...服务中心)/MyCertificates(我的证书)/V/YHCertificateSearchBar.swift
+1
-1
YHCertificateTemplateSheetView.swift
...Certificates(我的证书)/V/YHCertificateTemplateSheetView.swift
+1
-1
YHCertificateUploadSheetView.swift
...MyCertificates(我的证书)/V/YHCertificateUploadSheetView.swift
+1
-1
YHHUD.swift
galaxy/galaxy/Classes/Tools/Helper/YHHUD/YHHUD.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificateUploadContentListVC.swift
View file @
b101d124
...
...
@@ -120,10 +120,12 @@ class YHCertificateUploadContentListVC: YHBaseViewController {
@objc
func
didClickUploadBtn
()
{
if
items
.
count
>=
99
{
YHHUD
.
flash
(
message
:
"已达上限,最多上传99张图片或文件"
)
// if items.count >= 99 {
if
true
{
YHHUD
.
flash
(
message
:
"已达上限
\n
最多上传99张图片或文件"
)
return
}
let
sheetView
=
YHCertificateUploadSheetView
.
sheetView
()
sheetView
.
templateInfo
=
supplementInfo
.
templateInfo
sheetView
.
uploadFilesBlock
=
{
...
...
@@ -301,7 +303,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
tipsLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
tipsLabel
.
numberOfLines
=
0
if
!
supplementInfo
.
templateInfo
.
description
.
isEmpty
{
tipsLabel
.
text
=
supplementInfo
.
templateInfo
.
description
tipsLabel
.
text
=
"注意事项:
\n
\(
supplementInfo
.
templateInfo
.
description
)
"
}
view
.
addSubview
(
tipsLabel
)
...
...
@@ -361,7 +363,11 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
tipsLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
tipsLabel
.
textAlignment
=
.
left
tipsLabel
.
numberOfLines
=
0
tipsLabel
.
text
=
supplementInfo
.
auditContent
if
!
supplementInfo
.
auditContent
.
isEmpty
{
tipsLabel
.
text
=
"被驳回原因:
\(
supplementInfo
.
auditContent
)
"
}
else
{
tipsLabel
.
text
=
""
}
view
.
addSubview
(
tipsLabel
)
titlelabel
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateSearchBar.swift
View file @
b101d124
...
...
@@ -34,7 +34,7 @@ class YHCertificateSearchBar: UIView {
lazy
var
textField
:
UITextField
=
{
let
textField
=
UITextField
()
textField
.
backgroundColor
=
.
clear
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"
请输入
"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
placeHolderColor
])
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"
输入关键词搜索资料
"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
placeHolderColor
])
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
12
)
textField
.
tintColor
=
UIColor
(
hexString
:
"#3D88F8"
)
textField
.
textColor
=
UIColor
.
mainTextColor
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateTemplateSheetView.swift
View file @
b101d124
...
...
@@ -267,7 +267,7 @@ extension YHCertificateTemplateSheetView: UITableViewDelegate, UITableViewDataSo
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
numberOfLines
=
0
label
.
text
=
desc
label
.
text
=
"注意事项:
\n\(
desc
)
"
view
.
addSubview
(
label
)
label
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateUploadSheetView.swift
View file @
b101d124
...
...
@@ -347,7 +347,7 @@ extension YHCertificateUploadSheetView: UITableViewDelegate, UITableViewDataSour
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
numberOfLines
=
0
label
.
text
=
desc
label
.
text
=
"注意事项:
\n
\(
desc
)
"
view
.
addSubview
(
label
)
label
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Tools/Helper/YHHUD/YHHUD.swift
View file @
b101d124
...
...
@@ -103,6 +103,7 @@ extension YHHUD{
extension
YHHUD
{
static
let
flashMessageTag
=
61535
static
func
flash
(
message
:
String
,
textAligment
:
NSTextAlignment
=
.
center
,
dismissAfter
:
TimeInterval
=
1.5
,
duration
:
TimeInterval
=
0.5
,
isRemoveBefore
:
Bool
=
true
,
...
...
@@ -123,6 +124,7 @@ extension YHHUD{
containerView
.
tag
=
flashMessageTag
let
label
=
UILabel
()
label
.
text
=
message
label
.
textAlignment
=
textAligment
label
.
numberOfLines
=
5
label
.
textColor
=
UIColor
.
white
label
.
font
=
UIFont
.
systemFont
(
ofSize
:
14
)
...
...
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