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
60e84991
Commit
60e84991
authored
Apr 22, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化下单
parent
edc941fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
order.vue
pages/hotel/order.vue
+7
-1
No files found.
pages/hotel/order.vue
View file @
60e84991
...
...
@@ -240,7 +240,9 @@
<
/text
>
<
/view
>
<
view
class
=
"sum-detail"
>
共计
{{
orderMsg
.
RoomCount
}}
间房
<
/view
>
<
u
-
button
:
ripple
=
"true"
:
hair
-
line
=
"false"
:
custom
-
style
=
"submit?btnStyle2:btnStyle"
@
click
=
"buyRoom"
<
u
-
button
:
ripple
=
"true"
:
hair
-
line
=
"false"
:
disabled
=
"!this.orderMsg.TotalPrice||submit"
:
custom
-
style
=
"!this.orderMsg.TotalPrice||submit?btnStyle2:btnStyle"
@
click
=
"buyRoom"
:
loading
=
"submit"
>
立即购买
<
/u-button
>
<
/view
>
<
/view
>
...
...
@@ -566,6 +568,10 @@
}
}
,
err
=>
{
uni
.
hideLoading
();
uni
.
showToast
({
title
:
err
.
message
,
icon
:
'none'
,
}
)
this
.
submit
=
false
;
}
);
}
,
...
...
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