Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
aea4f8d4
Commit
aea4f8d4
authored
Jan 04, 2026
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化默认地址
parent
f389c911
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
7 deletions
+20
-7
kkday.vue
src/components/searchdida/kkday.vue
+4
-2
SearchDida.vue
src/pages/SearchDida.vue
+6
-2
detailHotalDida.vue
src/pages/detailHotalDida.vue
+4
-1
destination.vue
src/pages/didaHotel/destination.vue
+6
-2
No files found.
src/components/searchdida/kkday.vue
View file @
aea4f8d4
...
...
@@ -21,8 +21,9 @@
<destination
class=
"q-pa-sm"
:msg=
"
{
CityCode:msg.CityCode,
CityName:msg.CityName,
KeyWords:msg.KeyWords,
KeyWords2:msg.
CityName
,
KeyWords2:msg.
KeyWords2
,
StartDate:msg.CheckInDate,
EndDate:msg.CheckOutDate,
searchroomGroup:msg.searchroomGroup}"
...
...
@@ -207,8 +208,9 @@
<
destination
class
=
"q-pa-sm"
:
msg
=
"{
CityCode:msg.CityCode,
CityName:msg.CityName,
KeyWords:msg.KeyWords,
KeyWords2:msg.
CityName
,
KeyWords2:msg.
KeyWords2
,
StartDate:msg.CheckInDate,
EndDate:msg.CheckOutDate,
searchroomGroup:msg.searchroomGroup
}
"
...
...
src/pages/SearchDida.vue
View file @
aea4f8d4
...
...
@@ -1490,8 +1490,8 @@ export default {
QOrderBy
:
"0"
,
//排序类型
QStarRating
:
[],
//星级
GName
:
''
,
//热门
CityCode
:
''
,
//目的地代码
CityName
:
''
,
//目的地
CityCode
:
'
930
'
,
//目的地代码
CityName
:
'
成都
'
,
//目的地
CityCode2
:
''
,
//目的地代码
regionCode
:
''
,
//区域
CityName_CN
:
''
,
...
...
@@ -1511,6 +1511,10 @@ export default {
}
if
(
newVal
.
query
&&
newVal
.
query
.
pageIndex
){
this
.
qMsg
=
newVal
.
query
if
(
newVal
.
query
.
CityCode
==
''
||!
newVal
.
query
.
CityName
){
this
.
qMsg
.
CityCode
=
'930'
this
.
qMsg
.
CityName
=
'成都'
}
}
else
{
var
qsearchKey
=
this
.
getUrlKey
(
"qsearchKey"
,
window
.
location
.
href
);
var
qsearchDate
=
this
.
getUrlKey
(
"qsearchDate"
,
window
.
location
.
href
);
...
...
src/pages/detailHotalDida.vue
View file @
aea4f8d4
...
...
@@ -193,8 +193,9 @@
<!-- 目的地 -->
<destination
class=
"q-ml-sm"
:msg=
"{
CityCode:CityCode?CityCode:dataList.CityCode,
CityName:CityName?CityName:dataList.CityName,
KeyWords:dataList.Name_CN,
KeyWords2:
dataList.CityName
,
KeyWords2:
msg.KeyWords2
,
StartDate:msg.CheckInDate,
EndDate:msg.CheckOutDate,
searchroomGroup:msg.searchroomGroup}"
...
...
@@ -1121,6 +1122,7 @@ export default {
RoomFacilities
:
[],
//房型服务设施
itemsPerRow
:
6
,
CityCode
:
''
,
CityName
:
''
,
};
},
watch
:
{
...
...
@@ -1239,6 +1241,7 @@ export default {
this
.
MinPrice
=
item
.
Price
}
else
{
this
.
CityCode
=
msg
.
CityCode
this
.
CityName
=
msg
.
CityName
}
this
.
getData
();
this
.
getDiDaPriceSearchList
()
...
...
src/pages/didaHotel/destination.vue
View file @
aea4f8d4
...
...
@@ -225,7 +225,6 @@ export default {
...
JSON
.
parse
(
JSON
.
stringify
(
newVal
)),
StartDate
:
newVal
.
StartDate
?
newVal
.
StartDate
:
date
.
formatDate
(
date
.
addToDate
(
new
Date
(),
{
days
:
8
}),
"YYYY/MM/DD"
),
EndDate
:
newVal
.
EndDate
?
newVal
.
EndDate
:
date
.
formatDate
(
date
.
addToDate
(
new
Date
(),
{
days
:
9
}),
"YYYY/MM/DD"
),
CityName
:
newVal
.
KeyWords2
?
newVal
.
KeyWords2
:
''
}
},
deep
:
true
...
...
@@ -366,10 +365,15 @@ export default {
this
.
HotalMsg
.
CityCode2
=
''
// this.HotalMsg.CityName = ''
if
(
!
type
)
this
.
HotalMsg
.
KeyWords
=
''
else
this
.
HotalMsg
.
KeyWords2
=
''
else
{
this
.
HotalMsg
.
CityCode
=
'930'
this
.
HotalMsg
.
CityName
=
'成都'
this
.
HotalMsg
.
KeyWords2
=
''
}
// this.HotalMsg.hotelId = ''
this
.
HotalMsg
.
StartDate
=
this
.
HotalMsg
.
StartDate
?
this
.
HotalMsg
.
StartDate
:
date
.
formatDate
(
date
.
addToDate
(
new
Date
(),
{
days
:
8
}),
"YYYY/MM/DD"
)
this
.
HotalMsg
.
EndDate
=
this
.
HotalMsg
.
EndDate
?
this
.
HotalMsg
.
EndDate
:
date
.
formatDate
(
date
.
addToDate
(
new
Date
(),
{
days
:
9
}),
"YYYY/MM/DD"
)
console
.
log
(
this
.
HotalMsg
,
'------'
)
if
(
!
type
&&
this
.
Type
>
0
)
this
.
$emit
(
'change'
,
this
.
HotalMsg
)
return
this
.
showSplitPannel
=
true
...
...
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