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
58ba913a
Commit
58ba913a
authored
Apr 24, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ab8380bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
search.vue
pages/hotel/components/search.vue
+12
-10
No files found.
pages/hotel/components/search.vue
View file @
58ba913a
...
@@ -359,16 +359,16 @@
...
@@ -359,16 +359,16 @@
searchClose
()
{
searchClose
()
{
this
.
showSearchCity
=
false
this
.
showSearchCity
=
false
this
.
showCityList
=
false
this
.
showCityList
=
false
if
(
this
.
parameters
.
hotelId
||
(
this
.
parameters
.
CityCode
!=
this
.
PopularCities
[
0
].
CityList
[
0
].
CityCode
)){
//
if(this.parameters.hotelId||(this.parameters.CityCode!=this.PopularCities[0].CityList[0].CityCode)){
if
(
this
.
parameters
.
hotelId
){
//
if(this.parameters.hotelId){
this
.
parameters
.
hotelId
=
''
//
this.parameters.hotelId = ''
}
else
{
//
}else {
this
.
city
=
this
.
parameters
.
CityName
=
this
.
PopularCities
[
0
].
CityList
[
0
].
CityName
//
this.city = this.parameters.CityName = this.PopularCities[0].CityList[0].CityName
this
.
parameters
.
CityCode2
=
this
.
PopularCities
[
0
].
CityList
[
0
].
CityCode
//
this.parameters.CityCode2 = this.PopularCities[0].CityList[0].CityCode
this
.
parameters
.
CityCode
=
this
.
PopularCities
[
0
].
CityList
[
0
].
CityCode
//
this.parameters.CityCode = this.PopularCities[0].CityList[0].CityCode
}
//
}
this
.
research
(
12
)
//
this.research(12)
}
//
}
},
},
searchKey
(
type
,
key
,
City
)
{
searchKey
(
type
,
key
,
City
)
{
if
(
type
==
1
)
{
if
(
type
==
1
)
{
...
@@ -456,6 +456,7 @@
...
@@ -456,6 +456,7 @@
this
.
closeDropdown
()
this
.
closeDropdown
()
this
.
parameters
.
regionCode
=
''
this
.
parameters
.
regionCode
=
''
this
.
regionKeyWords
=
''
this
.
regionKeyWords
=
''
this
.
parameters
.
hotelId
=
''
if
(
this
.
parameters
.
CityCode
!=
this
.
parameters
.
CityCode2
)
{
if
(
this
.
parameters
.
CityCode
!=
this
.
parameters
.
CityCode2
)
{
this
.
parameters
.
CityCode
=
this
.
parameters
.
CityCode2
this
.
parameters
.
CityCode
=
this
.
parameters
.
CityCode2
this
.
research
(
7
);
this
.
research
(
7
);
...
@@ -479,6 +480,7 @@
...
@@ -479,6 +480,7 @@
this
.
research
(
8
);
this
.
research
(
8
);
},
},
resetPrice
()
{
resetPrice
()
{
this
.
parameters
.
hotelId
=
''
this
.
optionsTitle
[
2
]
=
"价格/星级"
;
this
.
optionsTitle
[
2
]
=
"价格/星级"
;
var
obj
=
this
.
$refs
.
rangeslider
;
var
obj
=
this
.
$refs
.
rangeslider
;
obj
.
progressBarLeft
=
0
;
obj
.
progressBarLeft
=
0
;
...
...
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