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
457df1c3
Commit
457df1c3
authored
May 12, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式优化
parent
8d787582
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
orders.vue
pages/AggregateOrders/components/orders.vue
+8
-7
No files found.
pages/AggregateOrders/components/orders.vue
View file @
457df1c3
...
...
@@ -47,9 +47,6 @@
<!-- #endif -->
<view
class=
"row"
>
<!-- #ifdef MP-DI -->
<view
v-if=
"item.remainingSeconds"
style=
"line-height: 60rpx;color: #B99846;"
>
剩余:{{ formatTime(item.remainingSeconds) }}
</view>
<
template
v-if=
"item.goodsType==9"
>
<view
v-if=
"item.orderStatus==1||item.orderStatus==2"
class=
"jz_Zailai"
style=
"width: 110rpx;margin-left: 10rpx;"
@
click
.
stop=
"cancelHotelOrder(item)"
>
取消
...
...
@@ -62,8 +59,9 @@
<view
v-if=
"item.orderStatus==1"
class=
"jz_Zailai jz_ZailaiZF"
style=
"margin-left: 10rpx;"
:style=
"{'width':!item.remainingSeconds?'150rpx':'auto'}"
:class=
"[item.remainingSeconds?'active':'']"
@
click
.
stop=
"submitGetCodeByOrderNo(item)"
>
立即支付
<
te
mplate
v-if=
"item.remainingSeconds"
>
剩余:
{{
formatTime
(
item
.
remainingSeconds
)
}}
</
template
>
立即支付
<te
xt
v-if=
"item.remainingSeconds"
style=
"margin-left: 10rpx;"
>
剩余:{{ formatTime(item.remainingSeconds) }}
</text
>
</view>
<view
v-if=
"item.orderStatus!=1"
style=
"margin-left: 10rpx;"
class=
"jz_Zailai"
@
click
.
stop=
"AnotherOrder(item)"
>
再来一单
</view>
...
...
@@ -76,7 +74,8 @@
style=
"width: 110rpx;margin-left: 10rpx;"
@
click
.
stop=
"goCancel(item)"
>
取消
</view>
<view
v-if=
"item.goodsType==7&&item.orderStatus==1"
class=
"jz_Zailai jz_ZailaiZF"
style=
"margin-left: 10rpx;"
:style=
"{'width':!item.remainingSeconds?'150rpx':'auto','padding':!item.remainingSeconds?'0':'0 20rpx',}"
:style=
"{'width':!item.remainingSeconds?'150rpx':'auto'}"
:class=
"[item.remainingSeconds?'active':'']"
@
click
.
stop=
"submitGetCodeByOrderNo(item)"
>
立即支付
<text
v-if=
"item.remainingSeconds"
style=
"margin-left: 10rpx;"
>
剩余:{{ formatTime(item.remainingSeconds) }}
</text>
</view>
...
...
@@ -129,6 +128,7 @@
// #ifdef MP-AG
goodsTypeHotel
=
x
.
goodsType
==
7
?
1
:
0
// #endif
if
(
x
.
orderStatus
!=
1
)
x
.
isExpired
=
true
if
(
x
.
orderStatus
==
1
&&
goodsTypeHotel
>
0
)
{
const
now
=
Date
.
now
();
// const customStr = '2025-05-12 14:43:00'
...
...
@@ -641,9 +641,10 @@
font-size
:
24rpx
;
position
:
relative
;
border
:
1rpx
solid
rgba
(
164
,
164
,
164
,
.3
);
}
.jz_Zailai.active
{
padding
:
0
20rpx
;
}
.jz_Zailai.jz_ZailaiZF
{
color
:
#B99846
;
border
:
1rpx
solid
#B99846
;
...
...
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