Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
52a6c477
Commit
52a6c477
authored
Mar 02, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
53b0f3d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
orderPreview.vue
src/components/car/orderPreview.vue
+9
-2
detailsCar.vue
src/pages/detailsCar.vue
+1
-1
routes.js
src/router/routes.js
+4
-0
No files found.
src/components/car/orderPreview.vue
View file @
52a6c477
...
...
@@ -115,7 +115,8 @@
v-if=
"(p.startDate&&!selectedCar)||(p.startDate&&dataList.CarType!=3&&!selectedAirportObj)"
>
{{`請選擇上面的${dataList.CarType==3?'車類型':'機場、車類型'}`}}
</span>
<q-btn
color=
"primary"
label=
"立即訂購"
unelevated
class=
"q-px-lg"
:disable=
"sumPrice==0"
/>
<q-btn
color=
"primary"
label=
"立即訂購"
unelevated
class=
"q-px-lg"
:disable=
"sumPrice==0"
@
click=
"goUrl"
/>
</div>
</div>
</div>
...
...
@@ -172,6 +173,12 @@ export default {
},
methods
:
{
goUrl
(){
this
.
CommonJump
(
"/PickuporderForm"
,
{}
);
},
// 获取车的详情
getCarPriceData2
()
{
this
.
priceList
=
[]
...
...
@@ -188,7 +195,7 @@ export default {
let
arr
=
[]
r
.
data
.
data
.
forEach
(
x
=>
{
if
(
x
.
Price
){
if
(
this
.
chosenObj
.
startDate
==
x
.
start
Date
){
if
(
this
.
chosenObj
.
startDate
==
x
.
Date
){
this
.
p
.
originalB2CPrice
=
x
.
Price
}
let
dataObj
=
{
...
...
src/pages/detailsCar.vue
View file @
52a6c477
...
...
@@ -117,7 +117,7 @@
>
<div
class=
"col q-mr-lg"
>
<div
class=
"text-h6 ellipsis-2-lines"
>
{{
dataList
.
Name
}}
</div>
<div
class=
"text-grey-7 fz17 ellipsis-
1
-lines"
>
{{
dataList
.
Description
}}
</div>
<div
class=
"text-grey-7 fz17 ellipsis-
2
-lines"
>
{{
dataList
.
Description
}}
</div>
<div
class=
"q-mt-md f12 text-grey-6"
>
<q-icon
name=
"iconfont icondingweixiao"
...
...
src/router/routes.js
View file @
52a6c477
...
...
@@ -32,6 +32,10 @@ const routes = [{
path
:
'/detailCar/:id'
,
component
:
()
=>
import
(
'pages/detailsCar.vue'
)
},
{
// 包车,接机下单
path
:
'/PickuporderForm'
,
component
:
()
=>
import
(
'pages/Pickuporder/orderForm.vue'
)
},
{
// 酒店
path
:
'/detailHotal/:id'
,
component
:
()
=>
...
...
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