Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
53faf876
Commit
53faf876
authored
Dec 27, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面调整
parent
b24a7667
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
HotelDetails.vue
src/components/Hotel/DiDa/HotelDetails.vue
+7
-13
No files found.
src/components/Hotel/DiDa/HotelDetails.vue
View file @
53faf876
...
...
@@ -765,7 +765,7 @@
</div>
</div>
</div>
<div
v-loading=
"loading"
>
<div
v-loading=
"loading"
style=
"width:100%;min-height:100px;"
>
<
template
v-if=
"DidaHotelRoomDetails&&DidaHotelRoomDetails.HotelList&&DidaHotelRoomDetails.HotelList.length>0&&DidaHotelRoomDetails.HotelList[0].GroupRoomTypeList&&DidaHotelRoomDetails.HotelList[0].GroupRoomTypeList.length>0 "
>
<div
class=
"q-card row q-cardradius "
v-for=
"(item, index) in getQueryData"
:key=
"`dh_`+index"
>
...
...
@@ -1287,9 +1287,7 @@
this
.
msg
.
childNum
=
this
.
childNum
;
},
getDidaHotelDetails
:
function
()
{
this
.
loading
=
true
this
.
apipost
(
'dmc_post_GetDidaHotelDetails'
,
this
.
hotelMsg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DidaHotelDetails
=
res
.
data
.
data
this
.
hotelMapUrl
=
`http://api.weboss.hk/baidu_map/api.php?prop1=`
+
this
.
DidaHotelDetails
...
...
@@ -1306,7 +1304,7 @@
},
null
)
},
getDiDaPriceSearchList
()
{
this
.
loading
=
true
this
.
loading
=
true
;
if
(
this
.
dateList
&&
this
.
dateList
.
length
>
0
)
{
this
.
msg
.
CheckInDate
=
this
.
dateList
[
0
];
this
.
msg
.
CheckOutDate
=
this
.
dateList
[
1
];
...
...
@@ -1326,9 +1324,11 @@
tempData
.
HotelList
.
forEach
(
rootItem
=>
{
if
(
rootItem
&&
rootItem
.
GroupRoomTypeList
&&
rootItem
.
GroupRoomTypeList
.
length
>
0
)
{
rootItem
.
GroupRoomTypeList
.
forEach
(
rItem
=>
{
if
(
rItem
.
RoomName_CN
&&
rItem
.
RoomName_CN
!=
''
)
{
this
.
qRoomTypeList
.
push
({
"RoomName_CN"
:
rItem
.
RoomName_CN
RoomName_CN
:
rItem
.
RoomName_CN
});
}
})
}
if
(
rootItem
&&
rootItem
.
RatePlanList
&&
rootItem
.
RatePlanList
.
length
>
0
)
{
...
...
@@ -1364,7 +1364,6 @@
//获取道旅床类型列表
getdidaBedType
()
{
this
.
apipost
(
'dmc_post_GetDidaBedTypeBaseInfo'
,
this
.
hotelMsg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
HotelRoomTypes
=
res
.
data
.
data
;
}
...
...
@@ -1373,7 +1372,6 @@
//获取道旅餐食类型
getdidaMealType
()
{
this
.
apipost
(
'dmc_post_GetDidaMealType'
,
this
.
hotelMsg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
HotelMealTypes
=
res
.
data
.
data
;
}
...
...
@@ -1406,7 +1404,6 @@
//获取酒店图片信息
getDiDaHotelImgList
()
{
this
.
apipost
(
'dmc_post_GetDiDaHotelImgList'
,
this
.
hotelMsg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DidaHotelImg
=
[];
res
.
data
.
data
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -1418,7 +1415,6 @@
//获取酒店详情信息
getDidaDescriptionList
()
{
this
.
apipost
(
'dmc_post_GetDidaDescriptionList'
,
this
.
hotelMsg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DidaDescription
=
res
.
data
.
data
;
}
...
...
@@ -1427,7 +1423,6 @@
//获取酒店设施信息
getDidaFacilitiesList
()
{
this
.
apipost
(
'dmc_post_GetDiDaHotelFacilitiesList'
,
this
.
hotelMsg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Facilities
=
res
.
data
.
data
.
HotelFacility
;
this
.
RoomFacilities
=
res
.
data
.
data
.
RoomFacility
;
...
...
@@ -1437,7 +1432,6 @@
//获取酒店政策信息
getDidaPolicyList
()
{
this
.
apipost
(
'dmc_post_GetDiDaHotelPolicyList'
,
this
.
hotelMsg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Policy
=
res
.
data
.
data
;
}
...
...
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