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
e56616bd
Commit
e56616bd
authored
Sep 21, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 续签
parent
2eeb2175
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
YHCertificateUploadSheetView.swift
...MyCertificates(我的证书)/V/YHCertificateUploadSheetView.swift
+2
-1
YHResignMaterialCell.swift
...ResignMaterialManage(续期资料管理)/V/YHResignMaterialCell.swift
+5
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateUploadSheetView.swift
View file @
e56616bd
...
...
@@ -476,7 +476,8 @@ extension YHCertificateUploadSheetView: (UIImagePickerControllerDelegate & UINav
if
imageName
.
isEmpty
{
let
timestamp
=
Date
()
.
timeIntervalSince1970
imageName
=
"
\(
timestamp
)
.jpg"
var
timestampString
=
"
\(
timestamp
)
"
.
replacingOccurrences
(
of
:
"."
,
with
:
""
)
imageName
=
"
\(
timestampString
)
.jpg"
}
let
item
=
YHSelectImageItem
(
name
:
imageName
,
data
:
image
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/V/YHResignMaterialCell.swift
View file @
e56616bd
...
...
@@ -103,7 +103,9 @@ class YHResignMaterialCell: UITableViewCell {
var
result
:
ASAttributedString
=
.
init
(
string
:
""
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
mustTag
:
ASAttributedString
=
.
init
(
"*"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
failColor
))
let
name
=
model
.
name
var
name
=
model
.
name
.
trimmingCharacters
(
in
:
.
whitespaces
)
name
=
name
.
replacingOccurrences
(
of
:
"
\n
"
,
with
:
""
)
name
=
name
.
replacingOccurrences
(
of
:
"
\r
"
,
with
:
""
)
let
cerName
:
ASAttributedString
=
.
init
(
string
:
name
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
template
:
ASAttributedString
=
"
\(
.
view
(
templateButton
,
.
original
(
.
center
))
)
"
...
...
@@ -114,7 +116,7 @@ class YHResignMaterialCell: UITableViewCell {
result
+=
cerName
// 是否展示右边的模版按钮
var
showTemplateBtn
=
true
let
showTemplateBtn
=
true
if
showTemplateBtn
{
result
+=
template
}
...
...
@@ -163,7 +165,7 @@ class YHResignMaterialCell: UITableViewCell {
nameTextView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
20
)
make
.
top
.
equalToSuperview
()
.
offset
(
12
)
make
.
right
.
equalTo
(
statusLabel
.
snp
.
left
)
.
offset
(
-
1
4
)
make
.
right
.
equalTo
(
statusLabel
.
snp
.
left
)
.
offset
(
-
4
)
make
.
bottom
.
equalTo
(
-
12
)
}
...
...
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