109 lines
2.3 KiB
Vue
109 lines
2.3 KiB
Vue
|
<template>
|
||
|
<div class="container">
|
||
|
<div class="header">
|
||
|
<div class="title">
|
||
|
<header2 ref="headerref" :width="'100%'" :height="'100px'" :title="'床垫生产线物联管理系统'" :titleTip="[]"
|
||
|
:typeFun="['time']" :alarmType="[]"></header2>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="content">
|
||
|
|
||
|
</div>
|
||
|
<div class="left-tip-type">
|
||
|
<div class="left-tip-type-item">
|
||
|
<div class="yuan green"></div>
|
||
|
<div class="left-tip-type-item-text">工作</div>
|
||
|
</div>
|
||
|
<div class="left-tip-type-item">
|
||
|
<div class="yuan yello"></div>
|
||
|
<div class="left-tip-type-item-text">待机</div>
|
||
|
</div>
|
||
|
<div class="left-tip-type-item">
|
||
|
<div class="yuan red"></div>
|
||
|
<div class="left-tip-type-item-text">停机</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script setup lang='ts'>
|
||
|
import { ref, reactive, onMounted, onUnmounted, getCurrentInstance, watch, onUpdated, computed } from 'vue'
|
||
|
import header2 from './components/header2.vue'
|
||
|
import BorderView from './components/Border.vue'
|
||
|
</script>
|
||
|
|
||
|
<style scoped>
|
||
|
.container {
|
||
|
height: 1080px;
|
||
|
width: 1920px;
|
||
|
color: #FFFFFF;
|
||
|
background: url('./../../../assets/img/bg.jpg') no-repeat center center / 100% 100%;
|
||
|
background-color: #0E0E0E;
|
||
|
position: relative;
|
||
|
|
||
|
}
|
||
|
|
||
|
.header {
|
||
|
height: 100px;
|
||
|
width: 1920px;
|
||
|
}
|
||
|
|
||
|
.content {
|
||
|
height: 980px;
|
||
|
width: 1920px;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: space-between;
|
||
|
padding: 0 5px;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
.left-tip-type {
|
||
|
position: absolute;
|
||
|
top: 50px;
|
||
|
left: 462px;
|
||
|
width: 160px;
|
||
|
height: 50px;
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
font-size: 14px;
|
||
|
font-weight: 700;
|
||
|
}
|
||
|
|
||
|
.left-tip-type-item {
|
||
|
width: 33%;
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.yuan {
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
|
||
|
.green {
|
||
|
background-color: #7CFFB2;
|
||
|
}
|
||
|
|
||
|
.yello {
|
||
|
background-color: #FDDD60;
|
||
|
}
|
||
|
|
||
|
.red {
|
||
|
background-color: #FF6E76;
|
||
|
}
|
||
|
|
||
|
.blue {
|
||
|
color: #20AEC5;
|
||
|
}
|
||
|
|
||
|
.err {
|
||
|
color: #FF6E76;
|
||
|
}
|
||
|
</style>
|