Commit 0295cd35 authored by youjie's avatar youjie

no message

parent 09f68589
...@@ -79,6 +79,7 @@ ...@@ -79,6 +79,7 @@
elevated elevated
transition-hide="scale" transition-hide="scale"
class="showbox column" class="showbox column"
style="z-index: 9;"
> >
<div class="q-px-sm q-pt-sm" v-if="historys.length>0"> <div class="q-px-sm q-pt-sm" v-if="historys.length>0">
...@@ -137,7 +138,7 @@ ...@@ -137,7 +138,7 @@
<q-tab class="text-teal" name="kw" label="關鍵字" /> <q-tab class="text-teal" name="kw" label="關鍵字" />
</q-tabs> </q-tabs>
<div v-show="tab == 'dest'"> <div v-show="tab == 'dest'">
<q-card flat class="rounded-borders q-py-md"> <q-card flat class="rounded-borders q-py-md">
<div class="text-subtitle1 text-weight-bold q-mx-md">篩選目的地</div> <div class="text-subtitle1 text-weight-bold q-mx-md">篩選目的地</div>
<!-- <q-input <!-- <q-input
...@@ -425,12 +426,22 @@ export default { ...@@ -425,12 +426,22 @@ export default {
// } // }
// this.historys=Array.from(new Set([this.searchKey].concat(this.historys))) // this.historys=Array.from(new Set([this.searchKey].concat(this.historys)))
// localStorage['recent_search'] = JSON.stringify(this.historys) // localStorage['recent_search'] = JSON.stringify(this.historys)
this.CommonJump("/search", { if(this.$route.path==='/searchProduct') {
qsearchKey: this.searchKey, this.CommonJump("/searchProduct", {
qsearchDate: this.searchDate, qsearchKey: item.Name,
qsearchEndDate: this.searchEndDate, qsearchDate: this.searchDate,
areaId: item.Id qsearchEndDate: this.searchEndDate,
}); areaId: item.Id
});
}else{
this.CommonJump("/search", {
qsearchKey: this.searchKey,
qsearchDate: this.searchDate,
qsearchEndDate: this.searchEndDate,
areaId: item.Id
});
}
if(this.isSearch) { if(this.isSearch) {
window.location.reload() window.location.reload()
} }
...@@ -669,23 +680,21 @@ export default { ...@@ -669,23 +680,21 @@ export default {
line-height: 40px; line-height: 40px;
} }
</style> </style>
<style scoped> <style lang="scss" scoped>
.hot-tag { .hot-tag {
width: 141px; width: 141px;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
padding-left: 8px; padding-left: 8px;
border-radius: 8px; border-radius: 8px;
margin: 12px 0 12px 12px; margin: 12px 0 12px 12px;
cursor: pointer; cursor: pointer;
} }
.hot-tag-select { .hot-tag-select {
background: #EE4454; text-align: center;
color: #fff; background: $secondary;
color: #fff;
} }
</style>
<style lang="scss" scoped>
::v-deep .q-field__control { ::v-deep .q-field__control {
height: 40px; height: 40px;
} }
...@@ -704,4 +713,4 @@ color: #fff; ...@@ -704,4 +713,4 @@ color: #fff;
::v-deep .q-field__label { ::v-deep .q-field__label {
top: 13px top: 13px
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment