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
87bd5765
authored
2024-04-24 09:47:01 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
db50ac0d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
13 deletions
src/viewsPc/booking/hotelDetail.vue
src/viewsPc/center/myReservation.vue
src/viewsPc/booking/hotelDetail.vue
View file @
87bd576
...
...
@@ -88,12 +88,12 @@
<div>
{{
language
==
0
?
'在线付'
:
'Online'
}}
</div>
</div>
<el-button
v-else
class=
"btn-lineG w100"
round
type=
"primary"
@
click=
"goOrder(r)"
>
Select
</el-button>
<div
class=
"text-center text-primary mt10 fontsize14 pointer"
v-if=
"language == 0"
>
剩余
{{
(
r
.
roomCount
-
(
r
.
useCount
||
0
)).
toFixed
()
}}
间
</div
>
<div
class=
"text-center text-primary mt10 fontsize14"
v-else
>
{{
(
r
.
roomCount
-
(
r
.
useCount
||
0
)).
toFixed
()
}}
Remaining rooms
</div
>
<!--
<div
class=
"text-center text-primary mt10 fontsize14 pointer"
v-if=
"language == 0"
>
--
>
<!-- 剩余
{{
(
r
.
roomCount
-
(
r
.
useCount
||
0
)).
toFixed
()
}}
间-->
<!--
</div>
--
>
<!--
<div
class=
"text-center text-primary mt10 fontsize14"
v-else
>
--
>
<!--
{{
(
r
.
roomCount
-
(
r
.
useCount
||
0
)).
toFixed
()
}}
Remaining rooms-->
<!--
</div>
--
>
</el-col>
</el-row>
</div>
...
...
src/viewsPc/center/myReservation.vue
View file @
87bd576
...
...
@@ -17,32 +17,40 @@
{{
language
==
0
?
'订单编号:'
:
'No.'
}}
{{
b
.
id
}}
</div>
<div
class=
"status-po"
>
<span
class=
"bg-warning"
v-if=
"b.status == '0'&&b.surplus!='0,0'&&b.surplus!='0'"
style=
"margin-right: 24px;"
>
待支付
<span
class=
"bg-warning"
v-if=
"b.status == '0'&&b.surplus!='0,0'&&b.surplus!='0'"
>
待支付
</span>
<span
class=
"bg-warning"
v-if=
"b.status == '0'&&(b.surplus=='0,0'||b.surplus=='0')"
>
已取消
</span>
<span
class=
"bg-blue"
v-if=
"b.status == '1'"
>
支付成功
</span>
<span
class=
"bg-warning"
v-if=
"b.status == '2'"
>
已取消
</span>
<span
class=
"bg-danger"
v-if=
"b.status == '3'||b.status == '4'"
>
已退订
</span>
</div>
<div
class=
"
bbody
"
v-if=
"b.orderType == 0"
>
<div
class=
"
plr20
"
v-if=
"b.orderType == 0"
>
<h3
class=
"name"
>
{{
b
.
name
}}
</h3>
<p>
{{
b
.
messageObj
?.
roomStayDate
}}
</p>
<p>
{{
b
.
messageObj
?.
roomName
}}
</p>
<p>
{{
b
.
messageObj
?.
roomInfo
}}
</p>
</div>
<div
class=
"
bbody
"
v-if=
"b.orderType == 1"
>
<div
class=
"
plr20
"
v-if=
"b.orderType == 1"
>
<h3
class=
"name"
>
{{
b
.
name
}}
</h3>
<div
v-for=
"(car,index) in b.messageObj.carsList"
:key=
"index"
>
<div
v-if=
"car.num>0"
>
{{
car
.
name
}}
:
{{
car
.
num
}}
辆
</div>
</div>
<div>
{{
b
.
handleDate
}}
</div>
</div>
<el-row
justify=
"space-between"
>
<div
class=
"plr20"
v-if=
"b.orderType == 2"
>
<h3
class=
"name"
>
{{
b
.
name
}}
</h3>
<div
v-for=
"(n,index) in b.messageObj.foodsList"
:key=
"index"
>
<div
v-if=
"n.num > 0"
>
{{
n
.
name
}}
(
{{
n
.
categoryName
}}
) *
<span>
{{
n
.
num
}}
份
</span>
</div>
</div>
</div>
<el-row
class=
"plr20 mt10"
justify=
"space-between"
>
<el-col
:lg=
"8"
>
<span
class=
"bigMoney"
>
{{
language
==
0
?
'¥'
:
'€'
}}
{{
b
.
total
}}
</span>
<span
class=
"text-warning"
>
{{
language
==
0
?
'¥'
:
'€'
}}
<span
class=
"bigMoney"
>
{{
b
.
total
}}
</span>
</span>
</el-col>
<el-col
:lg=
"8"
>
...
...
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