<template>
	<view>
		<uni-forms :modelValue="basicFrom">
			<uni-forms-item label="车牌号:" name="CarPlate" label-align="right" label-width="120px">
				<uni-easyinput type="text" v-model.trim="basicFrom.CarPlate" :clear="false"/>
			</uni-forms-item>
			<uni-forms-item label="车辆识别码:" name="CarVin" label-align="right" label-width="120px">
				<uni-easyinput type="text" v-model.trim="basicFrom.CarVin" />
			</uni-forms-item>
			<uni-forms-item label="电池距离:" name="CarDistance" label-align="right" label-width="120px">
				<uni-easyinput type="text" v-model.trim="basicFrom.CarDistance" :clear="false" />
			</uni-forms-item>
			<uni-forms-item label="状态:" name="state" label-align="right" label-width="120px">
				<uni-data-select v-model.trim="basicFrom.state" :localdata="range"
					 :clear="false"></uni-data-select>
			</uni-forms-item>
		</uni-forms>
	</view>
	<!-- 剩个已充时长和落座信号没有对字段 -->
</template>

<script>
	export default {
		name: 'BasicDrawer',
		props: ['basicFrom','range'],
		data() {
			return {
				// getbasicFrom:{}
			}
		},
		methods:{
			changeId(e) {
				
			},
		}
	}
</script>
<style lang="scss" scoped>
	::v-deep .uni-forms-item__content {
		background: rgba(255, 255, 255, 0);
		border-radius: 2px 2px 2px 2px;
		border: 1px solid #263042;

		.uni-easyinput__content {
			background: none !important;
			border: none !important;
			color: #fff;
		}
	}
	::v-deep .uni-forms-item {
		width: 100% !important;
	}
	::v-deep .uni-icons{
		display: none;
	}
</style>