Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c284720d
authored
2025-06-13 15:17:05 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
旅游
1 parent
d1ddb010
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
src/viewsPc/booking/travel.vue
src/viewsPc/booking/travelDetail.vue
src/viewsPc/booking/travel.vue
View file @
c284720
...
...
@@ -24,7 +24,7 @@
<el-row
:gutter=
"20"
align=
"middle"
class=
"hotel"
>
<el-col
:span=
"6"
>
<div
class=
"imgbox"
>
<img
:src=
"fillImgUrl(h.
photos
?.split(',')[0])"
class=
"w100"
>
<img
:src=
"fillImgUrl(h.
cover
?.split(',')[0])"
class=
"w100"
>
</div>
</el-col>
<el-col
:span=
"12"
>
...
...
src/viewsPc/booking/travelDetail.vue
View file @
c284720
...
...
@@ -145,14 +145,16 @@ const route = useRoute()
const
router
=
useRouter
()
const
show
=
ref
(
false
)
const
showUrl
=
ref
(
''
)
const
activeId
=
ref
(
route
.
params
.
activeId
)
const
activeId
=
ref
(
route
.
params
.
lasId
)
const
scenicId
=
ref
(
route
.
params
.
scenicId
)
const
lasId
=
ref
(
route
.
query
.
lasId
)
const
active
=
ref
(
1
)
const
timeData
=
ref
()
const
endTime
=
ref
()
const
matchForm
=
ref
({})
const
selectForm
=
ref
({
la
t
sId
:
null
,
lasId
:
null
,
scenicDate
:
''
,
price
:
'--'
,
priceEn
:
'--'
...
...
@@ -161,15 +163,14 @@ const selectForm = ref({
const
{
proxy
}
=
getCurrentInstance
()
const
travel
=
ref
({})
const
ticketList
=
ref
([])
onMounted
(()
=>
{
getLogexScenicVoById
()
})
async
function
getLogexScenicVoById
()
{
const
res
=
await
booking
.
getLogexScenicVoById
({
id
:
active
Id
.
value
})
const
res
=
await
booking
.
getLogexScenicVoById
({
id
:
las
Id
.
value
})
travel
.
value
=
res
.
data
selectForm
.
value
.
la
tsId
=
travel
.
value
.
id
selectForm
.
value
.
la
sId
=
lasId
.
value
if
(
travel
.
value
.
dateList
&&
travel
.
value
.
dateList
.
length
>
0
)
{
selectForm
.
value
.
scenicDate
=
travel
.
value
.
dateList
[
0
]
await
getGateListByLasId
()
...
...
@@ -178,7 +179,7 @@ async function getLogexScenicVoById() {
async
function
getGateListByLasId
()
{
const
res
=
await
booking
.
getGateListByLasId
({
la
tsId
:
selectForm
.
value
.
latsId
,
la
sId
:
lasId
.
value
,
scenicDate
:
selectForm
.
value
.
scenicDate
})
ticketList
.
value
=
res
.
data
...
...
@@ -255,7 +256,7 @@ function goNext() {
start
:
selectForm
.
value
.
scenicDate
},
query
:
{
lasId
:
selectForm
.
value
.
la
t
sId
,
lasId
:
selectForm
.
value
.
lasId
,
item
:
encodeURIComponent
(
JSON
.
stringify
(
ticketList
.
value
))
}
})
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment