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
d9875797
Commit
d9875797
authored
Apr 18, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化车产品详情
parent
f6cbbaa5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
45 deletions
+55
-45
orderPreview.vue
src/components/car/orderPreview.vue
+25
-25
calendar.vue
src/components/trip/calendar.vue
+10
-0
detailsCar.vue
src/pages/detailsCar.vue
+20
-20
No files found.
src/components/car/orderPreview.vue
View file @
d9875797
...
...
@@ -162,7 +162,7 @@ export default {
dataList
:
{
handler
(
n
,
o
)
{
this
.
dataList
=
n
;
this
.
handleSelect
(
n
.
AirportList
[
0
],
1
)
},
deep
:
true
,
immediate
:
true
...
...
src/components/trip/calendar.vue
View file @
d9875797
...
...
@@ -132,6 +132,7 @@ export default {
let
current
=
this
.
months
.
findIndex
((
x
)
=>
x
.
monthValue
==
firstMonth
)
this
.
currentMonth
=
current
>-
1
?
current
:
0
;
this
.
changeMonthHandler
();
},
createChosenDateHandler
()
{
let
beginDate
=
new
Date
();
...
...
@@ -174,6 +175,15 @@ export default {
price
,
});
newBeginDate
=
date
.
addToDate
(
newBeginDate
,
{
days
:
1
});
// 默认日期 价格
let
InitialOption
=
false
for
(
let
i
=
0
;
i
<
this
.
col
.
length
;
i
++
){
if
(
!
InitialOption
&&
this
.
col
[
i
].
price
&&
this
.
col
[
i
].
price
.
remainNum
>
0
)
{
this
.
currentDate
=
this
.
col
[
i
].
value
;
this
.
$emit
(
"change"
,
this
.
col
[
i
]);
InitialOption
=
true
}
}
}
let
after
=
6
-
date
.
formatDate
(
newBeginDate
,
"d"
);
for
(
let
i
=
0
;
i
<
after
;
i
++
)
{
...
...
src/pages/detailsCar.vue
View file @
d9875797
...
...
@@ -432,8 +432,8 @@
class=
"q-mt-lg trip-text bg-orange-1 q-pa-md rounded-borders q-mb-xl"
style=
"border: 1px dashed var(--q-color-warning)"
v-html=
"
dataList.
feature
? dataList.
feature.importantTip
|| '暂无购买须知'
dataList.
BuyNotes
? dataList.
BuyNotes
|| '暂无购买须知'
: '暂无购买须知'
"
:class=
"
{
...
...
@@ -645,7 +645,7 @@ export default {
"由於交通擁堵,時長可能會略有變化"
,
"每增加 30 分鐘,將收取相應的延期費。 (現場支付)"
,
],
showOrderPreview
:
fals
e
,
showOrderPreview
:
tru
e
,
videoPosition
:
0
,
currentHeight
:
0
,
isPictureInPicture
:
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