消毒机前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

182 lines
4.6 KiB

<template>
<div class="test_container">
<div class="common_set switch_wrap">
<p class="title">加液蠕动泵</p>
<p class="num">000/000</p>
<div class="btn_wrap">
<div class="open">打开</div>
<div class="close">关闭</div>
</div>
</div>
<div class="common_set switch_wrap">
<p class="title">喷液蠕动泵</p>
<p class="num">000/000</p>
<div class="btn_wrap">
<div class="open">打开</div>
<div class="close">关闭</div>
</div>
</div>
<div class="common_set switch_wrap">
<p class="title">空压机</p>
<p class="num">000/000</p>
<div class="btn_wrap">
<div class="open">打开</div>
<div class="close">关闭</div>
</div>
</div>
<div class="common_set switch_wrap">
<p class="title">风机</p>
<p class="num">000/000</p>
<div class="btn_wrap">
<div class="open">打开</div>
<div class="close">关闭</div>
</div>
</div>
<div class="common_set update_wrap">
<p class="title">水浸</p>
<p class="num">000/000</p>
<div class="btn_wrap">更新读取水浸状态</div>
</div>
<div class="common_set update_wrap">
<p class="title">液位</p>
<p class="num">000/000</p>
<div class="btn_wrap">更新读取液位状态</div>
</div>
<div class="common_set info_wrap">
<p class="title">仓内</p>
<p class="info">温度 100 </p>
<p class="info">湿度 100 </p>
<p class="info">过氧化氢浓度 100 PPM</p>
</div>
<div class="common_set info_wrap">
<p class="title">环境1</p>
<p class="info">温度 100 </p>
<p class="info">湿度 100 </p>
<p class="info">过氧化氢浓度 100 PPM</p>
</div>
<div class="common_set info_wrap">
<p class="title">环境2</p>
<p class="info">温度 100 </p>
<p class="info">湿度 100 </p>
<p class="info">过氧化氢浓度 100 PPM</p>
</div>
</div>
</template>
<script setup></script>
<style lang="scss" scoped>
.test_container {
margin-bottom: 30px;
height: 580px;
box-sizing: border-box;
background: #ffffff;
border-radius: 16px;
padding: 20px;
padding-bottom: 80px;
display: grid;
row-gap: 20px;
column-gap: 20px;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(5, 1fr);
.common_set {
width: 580px;
height: 80px;
box-sizing: border-box;
border-radius: 14px;
background: #f6f6f6;
display: flex;
align-items: center;
.title {
font-family: Source Han Sans CN;
font-size: 20px;
font-weight: 500;
letter-spacing: 0.06em;
color: #000000;
width: 106px;
}
.num {
font-family: Source Han Sans CN;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.1em;
color: #000000;
}
}
.switch_wrap {
padding: 0 17px 0 40px;
justify-content: space-between;
.btn_wrap {
display: flex;
align-items: center;
.open {
margin-right: 10px;
width: 87px;
height: 45px;
border-radius: 23px;
background: #06518b;
display: flex;
align-items: center;
justify-content: center;
font-family: Source Han Sans CN;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.1em;
color: #ffffff;
}
.close {
width: 87px;
height: 45px;
border-radius: 23px;
background: #ffffff;
display: flex;
align-items: center;
justify-content: center;
font-family: Source Han Sans CN;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.1em;
color: #d8d8d8;
}
}
}
.update_wrap {
padding: 0 17px 0 40px;
justify-content: space-between;
.btn_wrap {
width: 184px;
height: 45px;
border-radius: 23px;
background: #06518b;
display: flex;
align-items: center;
justify-content: center;
font-family: Source Han Sans CN;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.1em;
color: #ffffff;
}
}
.info_wrap {
padding: 0 32px 0 40px;
justify-content: space-between;
.title {
font-family: Source Han Sans CN;
font-size: 20px;
font-weight: 500;
letter-spacing: 0.06em;
color: #000000;
width: 57px;
white-space: nowrap;
}
.info {
font-family: Source Han Sans CN;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.1em;
color: #06518b;
}
}
}
</style>