Commit 2685756a authored by youjie's avatar youjie

no message

parent 778aa0f9
...@@ -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;
} }
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment