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
7805e038
Commit
7805e038
authored
Aug 13, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
几处 代码优化
parent
2099003a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
YHOfficialApprovalResultVC.swift
.../OfficialApproval(正式批)/C/YHOfficialApprovalResultVC.swift
+9
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/OfficialApproval(正式批)/C/YHOfficialApprovalResultVC.swift
View file @
7805e038
...
...
@@ -124,12 +124,19 @@ class YHOfficialApprovalResultVC: YHBaseViewController {
self
.
indicatorView
.
indicatorItems
=
self
.
dataArr
.
count
bannerView
.
reloadData
()
self
.
indicatorView
.
curIndicatorIndex
=
0
if
dataArr
.
count
>
0
{
bannerView
.
reloadData
()
bannerView
.
selectItem
(
at
:
0
,
animated
:
false
)
let
aa
:
ASAttributedString
=
.
init
(
"左滑查看其他获批信,当前 "
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
(
hex
:
0xffffff
,
alpha
:
0.6
)))
let
bb
:
ASAttributedString
=
.
init
(
"1/
\(
self
.
dataArr
.
count
)
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
(
hex
:
0xffffff
,
alpha
:
1.0
)))
tipsLabel
.
attributed
.
text
=
aa
+
bb
tipsLabel
.
isHidden
=
false
}
else
{
tipsLabel
.
isHidden
=
true
}
}
}
...
...
@@ -154,10 +161,11 @@ class YHOfficialApprovalResultVC: YHBaseViewController {
super
.
viewDidLoad
()
setupUI
()
getApprovalLetter
()
if
!
showGuildViewFlag
{
getAlertStatus
()
}
getOfficalGuildCheckStatus
()
}
...
...
@@ -225,7 +233,6 @@ private extension YHOfficialApprovalResultVC {
return
}
// model.type = 1 //for test hjl
if
model
.
type
==
1
{
let
now
=
Date
()
let
timestamp
=
now
.
timeIntervalSince1970
...
...
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