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
c0d688b6
Commit
c0d688b6
authored
Jun 11, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改服务中心一些细节
parent
175f3733
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
YHOrderDetailViewController.swift
...elligentService(服务中心)/C/YHOrderDetailViewController.swift
+1
-0
YHOrderSearchViewController.swift
...elligentService(服务中心)/C/YHOrderSearchViewController.swift
+9
-4
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHOrderDetailViewController.swift
View file @
c0d688b6
...
...
@@ -46,6 +46,7 @@ class YHOrderDetailViewController: YHBaseViewController {
@objc
func
searchButtonClick
()
{
let
vc
=
YHOrderSearchViewController
()
vc
.
mobile
=
model
.
mobile
self
.
navigationController
?
.
pushViewController
(
vc
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHOrderSearchViewController.swift
View file @
c0d688b6
...
...
@@ -13,6 +13,7 @@ class YHOrderSearchViewController: YHBaseViewController {
var
searchBar
:
YHSearchInfoBar
!
var
emptyDataTipsView
:
YHEmptyDataView
!
var
items
:
[
YHContactItemModel
]
=
[]
var
mobile
:
String
=
""
var
viewModel
:
YHServiceOrderSearchViewModel
=
YHServiceOrderSearchViewModel
()
override
func
viewDidLoad
()
{
...
...
@@ -68,7 +69,7 @@ class YHOrderSearchViewController: YHBaseViewController {
}
emptyDataTipsView
=
{
let
view
=
YHEmptyDataView
.
createView
(
"
无搜索结果
"
,
kEmptySearchBgName
)
let
view
=
YHEmptyDataView
.
createView
(
"
没有搜索到相关订单
"
,
kEmptySearchBgName
)
view
.
topMargin
=
204
view
.
isHidden
=
true
return
view
...
...
@@ -113,9 +114,13 @@ extension YHOrderSearchViewController: UITableViewDelegate, UITableViewDataSourc
cell
.
dataSource
=
items
[
indexPath
.
row
]
cell
.
cellBlock
=
{[
weak
self
]
model
in
guard
let
self
=
self
else
{
return
}
let
vc
=
YHServiceCenterMainViewController
()
vc
.
model
=
model
self
.
navigationController
?
.
pushViewController
(
vc
)
if
self
.
mobile
==
model
.
mobile
{
self
.
navigationController
?
.
popToRootViewController
(
animated
:
true
)
}
else
{
let
vc
=
YHServiceCenterMainViewController
()
vc
.
model
=
model
self
.
navigationController
?
.
pushViewController
(
vc
)
}
}
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