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
17d85520
Commit
17d85520
authored
Jan 30, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
efcdd01c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
CharteredBusCard.vue
src/components/CharteredBus/CharteredBusCard.vue
+0
-13
CharteredBusPreview.vue
src/pages/CharteredBus/CharteredBusPreview.vue
+2
-1
No files found.
src/components/CharteredBus/CharteredBusCard.vue
View file @
17d85520
...
...
@@ -36,19 +36,6 @@
</div>
-->
<div
class=
"q-py-lg no-wrap col"
:class=
"
{ row: $q.platform.is.desktop, column: $q.platform.is.mobile }">
<div
class=
"row rounded-borders relative-position"
:class=
"
{ 'col-6': $q.platform.is.desktop, 'height-320': $q.platform.is.mobile }" style="overflow: hidden" v-if="t.ImageList">
<div
v-if=
"t.PlayTimeHour||t.PlayTimeMinutes"
class=
"f12 absolute-left bg-white"
style=
"padding: 5px; bottom: unset; z-index: 1; border-bottom-right-radius: 4px"
>
<div
class=
"row items-center rounded-borders"
style=
"overflow: hidden"
>
<div
class=
"bg-dark text-white"
style=
"padding: 0 4px; font-size: 12px"
>
{{
$t
(
'v102.CharteredBus.recommendTime'
)
}}
</div>
<div
class=
"text-dark"
style=
"padding: 0 4px; font-size: 12px; background: #f0bd86"
>
<template
v-if=
"t.PlayTimeHour"
>
{{
t
.
PlayTimeHour
}}{{
$t
(
'v102.CharteredBus.hour'
)
}}
</
template
>
<
template
v-if=
"t.PlayTimeMinutes"
>
{{
t
.
PlayTimeMinutes
}}{{
$t
(
'v102.CharteredBus.minutes'
)
}}
</
template
>
</div>
</div>
</div>
<div
class=
"col-7"
:class=
"
{ 'col-7': t.ImageList.length >= 3, 'col-6': t.ImageList.length == 2, 'col-12': t.ImageList.length == 1 }">
<q-img
@
click=
"showImageHandler(`$
{t.ImageList[0]}`)" :src="`${t.ImageList[0]}`" spinner-color="drk" spinner-size="20px" height="100%" mode="cover">
<template
v-slot:error
>
...
...
src/pages/CharteredBus/CharteredBusPreview.vue
View file @
17d85520
...
...
@@ -279,7 +279,7 @@
<div
class=
"row items-center q-mt-md"
v-if=
"x.checked"
>
<q-badge
color=
"grey-3"
style=
"padding: 5px 8px"
text-color=
"info"
:label=
"x.CarName"
/>
<div
class=
"col f12 text-right"
>
{{
x
.
B2BPrice
.
toFixed
(
2
)
}}
x
{{
x
.
num
}}{{
$t
(
'v102.
ticket
.unit'
)
}}
{{
x
.
B2BPrice
.
toFixed
(
2
)
}}
x
{{
x
.
num
}}{{
$t
(
'v102.
CharteredBus
.unit'
)
}}
</div>
</div>
</
template
>
...
...
@@ -674,6 +674,7 @@ export default defineComponent({
}
methods
.
getQuotation
()
data
.
isCheck
=
data
.
types
.
findIndex
(
x
=>
x
.
checked
)
>
-
1
methods
.
changePeople
()
}
},
addPeople
(
item
:
any
,
type
:
any
)
{
...
...
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