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
c5f1b9de
Commit
c5f1b9de
authored
Jul 07, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
afc9d08b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
utils.js
src/boot/utils.js
+1
-1
Search.vue
src/pages/Search.vue
+15
-15
No files found.
src/boot/utils.js
View file @
c5f1b9de
...
...
@@ -6,7 +6,7 @@ import md5 from 'js-md5'
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
domainUrl
=
"http://192.168.2.214:8082"
;
domainUrl
=
"http://127.0.0.1"
;
//
domainUrl = "http://127.0.0.1";
//domainUrl = "http://reborn.oytour.com";
//let locationName = location.hostname;
// if (locationName.indexOf('testerp.oytour') !== -1) {
...
...
src/pages/Search.vue
View file @
c5f1b9de
...
...
@@ -574,7 +574,7 @@
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qStartDateProxy"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"qMsg.startDate"
@
input=
"() => $refs.qStartDateProxy.hide()
"
/>
<q-date
v-model=
"qMsg.startDate"
@
input=
"() => $refs.qStartDateProxy.hide()
,changeData()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -586,14 +586,14 @@
<
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=
"qMsg.endDate"
@
input=
"() => $refs.qDateProxy.hide()
"
/>
<q-date
v-model=
"qMsg.endDate"
@
input=
"() => $refs.qDateProxy.hide()
,changeData()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
<div
class=
"col-2"
style=
"margin-left:10px;"
>
<q-select
filled
v-model=
"sortNum"
:options=
"sortArray"
emit-value
map-options
/>
<q-select
filled
v-model=
"sortNum"
:options=
"sortArray"
@
input=
"changeData"
emit-value
map-options
/>
</div>
<div
class=
"col-2"
style=
"margin-left:10px;"
>
<span
style=
"margin-top:15px;display:inline-block;cursor:pointer;"
@
click=
"fullHeight = true"
>
更多篩選條件
</span>
...
...
@@ -661,11 +661,11 @@
</div>
<div
class=
"range-text"
>
<div
class=
"min"
>
<q-input
class=
"full_price"
v-model=
"qMsg.minPrice"
filled
autogrow
/>
<q-input
class=
"full_price"
v-model=
"qMsg.minPrice"
@
input=
"changeData"
filled
autogrow
/>
</div>
<div
class=
"max"
>
<q-input
class=
"full_price"
v-model=
"qMsg.maxPrice"
filled
autogrow
/>
<q-input
class=
"full_price"
v-model=
"qMsg.maxPrice"
@
input=
"changeData"
filled
autogrow
/>
</div>
</div>
</div>
...
...
@@ -675,7 +675,7 @@
<span
class=
"clear-filter"
>
清除篩選
</span>
</div>
<q-checkbox
right-label
v-model=
"dayNum"
v-for=
"(item,index) in dayArray"
:label=
"item.text"
:key=
"index"
:val=
"item.id"
/>
:key=
"index"
:val=
"item.id"
@
input=
"changeData"
/>
</div>
<div
class=
"search-type"
>
<div
class=
"search-title"
>
...
...
@@ -697,7 +697,7 @@
</div>
<div
class=
"q-gutter-sm"
>
<q-checkbox
v-model=
"WeekDay"
v-for=
"(item,index) in weekList"
:val=
"item.value"
:label=
"item.label"
:key=
"index"
color=
"teal"
/>
:key=
"index"
color=
"teal"
@
input=
"changeData"
/>
</div>
</div>
</div>
...
...
@@ -715,7 +715,7 @@
class=
"keyword-input"
>
</div>
<div
class=
"sortDiv"
>
<q-select
filled
style=
"width:50%"
v-model=
"sortNum"
:options=
"sortArray"
emit-value
map-options
/>
<q-select
filled
style=
"width:50%"
v-model=
"sortNum"
:options=
"sortArray"
emit-value
map-options
@
input=
"changeData"
/>
<div
class=
"sortShaixuan"
@
click=
"fullHeight = true"
>
更多篩選條件
</div>
</div>
</div>
...
...
@@ -726,14 +726,14 @@
<div
class=
"moreTiaojiao"
>
更多篩選條件
</div>
<div
class=
"full_listDiv"
style=
"padding-bottom:0"
>
<span>
價格:
</span>
<q-input
class=
"full_price"
v-model=
"qMsg.minPrice"
filled
autogrow
/>
<q-input
class=
"full_price"
v-model=
"qMsg.maxPrice"
filled
autogrow
/>
<q-input
class=
"full_price"
v-model=
"qMsg.minPrice"
@
input=
"changeData"
filled
autogrow
/>
<q-input
class=
"full_price"
v-model=
"qMsg.maxPrice"
@
input=
"changeData"
filled
autogrow
/>
</div>
<div
class=
"full_listDiv"
>
<div
class=
"full_title"
>
天數
</div>
<div
class=
"q-gutter-sm"
>
<q-checkbox
right-label
v-model=
"dayNum"
v-for=
"(item,index) in dayArray"
:label=
"item.text"
:key=
"index"
:val=
"item.id"
/>
:val=
"item.id"
@
input=
"changeData"
/>
</div>
</div>
<!-- <div class="full_listDiv">
...
...
@@ -746,7 +746,7 @@
<div
class=
"full_title"
>
出發星期
</div>
<div
class=
"q-gutter-sm"
>
<q-checkbox
v-model=
"WeekDay"
v-for=
"(item,index) in weekList"
:val=
"item.value"
:label=
"item.label"
:key=
"index"
color=
"teal"
/>
:key=
"index"
color=
"teal"
@
input=
"changeData"
/>
</div>
</div>
<div
class=
"full_btndiv"
>
...
...
@@ -782,7 +782,7 @@
</div>
</div>
<div
v-show=
"tab=='kw'"
class=
"q-mb-md"
>
<q-input
filled
id=
"search_key"
v-model=
"qMsg.searchKey"
class=
"bg-grey-1"
:label=
"$t('search')"
/>
<q-input
filled
id=
"search_key"
v-model=
"qMsg.searchKey"
@
input=
"changeData"
class=
"bg-grey-1"
:label=
"$t('search')"
/>
</div>
<div
class=
"q-mb-md row"
>
<div
class=
"col"
>
...
...
@@ -791,7 +791,7 @@
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchDate"
@
input=
"() => $refs.qDateProxy.hide()
"
/>
@
input=
"() => $refs.qDateProxy.hide()
,changeData()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -804,7 +804,7 @@
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
>
<q-date
mask=
"YYYY-MM-DD"
:title=
"$t('search_date_begin')"
subtitle=
"選擇"
v-model=
"searchEndDate"
@
input=
"() => $refs.qDateProxy.hide()
"
/>
@
input=
"() => $refs.qDateProxy.hide()
,changeData()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
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