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
456de376
Commit
456de376
authored
Oct 21, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
续签文书管理统一弹窗样式
parent
34890763
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
YHCommonAlertView+AttributedMessage.swift
...gnature(我的签字)/V/YHCommonAlertView+AttributedMessage.swift
+1
-0
YHResignDocumentDetailViewController.swift
...ment(续签文书管理)/C/YHResignDocumentDetailViewController.swift
+11
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MySignature(我的签字)/V/YHCommonAlertView+AttributedMessage.swift
View file @
456de376
...
@@ -17,6 +17,7 @@ extension YHCommonAlertView {
...
@@ -17,6 +17,7 @@ extension YHCommonAlertView {
view
.
cancelBlcok
=
cancelCallBack
view
.
cancelBlcok
=
cancelCallBack
view
.
setContent
(
title
,
attributedMessage
?
.
value
.
string
,
leftButtonString
,
rightButtonString
)
view
.
setContent
(
title
,
attributedMessage
?
.
value
.
string
,
leftButtonString
,
rightButtonString
)
view
.
messageLabel
.
attributed
.
text
=
attributedMessage
view
.
messageLabel
.
attributed
.
text
=
attributedMessage
view
.
messageLabel
.
lineBreakMode
=
.
byCharWrapping
view
.
isFullGuestureEnabel
=
fullGuestureEnable
view
.
isFullGuestureEnabel
=
fullGuestureEnable
let
window
=
UIApplication
.
shared
.
yhKeyWindow
()
let
window
=
UIApplication
.
shared
.
yhKeyWindow
()
window
?
.
addSubview
(
view
)
window
?
.
addSubview
(
view
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignDocumentManagement(续签文书管理)/C/YHResignDocumentDetailViewController.swift
View file @
456de376
...
@@ -321,9 +321,9 @@ extension YHResignDocumentDetailViewController: UITableViewDelegate, UITableView
...
@@ -321,9 +321,9 @@ extension YHResignDocumentDetailViewController: UITableViewDelegate, UITableView
sheetView
.
show
()
sheetView
.
show
()
}
else
if
editType
==
.
delete
{
// 删除
}
else
if
editType
==
.
delete
{
// 删除
// 增加二次弹窗确认
// 增加二次弹窗确认
let
message0
:
ASAttributedString
=
.
init
(
string
:
"您确定要删除文档"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
16
)),
.
foreground
(
UIColor
(
hexString
:
"#222222"
)
??
.
black
))
let
message0
:
ASAttributedString
=
.
init
(
string
:
"您确定要删除文档"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
message1
:
ASAttributedString
=
.
init
(
string
:
"
\(
title
)
"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
message1
:
ASAttributedString
=
.
init
(
string
:
"
\(
title
)
"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
message2
:
ASAttributedString
=
.
init
(
string
:
"吗?"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
16
)),
.
foreground
(
UIColor
(
hexString
:
"#222222"
)
??
.
black
))
let
message2
:
ASAttributedString
=
.
init
(
string
:
"吗?"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
YHCommonAlertView
.
show
(
title
:
nil
,
attributedMessage
:
message0
+
message1
+
message2
,
"取消"
,
"确认"
,
fullGuestureEnable
:
false
)
{
YHCommonAlertView
.
show
(
title
:
nil
,
attributedMessage
:
message0
+
message1
+
message2
,
"取消"
,
"确认"
,
fullGuestureEnable
:
false
)
{
}
callBack
:
{
[
weak
self
]
in
}
callBack
:
{
[
weak
self
]
in
guard
let
self
=
self
else
{
guard
let
self
=
self
else
{
...
@@ -375,7 +375,15 @@ extension YHResignDocumentDetailViewController: UITableViewDelegate, UITableView
...
@@ -375,7 +375,15 @@ extension YHResignDocumentDetailViewController: UITableViewDelegate, UITableView
}
}
cell
.
sureButtonClickEvent
=
{
[
weak
self
]
in
cell
.
sureButtonClickEvent
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
submitAllUploadFiles
()
// 产品说增加二次弹窗确认
YHCommonAlertView
.
show
(
""
,
"确认提交?"
,
"取消"
,
"确认"
,
fullGuestureEnable
:
false
)
{
}
callBack
:
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
self
.
submitAllUploadFiles
()
}
}
}
return
cell
return
cell
}
}
...
...
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