Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
9aaaff60
Commit
9aaaff60
authored
Apr 24, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
58ba913a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
search.vue
pages/hotel/components/search.vue
+10
-5
No files found.
pages/hotel/components/search.vue
View file @
9aaaff60
...
...
@@ -356,7 +356,7 @@
this
.
parameters
.
KeyWords2
=
''
this
.
research
(
1
)
},
searchClose
()
{
searchClose
(
KeyWords
)
{
this
.
showSearchCity
=
false
this
.
showCityList
=
false
// if(this.parameters.hotelId||(this.parameters.CityCode!=this.PopularCities[0].CityList[0].CityCode)){
...
...
@@ -369,6 +369,11 @@
// }
// this.research(12)
// }
if
(
this
.
parameters
.
KeyWords2
!=
''
&&
KeyWords
==
''
){
this
.
parameters
.
KeyWords2
=
''
this
.
parameters
.
hotelId
=
''
this
.
research
(
12
)
}
},
searchKey
(
type
,
key
,
City
)
{
if
(
type
==
1
)
{
...
...
@@ -378,7 +383,6 @@
}
}
else
if
(
type
==
2
)
{
this
.
parameters
.
KeyWords
=
null
this
.
parameters
.
CityCode
=
null
this
.
parameters
.
KeyWords2
=
City
if
(
this
.
parameters
.
hotelId
!=
key
)
{
this
.
parameters
.
hotelId
=
key
...
...
@@ -456,9 +460,10 @@
this
.
closeDropdown
()
this
.
parameters
.
regionCode
=
''
this
.
regionKeyWords
=
''
this
.
parameters
.
hotelId
=
''
if
(
this
.
parameters
.
CityCode
!=
this
.
parameters
.
CityCode2
)
{
this
.
parameters
.
CityCode
=
this
.
parameters
.
CityCode2
if
(
this
.
parameters
.
CityCode
!=
this
.
parameters
.
CityCode2
||
this
.
parameters
.
hotelId
)
{
this
.
parameters
.
hotelId
=
''
if
(
this
.
parameters
.
CityCode
!=
this
.
parameters
.
CityCode2
)
this
.
parameters
.
CityCode
=
this
.
parameters
.
CityCode2
this
.
research
(
7
);
}
},
...
...
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