<style lang="scss" scoped>

	@import url("@/asset/css/flex.css");
    .infor1-box{
        background: #FFFFFF;
        box-shadow: 0rpx 3rpx 32rpx 0rpx rgba(71,71,71,0.16);
        border-radius: 8rpx;
        overflow: hidden;
    }
    .infor1-center>view{
        padding: 20rpx 0;
        border-bottom: 1px solid #ddd;
    }
    .infor1-center>view view:first-child{
        width: 180rpx;
    }
    .infor1-center>view:last-child{
        border-bottom: 0;
    }
    .infor1-header{
        background: #4985FF;
    }
    .infor1-header img{
        width: 24rpx;
        height: 32rpx;
        display: inline-block;
    }
</style>
<template>
    <view class="PX20 PT40" v-if="data&&data.HotelList">
        <view class="infor1-box MB20 bjFFF fz28 color333"
        v-for="(item,index) in data.HotelList">
            <view class="infor1-header PY30 colorFFF">
                <view class="fz32 PX30">{{ item.HotelName }}</view>
                <view class="row items-center MT10 PX30">
                    <view class="row">
                        <img style="width: 31rpx;height: 33rpx;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638877448252171613.png" />
                    </view>
                    <text class="ML20 fz28 flex1">{{ item.Address }}</text>
                </view>
            </view>
            <view class="infor1-center PX30">
                    <view class="row justify-between">
                        <view class="MR40">订房号</view>
                        <view class="">{{ item.ReserveNo }}</view>
                    </view>
                    <view class="row justify-between">
                        <view class="MR40">入住时间</view>
                        <view class="">{{ item.StartDate.substr(0,10) }}</view>
                    </view>
                    <view class="row justify-between">
                        <view class="MR40">占床/不占床</view>
                        <view class="">{{ data.HouseStatistics.NeedBed }}/{{ data.HouseStatistics.NoNeedBed }}</view>
                    </view>
                    <view class="row justify-between">
                        <view class="MR40">实际用房</view>
                        <view class="">{{ data.HouseStatistics.RealityRoomNum }}</view>
                    </view>
                    <view class="row justify-between">
                        <view class="MR40">联系电话</view>
                        <view class="">{{ item.Tel }}</view>
                    </view>
                    <view class="row justify-between">
                        <view class="MR40 flexS">备注</view>
                        <view class="">{{ item.Remarks }}</view>
                    </view>
            </view>
        </view>
        <u-empty v-if="data.HotelList.length == 0" text="暂无相关信息" mode="data" color="#333" padding-top="20"></u-empty>
        <view style="height: 50rpx;"></view>
    </view>
</template>
<script>
export default {
    props:['data'],
    data() {
        return {

        }
    },
    watch: {
        data:{
            handler(newVal,oldVal){
                
            },
            deep:true,
            immediate:false
        },
    },
    mounted() {
        
    },
    methods:{

    }
}
</script>