Commit 22ca6eaa authored by 罗超's avatar 罗超

1

parent 3983ab31
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view> <view>
<view class="hotel-list-item" v-for="(item,index) in scenicArr" :key="index" @click="goHotelDetail(item.ID)"> <view class="hotel-list-item" v-for="(item,index) in scenicArr" :key="index" @click="goHotelDetail(item.ID)">
<view class="img-box"> <view class="img-box">
<image :src="item.CoverImg" mode="aspectFill"></image> <image :src="item.CoverImg" mode="aspectFill" style="height: 100%;"</image>
</view> </view>
<view class="hotel-info"> <view class="hotel-info">
<view class="hotel-name">{{item.Name}}</view> <view class="hotel-name">{{item.Name}}</view>
...@@ -65,10 +65,10 @@ ...@@ -65,10 +65,10 @@
}, },
methods:{ methods:{
goHotelDetail(id){ goHotelDetail(id){
let myDayObj = JSON.stringify(this.dayObj); // let myDayObj = JSON.stringify(this.dayObj);
uni.navigateTo({ uni.navigateTo({
// url: "/pages/ticketCoupons/detail?id=" + id +'&dayObj=' + myDayObj+'&searchObj='+JSON.stringify(this.searchObj) // url: "/pages/ticketCoupons/detail?id=" + id +'&dayObj=' + myDayObj+'&searchObj='+JSON.stringify(this.searchObj)
url: "/pages/restaurant/detail?id=" + id url: "/pages/ticketCoupons/detail?id=" + id
}); });
} }
} }
...@@ -89,6 +89,7 @@ ...@@ -89,6 +89,7 @@
border-radius: 20rpx; border-radius: 20rpx;
overflow: hidden; overflow: hidden;
margin-right: 30rpx; margin-right: 30rpx;
box-shadow: 0rpx 10rpx 30rpx 0rpx rgba(36, 36, 36, 0.2);
} }
.hotel-list-item .img-box image{ .hotel-list-item .img-box image{
width: 100%; width: 100%;
......
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