Commit ffb24c32 authored by youjie's avatar youjie

优化

parent 2685756a
......@@ -2,7 +2,7 @@
<view class="hotelFacilitiesXinXi">
<!--:style="{background: `url(${dataList.HotelImg[0].Path}) no-repeat`}"-->
<view class="hotelInforBox">
<image class="hotelInforBoxBj" mode="scaleToFill" :src="dataList.rooms[0].Path?dataList.rooms[0].Path:dataList.images[0].url" />
<image class="hotelInforBoxBj" mode="aspectFill" :src="dataList.rooms[0].Path?dataList.rooms[0].Path:dataList.images[0].url" />
<view class="hotelInforCenterBox">
<view class="hotelInforTitle">
{{ dataList.name }}
......@@ -78,6 +78,7 @@ export default {
overflow: hidden;
}
.hotelInforBoxBj{
width: 100%;
height: 100%;
position: absolute;
top: 0;
......
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