Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
c30c8f70
Commit
c30c8f70
authored
May 13, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
338e31ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
orderdetails.vue
pages/hotel/orderdetails.vue
+4
-9
No files found.
pages/hotel/orderdetails.vue
View file @
c30c8f70
...
...
@@ -588,18 +588,13 @@
this
.
remainingSeconds
=
Math
.
floor
(
remainingSeconds
/
1000
)
let
endTime
=
new
Date
(
this
.
orderData
.
directOrder
.
CreateTime
)
endTime
.
set
Hours
(
endTime
.
getHours
()
+
6
)
endTime
.
set
Minutes
(
endTime
.
getMinutes
()
+
5
)
this
.
endts
=
this
.
remainingSeconds
console
.
log
(
this
.
endts
,
'----------'
)
if
(
this
.
endts
<=
0
){
this
.
c
ancleOrderHandle
(
)
this
.
c
hangeSeconds
(
this
.
remainingSeconds
)
}
const
m
=
Math
.
floor
(
this
.
remainingSeconds
/
60
)
const
s
=
this
.
remainingSeconds
%
60
this
.
dielineTime
=
`
${
m
}
分
${
s
}
秒`
// // 启动倒计时
// if(this.remainingSeconds) this.startCountdown()
// else this.handleTimeout()
this
.
dielineTime
=
`
${
endTime
.
getHours
()}
时
${
endTime
.
getMinutes
()}
分`
}
...
...
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