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
2039227f
Commit
2039227f
authored
Dec 27, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
操作指引
parent
cb8feab5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
YHlifeCollectionReusableView.swift
...es/Home(首页)/Life(生活)/V/YHlifeCollectionReusableView.swift
+4
-2
YHServiceCenterViewController.swift
...中心)/OrderList(服务订单)/C/YHServiceCenterViewController.swift
+4
-2
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/Life(生活)/V/YHlifeCollectionReusableView.swift
View file @
2039227f
...
@@ -325,7 +325,9 @@ class YHlifeCollectionReusableViewTableViewCell: UITableViewCell {
...
@@ -325,7 +325,9 @@ class YHlifeCollectionReusableViewTableViewCell: UITableViewCell {
}
}
@objc
func
actionClick
()
{
@objc
func
actionClick
()
{
actionButton
.
isSelected
=
true
if
actionButton
.
isSelected
{
return
}
viewModel
.
postLiveBook
(
id
:
dataSource
?
.
live_id
??
0
)
{
success
,
error
in
viewModel
.
postLiveBook
(
id
:
dataSource
?
.
live_id
??
0
)
{
success
,
error
in
if
success
{
if
success
{
YHHUD
.
flash
(
message
:
"预约成功"
)
YHHUD
.
flash
(
message
:
"预约成功"
)
...
@@ -333,6 +335,6 @@ class YHlifeCollectionReusableViewTableViewCell: UITableViewCell {
...
@@ -333,6 +335,6 @@ class YHlifeCollectionReusableViewTableViewCell: UITableViewCell {
YHHUD
.
flash
(
message
:
"预约失败"
)
YHHUD
.
flash
(
message
:
"预约失败"
)
}
}
}
}
actionButton
.
isSelected
=
true
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/OrderList(服务订单)/C/YHServiceCenterViewController.swift
View file @
2039227f
...
@@ -238,8 +238,10 @@ extension YHServiceCenterViewController {
...
@@ -238,8 +238,10 @@ extension YHServiceCenterViewController {
}
}
@objc
func
pushOrderView
()
{
@objc
func
pushOrderView
()
{
var
flag
=
false
let
flag
=
false
if
self
.
state
==
1
{
flag
=
true
}
YHServiceMoreAlertView
.
show
(
flag
)
{[
weak
self
]
index
in
YHServiceMoreAlertView
.
show
(
flag
)
{[
weak
self
]
index
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
index
==
1
{
if
index
==
1
{
...
...
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