<template>
	<view class="" style="margin-top: 10rpx;">
		<view class="" style="display: flex;align-items: center;height: 60rpx;">
			<u-icon name="map"></u-icon>
			栏舍一号
		</view>

		<view class="info">
			<view class="info-li" style="background-image: url('/static/main/house/dong_wu_ming_cheng.png');">
				动物名称
				<view class="">
					黑山羊
				</view>
			</view>
			<view class="info-li" style="background-image: url('/static/main/house/dong_wu_lei_xing.png');">
				动物类型
				<view class="">
					哺乳动物
				</view>
			</view>
			<view class="info-li" style="background-image: url('/static/main/house/lan_she_rong_liang.png');">
				栏舍容量
				<view class="">
					50只
				</view>
			</view>
			<view class="info-li" style="background-image: url('/static/main/house/lan_she_fu_ze_ren.png');">
				栏舍负责人
				<view class="">
					赵桑
				</view>
			</view>
			<view class="info-li" style="background-image: url('/static/main/house/dian_hua.png');">
				负责人电话
				<view class="">
					{{info.master_phone}}
				</view>
			</view>
      <view class="info-li-d">
      </view>
		</view>

	</view>
</template>

<script setup>
	import {
		reactive,
		watch

	} from "vue";
	const props = defineProps({
		info: Object,
		isDetail: Boolean

	})

	const perviewFn = (url) => {

		uni.previewImage({
			urls: [url]
		})
	}
</script>

<style lang="scss" scoped>
	.info {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;

		.info-li {
			width: 223rpx;
			height: 129rpx;
			border-radius: 10rpx;
			background-size: 100% 100%;
			padding: 20rpx;
			margin-bottom: 20rpx;
			box-shadow: 1rpx 1rpx 10rpx 1rpx rgba(0, 0, 0, 0.1);
		}
    .info-li-d {
    	width: 223rpx;
    	height: 129rpx;
    	border-radius: 10rpx;
    	padding: 20rpx;
    	margin-bottom: 20rpx;
    }
	}

	.card {
		// width: 710rpx;
		margin: 0 auto;

		.tit {
			display: flex;
			justify-content: space-between;
			padding-bottom: 20rpx;
			border-bottom: 1px solid #EBF1EF;
		}

		.card-li {
			margin-top: 20rpx;
			display: flex;
			justify-content: space-between;
		}
	}
</style>