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
0e340f9b
Commit
0e340f9b
authored
May 14, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
7aa095a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
search.vue
pages/hotel/components/search.vue
+13
-10
No files found.
pages/hotel/components/search.vue
View file @
0e340f9b
...
...
@@ -436,12 +436,14 @@
},
// 位置排序
sureRegion
()
{
this
.
optionsTitle
[
1
]
=
this
.
parameters
.
CityName_CN
this
.
$forceUpdate
();
this
.
closeDropdown
();
this
.
city
=
this
.
parameters
.
CityName
this
.
parameters
.
CityCode
=
this
.
parameters
.
regionCode
?
this
.
parameters
.
regionCode
:
this
.
parameters
.
CityCode2
if
(
this
.
parameters
.
CityName_CN
){
this
.
optionsTitle
[
1
]
=
this
.
parameters
.
CityName_CN
this
.
$forceUpdate
();
this
.
city
=
this
.
parameters
.
CityName
this
.
parameters
.
CityCode
=
this
.
parameters
.
regionCode
?
this
.
parameters
.
regionCode
:
this
.
parameters
.
CityCode2
}
this
.
research
(
6
);
},
resetRegion
()
{
...
...
@@ -454,9 +456,9 @@
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
);
}
},
this
.
research
(
7
);
},
showCity
()
{
this
.
showCityList
=
true
;
},
...
...
@@ -486,13 +488,14 @@
this
.
tempRateAndPrice
.
priceId
=
0
this
.
tempRateAndPrice
=
{
price
:
{
minValue
:
0
,
minValue
:
100
,
//0
maxValue
:
this
.
MaximumDatas
.
maxPrice
,
},
priceText
:
`¥
${
this
.
PriceRange
[
0
].
minPrice
}
~
${
this
.
MaximumDatas
.
maxPrice
}
`
,
// priceText: `¥${this.PriceRange[0].minPrice}~${this.MaximumDatas.maxPrice}`,
priceText
:
`¥
${
100
}
~
${
this
.
MaximumDatas
.
maxPrice
}
`
,
rate
:
[],
};
this
.
parameters
.
StartPrice
=
this
.
PriceRange
[
0
].
minPrice
;
this
.
parameters
.
StartPrice
=
100
//
this.PriceRange[0].minPrice;
this
.
parameters
.
EndPrice
=
this
.
MaximumDatas
.
maxPrice
;
this
.
parameters
.
QStarRating
=
[]
this
.
closeDropdown
();
...
...
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