69 lines
1.5 KiB
Vue
69 lines
1.5 KiB
Vue
<template>
|
||
<Card title="设备监控">
|
||
<div class="devices">
|
||
<vue-scroll>
|
||
<div class="device" v-for="i in 5" :key="i">
|
||
<div class="device-name">空压机{{i}}</div>
|
||
<div class="info">
|
||
<img class="image" src="../assets/images/common/bg_kyj.png" />
|
||
<div class="detail">
|
||
<div class="detail-item green">状态:进行中</div>
|
||
<div class="detail-item grey">电压:10000V</div>
|
||
<div class="detail-item orange">电流:100A</div>
|
||
<div class="detail-item">线缆温度:120℃</div>
|
||
<div class="detail-item">环境温度:53℃</div>
|
||
<div class="detail-item">漏电流:99A</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</vue-scroll>
|
||
</div>
|
||
</Card>
|
||
</template>
|
||
|
||
<script>
|
||
import Card from '../components/Card.vue'
|
||
export default {
|
||
components: { Card }
|
||
}
|
||
</script>
|
||
|
||
<style lang="less" scoped>
|
||
.devices {
|
||
padding-left: 20px;
|
||
height: 100%;
|
||
color: #fff;
|
||
.device {
|
||
width: 100%;
|
||
height: 176px;
|
||
.device-name {
|
||
// margin-top: 20px;
|
||
height: 40px;
|
||
line-height: 40px;
|
||
font-size: 12px;
|
||
}
|
||
.info {
|
||
height: 22px;
|
||
line-height: 22px;
|
||
font-size: 12px;
|
||
color: #68d8e4;
|
||
display: flex;
|
||
.image {
|
||
margin-right: 20px;
|
||
width: 170px;
|
||
height: 140px;
|
||
}
|
||
}
|
||
}
|
||
.green {
|
||
color: #46d7b6;
|
||
}
|
||
.grey {
|
||
color: #9da1aa;
|
||
}
|
||
.orange {
|
||
color: #e7622a;
|
||
}
|
||
}
|
||
</style>
|