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
c1c7dd41
Commit
c1c7dd41
authored
May 22, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
酒店优化
parent
ffb24c32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
search.vue
pages/hotel/components/search.vue
+7
-3
api.js
plugin/api.js
+1
-0
No files found.
pages/hotel/components/search.vue
View file @
c1c7dd41
...
@@ -211,7 +211,7 @@
...
@@ -211,7 +211,7 @@
KeyWords2
:
""
,
//关键字
KeyWords2
:
""
,
//关键字
StartPrice
:
100
,
StartPrice
:
100
,
EndPrice
:
0
,
EndPrice
:
0
,
QOrderBy
:
"
1
"
,
//排序类型
QOrderBy
:
"
0
"
,
//排序类型
QStarRating
:
[],
//星级
QStarRating
:
[],
//星级
GName
:
''
,
//热门
GName
:
''
,
//热门
CityCode
:
''
,
//目的地代码
CityCode
:
''
,
//目的地代码
...
@@ -282,7 +282,7 @@
...
@@ -282,7 +282,7 @@
let
list
=
this
.
options1
.
filter
(
x
=>
{
let
list
=
this
.
options1
.
filter
(
x
=>
{
return
x
.
value
==
val
.
QOrderBy
return
x
.
value
==
val
.
QOrderBy
})
})
if
(
list
&&
list
.
length
>
0
)
this
.
optionsTitle
[
0
]
=
list
[
0
].
label
if
(
list
&&
list
.
length
>
0
&&
list
[
0
].
value
)
this
.
optionsTitle
[
0
]
=
list
[
0
].
label
}
}
if
(
val
.
CityName_CN
)
{
if
(
val
.
CityName_CN
)
{
this
.
optionsTitle
[
1
]
=
val
.
CityName_CN
this
.
optionsTitle
[
1
]
=
val
.
CityName_CN
...
@@ -517,7 +517,7 @@
...
@@ -517,7 +517,7 @@
},
},
ComSorting
(
item
)
{
ComSorting
(
item
)
{
this
.
parameters
.
QOrderBy
=
item
.
value
this
.
parameters
.
QOrderBy
=
item
.
value
this
.
optionsTitle
[
0
]
=
item
.
label
;
this
.
optionsTitle
[
0
]
=
item
.
value
?
item
.
label
:
'综合排序'
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
closeDropdown
()
this
.
closeDropdown
()
},
300
);
},
300
);
...
@@ -568,6 +568,10 @@
...
@@ -568,6 +568,10 @@
};
};
this
.
options1
.
push
(
obj
);
this
.
options1
.
push
(
obj
);
});
});
this
.
options1
.
unshift
({
label
:
'默认'
,
value
:
0
,
})
}
}
if
(
tempObj
&&
tempObj
.
StarRatingList
)
{
if
(
tempObj
&&
tempObj
.
StarRatingList
)
{
this
.
rates
=
tempObj
.
StarRatingList
;
this
.
rates
=
tempObj
.
StarRatingList
;
...
...
plugin/api.js
View file @
c1c7dd41
...
@@ -27,6 +27,7 @@ export default {
...
@@ -27,6 +27,7 @@ export default {
Vue
.
prototype
.
host3
=
process
.
env
.
NODE_ENV
==
"development"
?
"http://192.168.5.214"
:
"https://reborn.oytour.com"
Vue
.
prototype
.
host3
=
process
.
env
.
NODE_ENV
==
"development"
?
"http://192.168.5.214"
:
"https://reborn.oytour.com"
// Vue.prototype.host2 = "https://erpmallapi.oytour.com"
// Vue.prototype.host2 = "https://erpmallapi.oytour.com"
// Vue.prototype.host3 = "https://reborn.oytour.com"
// Vue.prototype.host3 = "https://reborn.oytour.com"
// "http://192.168.5.204:8030":
console
.
log
()
console
.
log
()
Vue
.
prototype
.
request
=
function
(
param
,
success
,
failed
)
{
Vue
.
prototype
.
request
=
function
(
param
,
success
,
failed
)
{
...
...
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