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
2685756a
Commit
2685756a
authored
May 22, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
778aa0f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
hotel-good.vue
pages/hotel/components/hotel-good.vue
+1
-0
hotelRoom.vue
pages/hotel/components/hotelRoom.vue
+2
-2
No files found.
pages/hotel/components/hotel-good.vue
View file @
2685756a
...
@@ -108,6 +108,7 @@
...
@@ -108,6 +108,7 @@
.hotel-list-item
.img-box
image
{
.hotel-list-item
.img-box
image
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
display
:
block
;
display
:
block
;
}
}
...
...
pages/hotel/components/hotelRoom.vue
View file @
2685756a
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<view
class=
"hotelDetail row"
v-if=
"!subindex"
>
<view
class=
"hotelDetail row"
v-if=
"!subindex"
>
<template
v-if=
"item.images&&item.images.length>0"
>
<template
v-if=
"item.images&&item.images.length>0"
>
<view
class=
"hotelDetailL"
@
click=
"openPicture(item.images)"
>
<view
class=
"hotelDetailL"
@
click=
"openPicture(item.images)"
>
<image
mode=
"
heightFix
"
:src=
"item.images[0].Url"
/>
<image
mode=
"
aspectFill
"
:src=
"item.images[0].Url"
/>
<view
class=
"hotelDetailLImgs"
v-if=
"item.images&&item.images.length>1"
>
<view
class=
"hotelDetailLImgs"
v-if=
"item.images&&item.images.length>1"
>
{{
item
.
images
.
length
}}
{{
item
.
images
.
length
}}
</view>
</view>
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<view
class=
"hotelDetailL"
>
<view
class=
"hotelDetailL"
>
<image
mode=
"
heightFix
"
<image
mode=
"
aspectFill
"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/defaultHotelImg.png"
/>
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/defaultHotelImg.png"
/>
</view>
</view>
</
template
>
</
template
>
...
...
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