<template>
	<view class="restaurant-list-item">
		<view class="img-box">
			<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1622459632000_216.png" mode="aspectFill"></image>
		</view>
		<view class="restaurant-info">
			<view class="restaurant-name">乐山禅驿·嘉定院子酒店</view>
			<view class="restaurant-start">
				<view class="other-rate">
					<text>日式料理</text>
					<span class="line"></span>
				</view>
			</view>
			<view class="localtion">距该酒店直线4.1公里·近九寨千古情景区·沟口</view>
			<view>
				<u-tag text="纯正日式" bg-color="#FFF" border-color="#DFBE6E" color="#DFBE6E" size="mini"></u-tag>
			</view>
			<view class="price">
				<text>￥</text>
				<text class="money">599</text>
				<text>起</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			restaurantType:{
				type:Number,
				default:0
			}
		},
		data() {
			return {
			}
		},
	}
</script>

<style>
	.restaurant-list-item{
		margin: 30rpx 0;
		padding-bottom: 30rpx;
		/* border-bottom: 1rpx solid #E2E2E2; */
		display: flex;
		align-items: center;
	}
	.restaurant-list-item .img-box{
		width: 220rpx;
		height: 280rpx;
		border-radius: 20rpx;
		overflow: hidden;
		margin-right: 30rpx;
	}
	.restaurant-list-item .img-box image{
		width: 100%;
	}
	.restaurant-list-item .restaurant-info{
		width: 1px;
		flex: 1;
	}
	.restaurant-list-item .restaurant-info .restaurant-name{
		font-weight: 500;
		color: #111111;
		line-height: 30rpx;
		font-size: 30rpx;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.restaurant-list-item .restaurant-info .restaurant-start{
		margin:10rpx 0;
	}
	.restaurant-list-item .restaurant-info .restaurant-start .rate{
		font-size: 30rpx;
		font-weight: 500;
		color: #999999;
		line-height: 30rpx;
	}
	.restaurant-list-item .restaurant-info .restaurant-start .other-rate{
		display: inline-block;
		position: relative;
	}
	.restaurant-list-item .restaurant-info .restaurant-start .other-rate text{
		position: relative;z-index: 2;
		font-size: 30rpx;
		line-height: 30rpx;
		font-weight: 500;
		color: #111;
	}
	.restaurant-list-item .restaurant-info .restaurant-start .other-rate .line{
		background-color: #DFBE6E;
		height: 6px;
		bottom: 2px;
		left: 0;
		right: 0;
		position: absolute;
		z-index: 1;
	}
	.restaurant-list-item .restaurant-info .localtion{
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
		line-height: 30rpx;
		
		text-overflow: -o-ellipsis-lastline;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		margin-bottom: 10rpx;
	}
	.restaurant-list-item .restaurant-info .price{
		margin-top: 10rpx;
		font-weight: 500;
		color: #000;
		font-size: 20rpx;
		text-align: right;
	}
	.restaurant-list-item .restaurant-info .price .money{
		font-size: 36rpx;
	}
</style>
