<template>
	<view>
		<u-navbar  :title="title" :is-back="0" ></u-navbar>
		<view class="main">
			<view class="list">
				<view class="line"   @click="gotoUrl('/pages/deviceTab/deviceList?id=1')" >
					<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 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>
		<u-divider border-color="#CFD2D5">已经到底了</u-divider>
		
		<tabbar :current="1"></tabbar>
	</view>
</template>

<script>
	import * as API from '@/apis/pagejs/deviceTab.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: rgba(219,234,255,1);
						 }
						 .item{
						 							    margin-left: 16rpx;
						 								
						 								 .name{
						 									 color: rgba(51,51,51,1);
						 									 font-size: 28rpx;
						 								 }
						 								 .value{
						 								 	color: rgba(119,119,119,1);
						 								 	font-size: 24rpx;
						 											 span{
						 												  margin: 0 8rpx;
						 											 }
						 								 }
						 }
						
				}
		}
		.img{
			width: 48rpx;
			height: 48rpx;
		}
	}
</style>
