<template>
	<!-- 包月 -->
	<view class="monthly">
		<view class="monthly-list">
			<view class="monthly-list-item" v-for="(item, index) in monthlyList" :key="index">
				<view class="monthly-list-item-top">
					<view class="mlit-left">
						<view>{{item.name}}</view>
						<view>{{item.parking}}</view>
					</view>
					<view class="mlit-right">汽油车</view>
				</view>
				<view class="monthly-list-item-bottom">
					<view>包期：{{item.dateRange}}</view>
					<view>剩余天数：{{item.balance}}天</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				monthlyList: [
					{
						id: 1,
						name: '贵A37W45',
						parking: '甜蜜小镇D18组团停车场',
						dateRange: '2021.04.21-2021.05.20',
						balance: '20',
						carType: 1
					},
					{
						id: 2,
						name: '贵A37W45',
						parking: '甜蜜小镇D18组团停车场',
						dateRange: '2021.04.21-2021.05.20',
						balance: '20',
						carType: 3
					},
					{
						id: 3,
						name: '贵A37W45',
						parking: '甜蜜小镇D18组团停车场',
						dateRange: '2021.04.21-2021.05.20',
						balance: '20',
						carType: 1
					}
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
@import './monthly.scss';
</style>
