<!-- 管理车辆 -->
<template>
	<view class="content">
		<view class="content1">
			<view class="content1-item inline-block ">
				<u--image width='100%' height='100%' src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix">
				</u--image>
				<view class="flex flex-space-between">
					<view>辽H11111</view>
					<view>审核中</view>
				</view>
				<view class="flex">
					<view>删除</view>
					<view>修改</view>
				</view>
			</view>
			<view class="content1-item inline-block ">
				<u--image width='100%' height='100%' src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix">
				</u--image>
				<view class="flex flex-space-between">
					<view>辽H11111</view>
					<view>审核中</view>
				</view>
				<view class="flex">
					<view>删除</view>
					<view>修改</view>
				</view>
			</view>
			<view class="content1-item inline-block ">
				<u--image width='100%' height='100%' src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix">
				</u--image>
				<view class="flex flex-space-between">
					<view>辽H11111</view>
					<view>审核中</view>
				</view>
				<view class="flex">
					<view>删除</view>
					<view>修改</view>
				</view>
			</view>
			<view class="content1-item inline-block ">
				<u--image width='100%' height='100%' src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix">
				</u--image>
				<view class="flex flex-space-between">
					<view>辽H11111</view>
					<view>审核中</view>
				</view>
				<view class="flex">
					<view @click="del">删除</view>
					<view @click="edit">修改</view>
				</view>
			</view>
		</view>
		<u-button type="primary" @click="addCar">添加车辆</u-button>
	</view>
</template>

<script>
	import {
		mapState
	} from 'vuex';
	var _this;
	export default {
		data() {
			return {

			};
		},
		onLoad(options) {
			_this = this;
			console.log(options)
			if (!this.hasLogin) {
				uni.$u.route('/pages/public/login');
			}
		},
		methods: {
			addCar() {
				uni.$u.route('/pages/mine/manageVehicles/addVehicle');
			},
			edit() {
				uni.$u.route('/pages/mine/manageVehicles/editVehicle');
			}
		},
	}
</script>

<style lang="scss" scoped>
	.content1 {
		width: 100%;
	}

	.content1-item {
		width: calc(50% - 0rpx);
	}
</style>
