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
738b7c2d
Commit
738b7c2d
authored
Apr 24, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
6b2c6efa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
detail.vue
pages/hotel/detail.vue
+15
-14
No files found.
pages/hotel/detail.vue
View file @
738b7c2d
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
<u-dropdown
ref=
"uDropdown"
@
open=
"open"
@
close=
"close"
active-color=
"#B99846"
<u-dropdown
ref=
"uDropdown"
@
open=
"open"
@
close=
"close"
active-color=
"#B99846"
inactive-color=
"#080A09"
title-size=
"28"
>
inactive-color=
"#080A09"
title-size=
"28"
>
<u-dropdown-item
:title=
"optionsTitle[0]"
:options=
"options1"
>
<u-dropdown-item
:title=
"optionsTitle[0]"
:options=
"options1"
>
<scroll-view
:scroll-y=
"true"
class=
"hotelScroll"
style=
"height:
200
px;"
>
<scroll-view
:scroll-y=
"true"
class=
"hotelScroll"
style=
"height:
400r
px;"
>
<view
class=
"slot-content hotelComprehensiveBox column"
<view
class=
"slot-content hotelComprehensiveBox column"
style=
"background-color: #FCFCFC"
>
style=
"background-color: #FCFCFC"
>
<view
class=
"hotelComprehensiv row items-center"
<view
class=
"hotelComprehensiv row items-center"
...
@@ -166,7 +166,7 @@
...
@@ -166,7 +166,7 @@
</scroll-view>
</scroll-view>
</u-dropdown-item>
</u-dropdown-item>
<u-dropdown-item
:title=
"optionsTitle[2]"
:options=
"options1"
>
<u-dropdown-item
:title=
"optionsTitle[2]"
:options=
"options1"
>
<scroll-view
:scroll-y=
"true"
class=
"hotelScroll"
style=
"height:
200
px;"
>
<scroll-view
:scroll-y=
"true"
class=
"hotelScroll"
style=
"height:
400r
px;"
>
<view
class=
"slot-content hotelComprehensiveBox column"
<view
class=
"slot-content hotelComprehensiveBox column"
style=
"background-color: #FCFCFC"
>
style=
"background-color: #FCFCFC"
>
<view
class=
"hotelComprehensiv row items-center"
<view
class=
"hotelComprehensiv row items-center"
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
</scroll-view>
</scroll-view>
</u-dropdown-item>
</u-dropdown-item>
<u-dropdown-item
:title=
"optionsTitle[1]"
:options=
"options1"
>
<u-dropdown-item
:title=
"optionsTitle[1]"
:options=
"options1"
>
<scroll-view
:scroll-y=
"true"
class=
"hotelScroll"
style=
"height:
200
px;"
>
<scroll-view
:scroll-y=
"true"
class=
"hotelScroll"
style=
"height:
400r
px;"
>
<view
class=
"slot-content hotelComprehensiveBox column"
<view
class=
"slot-content hotelComprehensiveBox column"
style=
"background-color: #FCFCFC"
>
style=
"background-color: #FCFCFC"
>
<view
class=
"hotelComprehensiv row items-center"
<view
class=
"hotelComprehensiv row items-center"
...
@@ -422,7 +422,6 @@
...
@@ -422,7 +422,6 @@
}
}
arrList
(
_this
.
DidaHotelRoomDetails
.
HotelList
)
arrList
(
_this
.
DidaHotelRoomDetails
.
HotelList
)
tempData
=
JSON
.
parse
(
JSON
.
stringify
(
_this
.
DidaHotelRoomDetails
.
HotelList
));
tempData
=
JSON
.
parse
(
JSON
.
stringify
(
_this
.
DidaHotelRoomDetails
.
HotelList
));
console
.
log
(
_this
.
qMsg
.
RoomTypeName
,
'-------'
,
_this
.
qMsg
.
BedType
,
'--'
,
_this
.
qMsg
.
MTypeName
)
if
(
_this
.
qMsg
.
RoomTypeName
&&
_this
.
qMsg
.
RoomTypeName
!=
''
)
{
if
(
_this
.
qMsg
.
RoomTypeName
&&
_this
.
qMsg
.
RoomTypeName
!=
''
)
{
tempData
=
tempData
.
filter
(
qitem
=>
qitem
.
RoomName_CN
==
_this
.
qMsg
.
RoomTypeName
);
tempData
=
tempData
.
filter
(
qitem
=>
qitem
.
RoomName_CN
==
_this
.
qMsg
.
RoomTypeName
);
}
}
...
@@ -654,7 +653,6 @@
...
@@ -654,7 +653,6 @@
},
res
=>
{
},
res
=>
{
if
(
res
.
resultCode
==
1
)
{
if
(
res
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
;
var
tempData
=
res
.
data
;
console
.
log
(
"dmc_post_GetDiDaPriceSearchList"
,
tempData
);
this
.
DidaHotelRoomDetails
=
tempData
;
this
.
DidaHotelRoomDetails
=
tempData
;
this
.
qRoomTypeList
=
tempData
.
qRoomTypeList
;
this
.
qRoomTypeList
=
tempData
.
qRoomTypeList
;
if
(
this
.
qRoomTypeList
&&
this
.
qRoomTypeList
.
length
>
0
)
{
if
(
this
.
qRoomTypeList
&&
this
.
qRoomTypeList
.
length
>
0
)
{
...
@@ -664,7 +662,6 @@
...
@@ -664,7 +662,6 @@
})
})
}
}
this
.
qBedTypeList
=
tempData
.
qBedTypeList
;
this
.
qBedTypeList
=
tempData
.
qBedTypeList
;
console
.
log
(
this
.
qRoomTypeList
,
'-----'
)
if
(
this
.
qBedTypeList
&&
this
.
qBedTypeList
.
length
>
0
)
{
if
(
this
.
qBedTypeList
&&
this
.
qBedTypeList
.
length
>
0
)
{
this
.
qBedTypeList
.
unshift
({
this
.
qBedTypeList
.
unshift
({
BedType
:
0
,
BedType
:
0
,
...
@@ -680,6 +677,14 @@
...
@@ -680,6 +677,14 @@
})
})
}
}
uni
.
hideLoading
()
uni
.
hideLoading
()
setTimeout
(()
=>
{
this
.
hotelFacilities
.
forEach
((
x
)
=>
{
const
query
=
uni
.
createSelectorQuery
().
select
(
`#
${
x
.
val
}
`
);
query
.
boundingClientRect
((
rect
)
=>
{
x
.
top
=
rect
.
top
;
}).
exec
();
})
},
1000
);
}
}
},
err
=>
{
},
err
=>
{
this
.
loading
=
false
this
.
loading
=
false
...
@@ -783,6 +788,10 @@
...
@@ -783,6 +788,10 @@
startTime
:
`
${
obj
.
year
}
-
${
obj
.
startDay
}
`
,
startTime
:
`
${
obj
.
year
}
-
${
obj
.
startDay
}
`
,
endTime
:
`
${
obj
.
year
}
-
${
obj
.
endDay
}
`
endTime
:
`
${
obj
.
year
}
-
${
obj
.
endDay
}
`
}
}
uni
.
setStorage
({
key
:
"Time"
,
data
:
JSON
.
stringify
(
this
.
dayObj
),
});
this
.
showTimePopup
=
false
;
this
.
showTimePopup
=
false
;
this
.
getHotelPrices
()
this
.
getHotelPrices
()
},
},
...
@@ -943,14 +952,6 @@
...
@@ -943,14 +952,6 @@
}
}
this
.
hotelData
.
hotelid
=
this
.
dataList
.
hotelid
;
this
.
hotelData
.
hotelid
=
this
.
dataList
.
hotelid
;
this
.
hotelData
.
name
=
this
.
dataList
.
name
;
this
.
hotelData
.
name
=
this
.
dataList
.
name
;
setTimeout
(()
=>
{
this
.
hotelFacilities
.
forEach
((
x
)
=>
{
const
query
=
uni
.
createSelectorQuery
().
select
(
`#
${
x
.
val
}
`
);
query
.
boundingClientRect
((
rect
)
=>
{
x
.
top
=
rect
.
top
;
}).
exec
();
})
},
1000
);
}
}
})
})
},
},
...
...
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