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
b6774f04
Commit
b6774f04
authored
Jul 29, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d7f61d1c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
orders.vue
pages/AggregateOrders/components/orders.vue
+11
-2
order.vue
pages/bus/order.vue
+1
-1
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+1
-1
visa_Reserve.vue
pages/visa/visa_Reserve.vue
+1
-1
No files found.
pages/AggregateOrders/components/orders.vue
View file @
b6774f04
...
@@ -124,11 +124,20 @@
...
@@ -124,11 +124,20 @@
this
.
g
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
this
.
g
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
this
.
g
.
forEach
(
x
=>
{
this
.
g
.
forEach
(
x
=>
{
let
goodsTypeHotel
=
0
let
goodsTypeHotel
=
0
let
Time
=
5
// #ifdef MP-DI
// #ifdef MP-DI
goodsTypeHotel
=
x
.
goodsType
==
9
?
1
:
0
goodsTypeHotel
=
x
.
goodsType
==
9
?
1
:
0
if
(
x
.
goodsType
==
1
||
x
.
goodsType
==
2
||
x
.
goodsType
==
3
||
x
.
goodsType
==
15
||
x
.
goodsType
==
12
||
x
.
goodsType
==
13
||
x
.
goodsType
==
14
)
{
Time
=
30
goodsTypeHotel
=
1
}
// #endif
// #endif
// #ifdef MP-AG
// #ifdef MP-AG
goodsTypeHotel
=
x
.
goodsType
==
7
?
1
:
0
goodsTypeHotel
=
x
.
goodsType
==
7
?
1
:
0
if
(
this
.
b2b_user
.
isGuideOrLeader
==
1
&&
(
x
.
goodsType
==
2
||
x
.
goodsType
==
5
||
x
.
goodsType
==
6
))
{
Time
=
30
goodsTypeHotel
=
1
}
// #endif
// #endif
if
(
x
.
orderStatus
!=
1
)
x
.
isExpired
=
true
if
(
x
.
orderStatus
!=
1
)
x
.
isExpired
=
true
if
(
x
.
orderStatus
==
1
&&
goodsTypeHotel
>
0
)
{
if
(
x
.
orderStatus
==
1
&&
goodsTypeHotel
>
0
)
{
...
@@ -140,7 +149,7 @@
...
@@ -140,7 +149,7 @@
const
[
hours
,
minutes
,
seconds
]
=
time
.
split
(
':'
)
const
[
hours
,
minutes
,
seconds
]
=
time
.
split
(
':'
)
const
parsedDate
=
new
Date
(
year
,
month
-
1
,
day
,
hours
,
minutes
,
seconds
)
const
parsedDate
=
new
Date
(
year
,
month
-
1
,
day
,
hours
,
minutes
,
seconds
)
x
.
orderTime
=
parsedDate
.
getTime
()
x
.
orderTime
=
parsedDate
.
getTime
()
const
diff
=
x
.
orderTime
+
5
*
60
*
1000
-
now
;
// 5分钟倒计时
const
diff
=
x
.
orderTime
+
Time
*
60
*
1000
-
now
;
// 5分钟倒计时
let
remainingSeconds
=
Math
.
max
(
diff
,
0
);
// 确保不出现负数
let
remainingSeconds
=
Math
.
max
(
diff
,
0
);
// 确保不出现负数
x
.
remainingSeconds
=
Math
.
floor
(
remainingSeconds
/
1000
)
x
.
remainingSeconds
=
Math
.
floor
(
remainingSeconds
/
1000
)
if
(
x
.
remainingSeconds
<=
0
)
{
if
(
x
.
remainingSeconds
<=
0
)
{
...
...
pages/bus/order.vue
View file @
b6774f04
...
@@ -341,7 +341,7 @@
...
@@ -341,7 +341,7 @@
<
u
-
modal
:
border
-
radius
=
"16"
<
u
-
modal
:
border
-
radius
=
"16"
@
confirm
=
"nativageToOrderHandle"
@
confirm
=
"nativageToOrderHandle"
title
=
"订单提醒"
title
=
"订单提醒"
content
=
"订单创建成功,请您在
6小时
内完成付款,否则将会被取消."
content
=
"订单创建成功,请您在
30分钟
内完成付款,否则将会被取消."
@
cancel
=
"navigatorToHomeHandle"
@
cancel
=
"navigatorToHomeHandle"
v
-
model
=
"successVisible"
confirm
-
text
=
'查看订单'
cancel
-
text
=
'返回首页'
v
-
model
=
"successVisible"
confirm
-
text
=
'查看订单'
cancel
-
text
=
'返回首页'
confirm
-
color
=
'#DEBF7B'
cancel
-
color
=
'#080A09'
:
show
-
cancel
-
button
=
"true"
><
/u-modal
>
confirm
-
color
=
'#DEBF7B'
cancel
-
color
=
'#080A09'
:
show
-
cancel
-
button
=
"true"
><
/u-modal
>
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
b6774f04
...
@@ -589,7 +589,7 @@
...
@@ -589,7 +589,7 @@
<u-modal
:border-radius=
"16"
<u-modal
:border-radius=
"16"
@
confirm=
"nativageToOrderHandle"
@
confirm=
"nativageToOrderHandle"
title=
"订单提醒"
title=
"订单提醒"
content=
"订单创建成功,请您在
6小时
内完成付款,否则将会被取消."
content=
"订单创建成功,请您在
30分钟
内完成付款,否则将会被取消."
@
cancel=
"navigatorToHomeHandle"
@
cancel=
"navigatorToHomeHandle"
v-model=
"successVisible"
confirm-text=
'查看订单'
cancel-text=
'返回首页'
v-model=
"successVisible"
confirm-text=
'查看订单'
cancel-text=
'返回首页'
confirm-color=
'#DEBF7B'
cancel-color=
'#080A09'
:show-cancel-button=
"true"
></u-modal>
confirm-color=
'#DEBF7B'
cancel-color=
'#080A09'
:show-cancel-button=
"true"
></u-modal>
...
...
pages/visa/visa_Reserve.vue
View file @
b6774f04
...
@@ -784,7 +784,7 @@
...
@@ -784,7 +784,7 @@
<u-modal
:border-radius=
"16"
<u-modal
:border-radius=
"16"
@
confirm=
"nativageToOrderHandle"
@
confirm=
"nativageToOrderHandle"
title=
"订单提醒"
title=
"订单提醒"
content=
"订单创建成功,请您在
6小时
内完成付款,否则将会被取消."
content=
"订单创建成功,请您在
30分钟
内完成付款,否则将会被取消."
@
cancel=
"navigatorToHomeHandle"
@
cancel=
"navigatorToHomeHandle"
v-model=
"successVisible"
confirm-text=
'查看订单'
cancel-text=
'返回首页'
v-model=
"successVisible"
confirm-text=
'查看订单'
cancel-text=
'返回首页'
confirm-color=
'#DEBF7B'
cancel-color=
'#080A09'
:show-cancel-button=
"true"
></u-modal>
confirm-color=
'#DEBF7B'
cancel-color=
'#080A09'
:show-cancel-button=
"true"
></u-modal>
...
...
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