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
70a23746
authored
2025-06-19 15:08:19 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
旅游地址
1 parent
dd36693f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
17 deletions
src/viewsPc/booking/travel.vue
src/viewsPc/booking/travel.vue
View file @
70a2374
...
...
@@ -15,36 +15,41 @@
<div
v-loading=
"loading"
class=
"box"
>
<el-row
:gutter=
"20"
>
<el-col
v-for=
"(h
,index
) in list"
:key=
"h.id"
:lg=
"24"
:md=
"24"
:sm=
"24"
v-for=
"(h) in list"
:key=
"h.id"
:lg=
"24"
:md=
"24"
:sm=
"24"
:xl=
"24"
:xs=
"24"
class=
"mb20"
>
<el-card>
<!-- 酒店列表-->
<el-row
:gutter=
"20"
align=
"middle"
class=
"hotel"
>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4"
style=
"display: flex;justify-content: center
"
>
<div
class=
"imgbox"
>
<img
:src=
"fillImgUrl(h.cover?.split(',')[0])"
class=
"w100"
>
</div>
</el-col>
<el-col
:span=
"12"
>
<h3
class=
"esp"
>
{{
h
.
name
}}
</h3>
<div
class=
"starBox"
>
<img
v-for=
"i in Number(h.rank||0)"
src=
"@/assets/booking/star.png"
>
</div>
<!--
<div
class=
"starBox"
>
-->
<!--
<img
v-for=
"i in Number(h.rank||0)"
src=
"@/assets/booking/star.png"
>
-->
<!--
</div>
-->
<p
class=
"esp addr mt20"
>
{{
language
==
0
?
'联系电话'
:
'Contact Number'
}}
:
<span
class=
"ml5"
>
{{
h
.
contact
}}
</span>
</p>
<p
class=
"esp addr mt20"
>
<el-icon
color=
"#929AA0"
size=
"16"
style=
"position: relative;top: 2px"
>
<Clock
/>
</el-icon>
<span
class=
"ml5"
>
{{
language
==
0
?
'开园时间'
:
'Opening Time'
}}
:
{{
h
.
startTime
}}
~
{{
h
.
workTime
<!--
<el-icon
color=
"#929AA0"
size=
"16"
style=
"position: relative;top: 2px"
>
-->
<!--
<Clock
/>
-->
<!--
</el-icon>
-->
{{
language
==
0
?
'集合时间'
:
'Opening Time'
}}
:
<span
class=
"ml5"
>
{{
h
.
startTime
}}
~
{{
h
.
startTime
}}
</span>
</p>
<p
class=
"esp addr mt20"
>
<el-icon
color=
"#929AA0"
size=
"16"
style=
"position: relative;top: 2px"
>
<LocationFilled
/>
</el-icon>
<!--
<el-icon
color=
"#929AA0"
size=
"16"
style=
"position: relative;top: 2px"
>
-->
<!--
<LocationFilled
/>
-->
<!--
</el-icon>
-->
{{
language
==
0
?
'集合地点'
:
'Meeting Point'
}}
:
{{
h
.
address
}}
</p>
</el-col>
...
...
@@ -135,7 +140,7 @@ async function goDetail(item) {
img
.w100
{
object-fit
:
cover
;
aspect-ratio
:
1
6
/
9
aspect-ratio
:
1
0
/
14
}
.addr
{
...
...
@@ -212,8 +217,11 @@ async function goDetail(item) {
}
.imgbox
{
width
:
100%
;
height
:
100%
;
max-width
:
159px
;
max-height
:
210px
;
//
width
:
159px
;
//
height
:
210px
;
position
:
relative
;
img
{
...
...
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