Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2d4afb86
authored
2024-05-11 11:04:51 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单倒计时
1 parent
5967e434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/viewsPc/center/myReservation.vue
src/viewsPc/center/myReservation.vue
View file @
2d4afb8
...
...
@@ -131,9 +131,8 @@ function getList() {
b
.
messageObj
=
JSON
.
parse
(
b
.
message
)
||
{}
b
.
extJsonObj
=
JSON
.
parse
(
b
.
extJson
)
||
{}
if
(
b
.
surplus
&&
b
.
status
==
'0'
&&
(
b
.
surplus
!=
'0,0'
&&
b
.
surplus
!=
'0'
)){
const
a
=
Number
(
b
.
surplus
.
split
(
','
)[
0
]
*
60
)
const
c
=
Number
(
b
.
surplus
.
split
(
','
)[
1
]
*
10
)
b
.
countdown
=
Date
.
now
()
+
a
+
c
b
.
countdown
=
Date
.
now
()
+
Number
((
b
.
surplus
.
split
(
','
)[
0
]
*
60
+
b
.
surplus
.
split
(
','
)[
1
])
*
10
)
console
.
log
(
b
.
countdown
)
}
}
console
.
log
(
list
.
value
)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment