<template>
	<view>
		<u-navbar  title="用户管理" :is-back="0" ></u-navbar>
		<view class="main">
			<view class="search">
				<view class="searchBox">
					<u-search shape="square" placeholder="搜索姓名/车牌/手机号" :animation="true"></u-search>
					<u-button type="primary"  size="mini">搜素</u-button>
				</view>
			</view>

			<view class="list">
				<view class="line"   @click="gotoUrl('/pages/userTab/dataUser?id=1')" >
					<view class="body">
						<view class="imgclass">
							<image class="img" src="@/assets/img/默认头像.png" mode=""></image>
						</view>
						<view class="item">
							<view class="name">
								软件园
							</view>
							<view class="value">
								<image class="img img1" src="@/assets/img/userTab/index1-2.svg" mode=""></image>
								123111
								<image class="img img2" src="@/assets/img/userTab/index1-1.svg" mode=""></image>
								123111
							</view>
						</view>
					</view>
					<view class="goto">
						<u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
					</view>
				</view>
				
				<view class="line">
					<view class="body">
						<view class="imgclass">
							<image class="img" src="@/assets/img/deviceTab/index1-1.svg" mode=""></image>
						</view>
						<view class="item">
							<view class="name">
								软件园
							</view>
							<view class="value">
								占用9<span>/</span>
								占用9<span>/</span>
								共9台
							</view>
						</view>
					</view>
					<view class="goto">
						<u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
					</view>
				</view>
				
			</view>
		</view>
		<tabbar :current="2"></tabbar>
	</view>
</template>

<script>
	import * as API from '@/apis/pagejs/userTab.js'
	
	import Tabbar from '@/components/Tabbar.vue'
	export default {
		components: {
			Tabbar
		},
		data() {
			return {
				title:"场站列表"
			};
		}
	}
</script>

<style scoped lang="scss">
	.main{
		background-color: #fff;
		.line{
			    display: flex;
			    justify-content: space-between;
				    align-items: center;
					padding: 32rpx;
					border-bottom: 1px solid rgba(245,245,245,1);
					
				.body{
					 display: flex;
					     align-items: center;
						 
						 .imgclass{
						 							     display: flex;
						 							     align-items: center;
						 							     justify-content: center;
						 							width: 72rpx;
						 							height: 72rpx;
						 							     border-radius: 4px;
						 							     background-color: #E5E5E5;
						 }
						 .item{
						 							    margin-left: 16rpx;
						 								
						 								 .name{
						 									
						 									 font-size: 36rpx;
															 color: rgba(16,16,16,1);
															
															
						 								 }
						 								 .value{
															     display: flex;
															     align-items: center;
						 								 	color: rgba(119,119,119,1);
						 								 	font-size: 24rpx;
						 											 .img{
																		 width: 32rpx;
																		 height: 32rpx;
						 												  margin-right: 8rpx;
						 											 }
																	 .img1{
																		 
																	 }
																	 .img2{
																	 	 margin-left: 20rpx;																	 
																	 }
						 								 }
						 }
						
				}
		}
		.img{
			width: 48rpx;
			height: 48rpx;
		}
	}
	.search{
		    
			padding: 16rpx 32rpx;
			    border-bottom: 1px solid whitesmoke;
				.searchBox{
					display: flex;
					align-items: center;
					    background: #F2F2F2;
					    padding: 1px 16rpx;
					    border-radius: 8px;
				}
	}
</style>
