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
fcd57ce0
Commit
fcd57ce0
authored
Jul 06, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/viitto/million
parents
1d96d5c4
b2f4c179
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
28 deletions
+40
-28
search_sf1.vue
src/components/search_sf/search_sf1.vue
+8
-8
search_sf2.vue
src/components/search_sf/search_sf2.vue
+8
-8
search_sf3.vue
src/components/search_sf/search_sf3.vue
+8
-8
Search.vue
src/pages/Search.vue
+16
-4
No files found.
src/components/search_sf/search_sf1.vue
View file @
fcd57ce0
...
...
@@ -21,9 +21,9 @@
<q-input
filled
v-model=
"searchDate"
:label=
"$t('search_date_begin')"
mask=
"date"
class=
"bg-grey-1"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S1
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S1
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -34,9 +34,9 @@
<q-input
filled
v-model=
"searchEndDate"
:label=
"$t('search_date_end')"
mask=
"date"
class=
"bg-grey-1"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S2
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_end')"
subtitle=
"選擇"
v-model=
"searchEndDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S2
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -202,9 +202,9 @@
<q-input
filled
v-model=
"searchDate"
:label=
"$t('search_date_begin')"
mask=
"date"
class=
"bg-grey-1"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S3
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S3
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -215,9 +215,9 @@
<q-input
filled
v-model=
"searchEndDate"
:label=
"$t('search_date_end')"
mask=
"date"
class=
"bg-grey-1"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S4
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchEndDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S4
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
src/components/search_sf/search_sf2.vue
View file @
fcd57ce0
...
...
@@ -21,9 +21,9 @@
<q-input
filled
v-model=
"searchDate"
:label=
"$t('search_date_begin')"
mask=
"date"
class=
"bg-grey-1"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S1
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S1
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -34,9 +34,9 @@
<q-input
filled
v-model=
"searchEndDate"
:label=
"$t('search_date_end')"
mask=
"date"
class=
"bg-grey-1"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S2
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_end')"
subtitle=
"選擇"
v-model=
"searchEndDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S2
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -202,9 +202,9 @@
<q-input
filled
v-model=
"searchDate"
:label=
"$t('search_date_begin')"
mask=
"date"
class=
"bg-grey-1"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S3
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S3
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -215,9 +215,9 @@
<q-input
filled
v-model=
"searchEndDate"
:label=
"$t('search_date_end')"
mask=
"date"
class=
"bg-grey-1"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S4
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchEndDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S4
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
src/components/search_sf/search_sf3.vue
View file @
fcd57ce0
...
...
@@ -21,9 +21,9 @@
<q-input
filled
v-model=
"searchDate"
:label=
"$t('search_date_begin')"
mask=
"date"
class=
"bg-grey-1"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S1
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S1
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -34,9 +34,9 @@
<q-input
filled
v-model=
"searchEndDate"
:label=
"$t('search_date_end')"
mask=
"date"
class=
"bg-grey-1"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S2
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_end')"
subtitle=
"選擇"
v-model=
"searchEndDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S2
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -202,9 +202,9 @@
<q-input
filled
v-model=
"searchDate"
:label=
"$t('search_date_begin')"
mask=
"date"
class=
"bg-grey-1"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S3
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S3
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -215,9 +215,9 @@
<q-input
filled
v-model=
"searchEndDate"
:label=
"$t('search_date_end')"
mask=
"date"
class=
"bg-grey-1"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-popup-proxy
ref=
"q
S4
DateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchEndDate"
@
input=
"() => $refs.qDateProxy.hide()"
/>
@
input=
"() => $refs.q
S4
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
src/pages/Search.vue
View file @
fcd57ce0
...
...
@@ -542,6 +542,18 @@
font-size
:
28px
;
}
}
.SearchMain
.q-field__control
{
height
:
46px
;
}
.SearchMain
.q-field__control
{
min-height
:
46px
!important
;
}
.SearchMain
.q-field__native
{
min-height
:
46px
;
}
.SearchMain
.q-field__marginal
{
height
:
46px
;
}
</
style
>
<
template
>
...
...
@@ -554,11 +566,11 @@
:label=
"$t('search')"
@
focus=
"searchFocusHandler"
@
blur=
"searchBlurHandler"
@
keyup=
"searchChangeHandler"
/>
</div>
<div
class=
"col-2"
>
<q-input
filled
v-model=
"startDate"
mask=
"date"
>
<q-input
filled
v-model=
"
qMsg.
startDate"
mask=
"date"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"
startDate"
@
input=
"() => $refs.q
DateProxy.hide()"
/>
<q-popup-proxy
ref=
"q
Start
DateProxy"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"
qMsg.startDate"
@
input=
"() => $refs.qStart
DateProxy.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -582,7 +594,7 @@
<div
class=
"col-2"
style=
"margin-left:10px;"
>
<span
style=
"margin-top:15px;display:inline-block;cursor:pointer;"
@
click=
"fullHeight = true"
>
更多篩選條件
</span>
</div>
<div
v-show=
"showSplitPannel"
id=
"sb"
transition-show=
"fade"
elevated
transition-hide=
"scale"
<div
v-show=
"showSplitPannel"
id=
"sb"
style=
"z-index:999"
transition-show=
"fade"
elevated
transition-hide=
"scale"
class=
"showbox row"
>
<div
style=
"width:180px;"
>
<q-scroll-area
:thumb-style=
"thumbStyle"
:bar-style=
"barStyle"
style=
"height: 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