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
09e7aa49
Commit
09e7aa49
authored
May 21, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文书各种状态修改
parent
f5a302a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
YHServiceOrderProgressTableViewCell.swift
...Service(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
+14
-4
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
View file @
09e7aa49
...
@@ -148,10 +148,20 @@ extension YHServiceOrderProgressTableViewCell {
...
@@ -148,10 +148,20 @@ extension YHServiceOrderProgressTableViewCell {
if
model
.
type
==
6
{
if
model
.
type
==
6
{
titleLabel
.
text
=
"我的文书"
titleLabel
.
text
=
"我的文书"
buttonLabel
.
text
=
"去确认"
buttonLabel
.
text
=
"去确认"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
if
model
.
percentage
==
66
{
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
a
:
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
)))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"审核中"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
let
aaa
:
ASAttributedString
=
.
init
(
"哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
buttonLabel
.
text
=
"请稍候"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x94a3b8
,
transparency
:
0.5
)
}
else
{
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
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
)))
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
(
hex
:
0x121a26
)))
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
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)))
...
...
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