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
3ec42fec
Commit
3ec42fec
authored
Feb 17, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
81d22662
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
25 deletions
+27
-25
rightList.vue
src/components/searchdata/rightList.vue
+13
-8
search.vue
src/components/searchdata/search.vue
+6
-10
detailsNew.vue
src/pages/scheduledTrip/detailsNew.vue
+8
-4
scheduledTripList.vue
src/pages/scheduledTrip/scheduledTripList.vue
+0
-3
No files found.
src/components/searchdata/rightList.vue
View file @
3ec42fec
<
template
>
<
template
>
<div
class=
"rounded-borders bg-white
q-col-gutter-sm
"
>
<div
class=
"rounded-borders bg-white
"
:class=
"
{'q-col-gutter-sm':$q.platform.is.desktop}
">
<div
class=
"row
q-col-gutter-sm items-center q-pa-md
"
>
<div
class=
"row
items-center q-pa-md"
:class=
"
{'q-col-gutter-sm':$q.platform.is.desktop}
">
<div
class=
"text-subtitle2 q-mr-md"
>
<div
class=
"text-subtitle2 q-mr-md"
>
<span
class=
"text-weight-bold text-primary q-mr-sm"
>
{{
<span
class=
"text-weight-bold text-primary q-mr-sm"
>
{{
TotalCount
TotalCount
...
@@ -19,10 +19,11 @@
...
@@ -19,10 +19,11 @@
/>
/>
</div>
</div>
<div
<div
class=
"q-pa-md row items-center"
class=
"row items-center"
:class=
"
{'q-pa-md':$q.platform.is.desktop,'q-pa-sm justify-between':$q.platform.is.mobile}"
style="border-top: 1px solid #eee"
style="border-top: 1px solid #eee"
>
>
<span
class=
"f12"
>
{{
$t
(
'v103.scheduledTrip.sort'
)
}}
:
</span>
<span
class=
"f12"
v-if=
"$q.platform.is.desktop"
>
{{
$t
(
'v103.scheduledTrip.sort'
)
}}
:
</span>
<q-chip
<q-chip
square
square
:icon=
"x.icon"
:icon=
"x.icon"
...
@@ -42,17 +43,18 @@
...
@@ -42,17 +43,18 @@
</div>
</div>
<div
class=
"q-mt-lg"
>
<div
class=
"q-mt-lg"
>
<div
<div
class=
"rounded-borders cursor-pointer overflow-hidden q-mb-md row bg-white"
class=
"rounded-borders cursor-pointer overflow-hidden q-mb-md bg-white"
:class=
"
{'row':$q.platform.is.desktop,'column':$q.platform.is.mobile}"
@click="GotoDetails(x)"
@click="GotoDetails(x)"
v-for="(x, i) in DataList"
v-for="(x, i) in DataList"
:key="i"
:key="i"
>
>
<q-img
<q-img
:src=
"x.newCoverImg"
:src=
"x.newCoverImg"
:ratio=
"1"
:ratio=
"1
6/9
"
spinner-color=
"grey"
spinner-color=
"grey"
spinner-size=
"20px"
spinner-size=
"20px"
width=
"272px
"
:width=
"$q.platform.is.desktop?'272px':'100%'
"
class=
"bg-grey-3"
class=
"bg-grey-3"
/>
/>
<div
class=
"q-pa-md col column"
>
<div
class=
"q-pa-md col column"
>
...
@@ -114,7 +116,10 @@
...
@@ -114,7 +116,10 @@
</div>
</div>
</div>
</div>
<div
class=
"q-mb-md row justify-center"
>
<div
v-if=
"$q.platform.is.mobile"
class=
"bg-white q-my-md q-pa-sm rounded-borders"
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"PageCount"
:input=
"true"
@
update:model-value=
"goSearchHandler"
/>
</div>
<div
v-else
class=
"q-mb-md row justify-center"
>
<q-pagination
<q-pagination
v-if=
"PageCount > 1"
v-if=
"PageCount > 1"
v-model=
"msg.pageIndex"
v-model=
"msg.pageIndex"
...
...
src/components/searchdata/search.vue
View file @
3ec42fec
<
template
>
<
template
>
<div
v-if=
"$q.platform.is.mobile"
class=
"rounded-borders bg-white row items-center q-mb-md q-px-md"
>
<div
v-if=
"$q.platform.is.mobile"
class=
"rounded-borders bg-white row items-center q-ma-sm q-py-md q-mb-md q-px-md"
>
<q-input
<q-input
v-model=
"searchAdd.name"
class=
"SearchMain-height"
dense
reverse-fill-mask
ftype=
"text"
standout
:label=
"$t('v103.scheduledTrip.searchinput')"
@
update:model-value=
"changeAddrSearchHandler"
/>
v-model=
"searchAdd.name"
type=
"text"
standout
:placeholder=
"$t('v103.scheduledTrip.searchinput')"
class=
"q-my-md"
@
update:model-value=
"changeAddrSearchHandler"
/>
<div
class=
"col"
></div>
<div
class=
"col"
></div>
<q-btn
unelevated
class=
"bg-grey-3 hover q-mr-md"
:title=
"$t('morequery')"
>
<q-btn
unelevated
class=
"bg-grey-3 hover q-mr-md"
:title=
"$t('morequery')"
>
<q-badge
rounded
class=
"din bg-red-2 text-red-14 text-weight-bold"
floating
:label=
"searchCnt"
<q-badge
rounded
class=
"din bg-red-2 text-red-14 text-weight-bold"
floating
:label=
"searchCnt"
...
@@ -678,6 +671,9 @@
...
@@ -678,6 +671,9 @@
</
script
>
</
script
>
<
style
>
<
style
>
.SearchMain
.SearchMain-height
.q-field__control
{
height
:
40px
;
min-height
:
40px
!important
;
}
</
style
>
</
style
>
\ No newline at end of file
src/pages/scheduledTrip/detailsNew.vue
View file @
3ec42fec
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
</div>
</div>
<div
:class=
"{'col-8':$q.platform.is.desktop,'col':$q.platform.is.mobile}"
>
<div
:class=
"{'col-8':$q.platform.is.desktop,'col':$q.platform.is.mobile}"
>
<div
class=
"text-h5 text-weight-bold text-left"
id=
"feature"
:class=
"{'q-px-md': $q.screen.width < 1220&&$q.platform.is.mobile}"
>
行程特色
</div>
<div
class=
"text-h5 text-weight-bold text-left"
id=
"feature"
:class=
"{'q-px-md': $q.screen.width < 1220&&$q.platform.is.mobile}"
>
行程特色
</div>
<div
class=
"q-mt-md trip-text q-pb-xl"
v-html=
"dataList.feature.featureContent"
v-if=
"dataList.feature.featureContent != ''"
></div>
<div
class=
"q-mt-md trip-text q-pb-xl"
v-html=
"dataList.feature.featureContent"
v-if=
"dataList.feature.featureContent != ''"
:class=
"{'q-px-md':$q.platform.is.mobile}"
></div>
<div
class=
"q-mt-md q-pb-xl"
id=
"setZoom"
ref=
"diyContext"
:style=
"{ zoom: zoomDiyContext }"
v-html=
"dataList.feature.featureHtml"
v-if=
"dataList.feature.featureHtml != ''"
></div>
<div
class=
"q-mt-md q-pb-xl"
id=
"setZoom"
ref=
"diyContext"
:style=
"{ zoom: zoomDiyContext }"
v-html=
"dataList.feature.featureHtml"
v-if=
"dataList.feature.featureHtml != ''"
></div>
<div
class=
"text-h5 text-weight-bold text-left q-mt-xl"
id=
"product"
:class=
"{'q-px-md': $q.screen.width < 1220&&$q.platform.is.mobile}"
>
行程介紹
</div>
<div
class=
"text-h5 text-weight-bold text-left q-mt-xl"
id=
"product"
:class=
"{'q-px-md': $q.screen.width < 1220&&$q.platform.is.mobile}"
>
行程介紹
</div>
<div
class=
"q-pb-xl"
>
<div
class=
"q-pb-xl"
>
...
@@ -550,13 +550,17 @@ export default defineComponent({
...
@@ -550,13 +550,17 @@ export default defineComponent({
if
(
data
.
dataList
.
feature
.
featureHtml
!=
''
)
{
if
(
data
.
dataList
.
feature
.
featureHtml
!=
''
)
{
let
tw
=
$q
.
platform
.
is
.
desktop
?
parseFloat
(
diyContext
.
value
.
getBoundingClientRect
().
width
)
/
1000.0
:
parseFloat
(
diyContext
.
value
.
getBoundingClientRect
().
width
)
/
1123.0
let
tw
=
$q
.
platform
.
is
.
desktop
?
parseFloat
(
diyContext
.
value
.
getBoundingClientRect
().
width
)
/
1000.0
:
parseFloat
(
diyContext
.
value
.
getBoundingClientRect
().
width
)
/
1123.0
if
(
$q
.
platform
.
is
.
mobile
){
let
divArr
=
document
.
querySelectorAll
(
"#setZoom>div"
)
let
divArr
=
document
.
querySelectorAll
(
"#setZoom>div"
)
for
(
let
i
=
0
;
i
<
divArr
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
divArr
.
length
;
i
++
){
let
div
=
divArr
[
i
]
let
div
=
divArr
[
i
]
div
.
style
.
zoom
=
div
.
offsetWidth
>
1000
?
0.999
:
document
.
documentElement
.
clientWidth
/
1123.0
if
(
$q
.
platform
.
is
.
mobile
){
div
.
style
.
zoom
=
div
.
offsetWidth
>
1000
?
0.999
:
document
.
documentElement
.
clientWidth
/
1123.0
}
else
{
div
.
style
.
zoom
=
1
}
}
}
}
data
.
zoomDiyContext
=
tw
>
1
?
1
:
tw
.
toFixed
(
2
)
data
.
zoomDiyContext
=
tw
>
1
?
1
:
tw
.
toFixed
(
2
)
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
src/pages/scheduledTrip/scheduledTripList.vue
View file @
3ec42fec
...
@@ -564,9 +564,6 @@
...
@@ -564,9 +564,6 @@
.SearchMain
.q-field__control
{
.SearchMain
.q-field__control
{
height
:
46px
;
height
:
46px
;
}
.SearchMain
.q-field__control
{
min-height
:
46px
!important
;
min-height
:
46px
!important
;
}
}
...
...
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