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
fe5a9a84
Commit
fe5a9a84
authored
Aug 08, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除UAT代码
parent
7a27f734
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
20 deletions
+16
-20
YHOrderDetailViewController.swift
...elligentService(服务中心)/C/YHOrderDetailViewController.swift
+16
-20
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHOrderDetailViewController.swift
View file @
fe5a9a84
...
...
@@ -39,26 +39,22 @@ class YHOrderDetailViewController: YHBaseViewController {
viewModel
.
getWhitelist
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
if
success
{
if
YHUatHelper
.
shared
.
getUatModuleStatusBy
(
module
:
YHUatModules
(
rawValue
:
7
))
==
1
{
let
searchButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
81
,
height
:
21
)
button
.
setImage
(
UIImage
(
named
:
"service_detail_search"
),
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setTitle
(
"订单搜索"
,
for
:
.
normal
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
button
.
contentHorizontalAlignment
=
.
right
button
.
addTarget
(
self
,
action
:
#selector(
self.searchButtonClick
)
,
for
:
.
touchUpInside
)
button
.
isSelected
=
false
button
.
iconInLeft
(
spacing
:
4
)
return
button
}()
let
rightButtonItem
=
UIBarButtonItem
(
customView
:
searchButton
)
gk_navRightBarButtonItem
=
rightButtonItem
gk_navItemRightSpace
=
16
}
let
searchButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
81
,
height
:
21
)
button
.
setImage
(
UIImage
(
named
:
"service_detail_search"
),
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setTitle
(
"订单搜索"
,
for
:
.
normal
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
button
.
contentHorizontalAlignment
=
.
right
button
.
addTarget
(
self
,
action
:
#selector(
self.searchButtonClick
)
,
for
:
.
touchUpInside
)
button
.
isSelected
=
false
button
.
iconInLeft
(
spacing
:
4
)
return
button
}()
let
rightButtonItem
=
UIBarButtonItem
(
customView
:
searchButton
)
gk_navRightBarButtonItem
=
rightButtonItem
gk_navItemRightSpace
=
16
}
}
}
...
...
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