Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
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
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
罗超
bigwood
Commits
ab994abc
Commit
ab994abc
authored
Dec 16, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
51ebd09e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
DetailsList.vue
src/components/scattered/list/DetailsList.vue
+4
-2
ListHeader.vue
src/components/scattered/list/ListHeader.vue
+1
-2
hotelDetails.vue
src/pages/scattered/hotelDetails.vue
+2
-2
No files found.
src/components/scattered/list/DetailsList.vue
View file @
ab994abc
...
...
@@ -42,7 +42,7 @@
<div
class=
"text-weight-bold"
>
{{ $t('v101.scatteredDetails.fuheTJroom') }}
</div>
</div>
<q-card
class=
"q-my-md"
>
<
template
v-if=
"SimilarList
.length!=
0"
>
<
template
v-if=
"SimilarList
&&SimilarList.length>
0"
>
<div
class=
"row"
v-for=
"(item,index) in SimilarList"
:key=
"index"
>
<div
class=
"col-3 col row no-wrap justify-between q-pa-sm q-pr-lg"
style=
"border-right: 1px solid #eeeeee;"
>
<!-- @click="showImageHandler" -->
...
...
@@ -185,7 +185,9 @@
data
.
ScatMeaList
=
useHotel
.
getHotelScatMeal
()
const
methods
=
{
goUrl
(
url
:
stringify
,
row
:
{}){
url
=
`
${
url
}
/
${
search
.
hotelId
}
/
${
row
.
roomOptionCd
}
`
console
.
log
(
row
,
'---'
)
return
url
=
`
${
url
}
/
${
search
.
hotelId
}
/
${
row
.
roomOptionCd
}
/
${
row
.
imgUrl
}
`
window
.
open
(
url
,
'_blank'
)
},
getPrice
(
price
){
...
...
src/components/scattered/list/ListHeader.vue
View file @
ab994abc
...
...
@@ -88,10 +88,9 @@ import { HotelRate,HotelArea, useHotel } from '../../../utils/hotelRate'
import
{
useQuasar
}
from
'quasar'
import
useScrollModule
from
'../../../module/scrollbar/scrollModule'
// import { dateDiffer } from '../../../utils/tools'
import
ListCar
from
"./ListCar.vue"
import
{
DirtionmaryHelper
}
from
'../../../config/dictionary'
export
default
defineComponent
({
components
:
{
svgIcon
,
ListCar
,
NCascader
,
NSelect
},
components
:
{
svgIcon
,
NCascader
,
NSelect
},
setup
()
{
const
$q
=
useQuasar
()
const
qDateProxy
=
ref
(
null
)
as
any
...
...
src/pages/scattered/hotelDetails.vue
View file @
ab994abc
...
...
@@ -215,7 +215,7 @@
const
pageTitle
=
inject
(
DirtionmaryHelper
.
PAGE_TITLE_KEY
)
as
any
pageTitle
.
value
=
t
(
'v101.scatteredDetails.xiangqing'
)
//
data.scrollStyle = useScrollModule().scrollStyle
data
.
scrollStyle
=
useScrollModule
().
scrollStyle
data
.
getParamsMsg
=
localStorage
.
getItem
(
DirtionmaryHelper
.
SCATTERED_HOTEL_DATE
)
data
.
urlParamsMsg
=
currentRouter
.
currentRoute
.
value
.
params
console
.
log
(
data
.
urlParamsMsg
.
hotelId
,
'----'
)
...
...
@@ -246,7 +246,7 @@
data
.
loading
=
true
data
.
params
.
hotelId
=
data
.
urlParamsMsg
.
hotelId
let
param
=
Object
.
assign
(
data
.
params
)
HotelService
.
GetHotelDetail
(
param
)
HotelService
.
GetHotelDetail
Scat
(
param
)
.
then
(
r
=>
{
if
(
r
.
data
.
resultCode
==
ApiResult
.
SUCCESS
)
{
data
.
h
=
r
.
data
.
data
.
hotelDetails
;
...
...
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