Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
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
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
罗超
bigwood
Commits
d26392dc
Commit
d26392dc
authored
Sep 21, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
4c8d0a17
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
16 deletions
+20
-16
allDay.vue
src/components/trip/block/allDay.vue
+5
-4
index.vue
src/components/trip/block/index.vue
+8
-8
detailsNew.vue
src/pages/scheduledTrip/detailsNew.vue
+7
-4
No files found.
src/components/trip/block/allDay.vue
View file @
d26392dc
...
@@ -103,11 +103,11 @@
...
@@ -103,11 +103,11 @@
>
>
<q-btn
<q-btn
push
round
dense
color=
"primary"
text-color=
"while"
icon=
"arrow_left"
push
round
dense
color=
"primary"
text-color=
"while"
icon=
"arrow_left"
@
click=
"carousel.previous()"
@
click=
"
$refs.
carousel.previous()"
/>
/>
<q-btn
<q-btn
push
round
dense
color=
"primary"
text-color=
"while"
icon=
"arrow_right"
push
round
dense
color=
"primary"
text-color=
"while"
icon=
"arrow_right"
@
click=
"carousel.next()"
@
click=
"
$refs.
carousel.next()"
/>
/>
</q-carousel-control>
</q-carousel-control>
</
template
>
</
template
>
...
@@ -142,6 +142,8 @@
...
@@ -142,6 +142,8 @@
images
:[],
images
:[],
day
:
props
.
day
,
day
:
props
.
day
,
isDirect
:
props
.
isDirect
,
isDirect
:
props
.
isDirect
,
slide
:
0
,
autoplay
:
0
})
})
props
.
day
.
details
.
forEach
(
x
=>
{
props
.
day
.
details
.
forEach
(
x
=>
{
if
(
x
.
img
){
if
(
x
.
img
){
...
@@ -201,4 +203,3 @@
...
@@ -201,4 +203,3 @@
border-style
:
none
!important
;
border-style
:
none
!important
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/components/trip/block/index.vue
View file @
d26392dc
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<template
v-if=
"$q.platform.is.desktop"
>
<template
v-if=
"$q.platform.is.desktop"
>
<div
class=
"trip-title"
>
<div
class=
"trip-title"
>
<div>
<div>
<p
class=
"day"
>
第
<span
v-if=
'item.dayNum
<10
'
>
0
</span>
{{
item
.
dayNum
}}
天
</p>
<p
class=
"day"
>
{{
$t
(
'v102.vehicle.di'
)
}}
<span
v-if=
'item.dayNum
<10
'
>
0
</span>
{{
item
.
dayNum
}}{{
$t
(
'v102.vehicle.tian'
)
}}
</p>
<!--
<p>
{{
item
.
dateTime
}}
</p>
-->
<!--
<p>
{{
item
.
dateTime
}}
</p>
-->
</div>
</div>
<div
class=
"desc"
v-html=
"item.title"
></div>
<div
class=
"desc"
v-html=
"item.title"
></div>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<div>
<div>
<div
class=
"bg-grey-3 q-px-lg q-py-md"
>
<div
class=
"bg-grey-3 q-px-lg q-py-md"
>
<div>
<div>
<div
class=
"fz28 text-light-blue-6"
>
第
<span
class=
"fz28"
style=
"font-weight: bold;"
><span
v-if=
'item.dayNum
<10
'
>
0
</span>
{{
item
.
dayNum
}}
</span>
天
</div>
<div
class=
"fz28 text-light-blue-6"
>
{{
$t
(
'v102.vehicle.di'
)
}}
<span
class=
"fz28"
style=
"font-weight: bold;"
><span
v-if=
'item.dayNum
<10
'
>
0
</span>
{{
item
.
dayNum
}}
</span>
{{
$t
(
'v102.vehicle.tian'
)
}}
</div>
<!--
<p>
{{
item
.
dateTime
}}
</p>
-->
<!--
<p>
{{
item
.
dateTime
}}
</p>
-->
</div>
</div>
<div
class=
"fz15 q-py-sm text-grey-8"
v-html=
"item.title"
></div>
<div
class=
"fz15 q-py-sm text-grey-8"
v-html=
"item.title"
></div>
...
...
src/pages/scheduledTrip/detailsNew.vue
View file @
d26392dc
<
template
>
<
template
>
<div
style=
"min-height: 80vh"
>
<div
style=
"min-height: 80vh"
>
<div
class=
""
<div
class=
""
style=
"max-width: 1200px; margin: auto;position: relative;"
>
style=
"margin: auto;position: relative;"
:style=
"
{'max-width': $q.platform.is.desktop?'1200px':'100%'}">
<div
style=
"position: fixed; left: 0; right: 0; top: 0; border-top: 1px solid #eee; box-shadow: 0 2px 8px rgb(0 0 0 / 20%); z-index: 9999999"
class=
"bg-white"
<div
style=
"position: fixed; left: 0; right: 0; top: 0; border-top: 1px solid #eee; box-shadow: 0 2px 8px rgb(0 0 0 / 20%); z-index: 9999999"
class=
"bg-white"
v-if=
"(currentHeight > navs[0].top + 100&&$q.platform.is.desktop)||
v-if=
"(currentHeight > navs[0].top + 100&&$q.platform.is.desktop)||
(currentHeight>priceListHeight&¤tHeight
<
navs
[
0
].
top
&&$
q
.
platform
.
is
.
mobile
)"
(currentHeight>priceListHeight&¤tHeight
<
navs
[
0
].
top
&&$
q
.
platform
.
is
.
mobile
)"
...
@@ -39,7 +40,8 @@
...
@@ -39,7 +40,8 @@
@
click=
"goScrollHandler(x.top + 20)"
:name=
"x.display"
:label=
"x.display"
></q-tab>
@
click=
"goScrollHandler(x.top + 20)"
:name=
"x.display"
:label=
"x.display"
></q-tab>
</q-tabs>
</q-tabs>
</div>
</div>
<div
v-if=
"dataList"
style=
"width: 1200px; margin-left: auto; margin-right: auto"
class=
"q-mt-md q-mb-lg"
:class=
"
{ 'q-px-md': $q.screen.width
<
1220
}"
>
<div
v-if=
"dataList"
style=
"margin-left: auto; margin-right: auto"
:style=
"
{'width': $q.platform.is.desktop?'1200px':'100%'}" class="q-mt-md q-mb-lg" :class="{ 'q-px-md': $q.screen.width
<
1220
}"
>
<div
style=
"padding-bottom:calc((100% - 0px)/3);position:relative;"
>
<div
style=
"padding-bottom:calc((100% - 0px)/3);position:relative;"
>
<div
style=
"position: absolute; left: 0; top: 0; right: 0; bottom: 0"
class=
"overflow-hidden rounded-borders"
>
<div
style=
"position: absolute; left: 0; top: 0; right: 0; bottom: 0"
class=
"overflow-hidden rounded-borders"
>
<q-carousel
<q-carousel
...
@@ -132,7 +134,8 @@
...
@@ -132,7 +134,8 @@
</div>
</div>
</div>
</div>
<div
v-if=
"dataList"
class=
"q-pa-lg q-mt-lg text-grey-9"
ref=
"pricelistref"
>
<div
v-if=
"dataList"
class=
"q-pa-lg q-mt-lg text-grey-9"
ref=
"pricelistref"
>
<div
style=
"max-width: 1200px; margin-left: auto; margin-right: auto"
>
<div
style=
"margin-left: auto; margin-right: auto"
:style=
"
{'max-width': $q.platform.is.desktop?'1200px':'100%'}">
<div
class=
"text-h6"
>
{{
$t
(
'v103.scheduledTripDetails.selectionscheme'
)
}}
</div>
<div
class=
"text-h6"
>
{{
$t
(
'v103.scheduledTripDetails.selectionscheme'
)
}}
</div>
<div
class=
"rounded-borders bg-white q-pa-md q-mt-md"
v-if=
"$q.platform.is.mobile"
>
<div
class=
"rounded-borders bg-white q-pa-md q-mt-md"
v-if=
"$q.platform.is.mobile"
>
<q-field
class=
"q-my-md"
stack-label
:label=
"$t('v103.scheduledTripDetails.selectdate')"
standout
dense
>
<q-field
class=
"q-my-md"
stack-label
:label=
"$t('v103.scheduledTripDetails.selectdate')"
standout
dense
>
...
@@ -236,7 +239,7 @@
...
@@ -236,7 +239,7 @@
<div
class=
"q-pb-xl"
v-if=
"tripImages&&tripImages.length>0"
<div
class=
"q-pb-xl"
v-if=
"tripImages&&tripImages.length>0"
ref=
"diyContext"
>
ref=
"diyContext"
>
<div
v-for=
"(x,i) in tripImages"
>
<div
v-for=
"(x,i) in tripImages"
>
<
!-- <img class="block" :src="x.header" width="100%"> --
>
<
img
class=
"block"
:src=
"x.header"
style=
"width: 100%;"
>
<img
class=
"block"
:src=
"x.page"
style=
"width: 100%;"
>
<img
class=
"block"
:src=
"x.page"
style=
"width: 100%;"
>
<div
class=
"tripImages-footer"
>
<div
class=
"tripImages-footer"
>
<img
class=
"block"
:src=
"x.footer"
style=
"width: 100%;"
>
<img
class=
"block"
:src=
"x.footer"
style=
"width: 100%;"
>
...
...
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