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
dd391b6e
Commit
dd391b6e
authored
May 21, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台制作中状态添加
parent
f4679e92
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
2 deletions
+56
-2
YHServiceOrderListViewController.swift
...entService(服务中心)/C/YHServiceOrderListViewController.swift
+1
-1
YHServiceCenterProgressModel.swift
...lligentService(服务中心)/M/YHServiceCenterProgressModel.swift
+1
-1
YHServiceOrderProgressTableViewCell.swift
...Service(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
+54
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceOrderListViewController.swift
View file @
dd391b6e
...
...
@@ -129,7 +129,7 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
model
=
self
.
viewModel
.
arrDataForSeviceCenterProgress
[
indexPath
.
section
]
if
model
.
status
==
1
{
if
model
.
status
==
1
||
model
.
status
==
4
{
return
}
else
{
//1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHServiceCenterProgressModel.swift
View file @
dd391b6e
...
...
@@ -11,7 +11,7 @@ import UIKit
class
YHServiceCenterProgressModel
:
YHBaseModel
{
var
name
:
String
=
""
var
percentage
:
Int
=
0
var
status
:
Int
=
0
// 0未知 1待开始 2进行中 3 已完成
var
status
:
Int
=
0
// 0未知 1待开始 2进行中 3 已完成
4 后台进行中
var
num
:
Int
=
0
var
type
:
Int
=
0
// 1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
View file @
dd391b6e
...
...
@@ -171,6 +171,60 @@ extension YHServiceOrderProgressTableViewCell {
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
status
==
4
{
titleLabel
.
textColor
=
UIColor
.
mainTextColor
buttonLabel
.
text
=
"请稍候"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x94a3b8
,
transparency
:
0.5
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_start"
)
progress
.
changeColor
(
UIColor
.
brandMainColor
)
// 1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
if
model
.
type
==
1
{
titleLabel
.
text
=
"我的证件"
// messageLabel.text = "恭喜您,证件已全部上传完~"
let
a
:
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
))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
if
model
.
type
==
2
{
titleLabel
.
text
=
"我的信息"
let
a
:
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
.
warnColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"了哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
if
model
.
type
==
3
{
titleLabel
.
text
=
"我的评分"
let
a
:
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
))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
if
model
.
type
==
4
{
titleLabel
.
text
=
"我的方案"
let
a
:
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
))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
if
model
.
type
==
5
{
titleLabel
.
text
=
"我的签字"
let
a
:
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
))
let
aaa
:
ASAttributedString
=
.
init
(
"正在制作中哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
if
model
.
type
==
6
{
titleLabel
.
text
=
"我的文书"
let
a
:
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
))
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
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
percentage
==
0
{
progress
.
isHidden
=
true
}
else
{
...
...
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