|
@@ -0,0 +1,188 @@
|
|
|
+<template>
|
|
|
+ <div :key="viewKey" class="screen-container">
|
|
|
+ <common-headerB title="装调一体式智能生产线仿真大屏" />
|
|
|
+ <div class="body">
|
|
|
+ <div class="left bg">
|
|
|
+ <TitleHeaderB title="工位状态" />
|
|
|
+ <div class="totalInfo"></div>
|
|
|
+ <div class="titleInfo"></div>
|
|
|
+ <el-scrollbar class="scrollbar">
|
|
|
+ <div class="info" v-for="item in 40"></div>
|
|
|
+ </el-scrollbar>
|
|
|
+ </div>
|
|
|
+ <div class="middle">
|
|
|
+ <div class="item"></div>
|
|
|
+ <div class="item">
|
|
|
+ <TitleHeaderB title="自动化设备状态" />
|
|
|
+ <el-scrollbar class="scrollbar">
|
|
|
+ <div class="infoContent">
|
|
|
+ <div class="deviceInfo">
|
|
|
+ <div class="img"></div>
|
|
|
+ <div class="info">
|
|
|
+ <div class="info1">多媒体</div>
|
|
|
+ <div class="info2">
|
|
|
+ <div class="text2">
|
|
|
+ 今日稼动
|
|
|
+ <span class="nums">70%</span>
|
|
|
+ </div>
|
|
|
+ |
|
|
|
+ <div class="text2">
|
|
|
+ 总稼动
|
|
|
+ <span class="nums" style="color: white">80%</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="info3">
|
|
|
+ <div class="ip">IP:123.123.123.1</div>
|
|
|
+ <div class="infoState">在线</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-scrollbar>
|
|
|
+ </div>
|
|
|
+ <div class="item">
|
|
|
+ <TitleHeaderB title="不合格情况" />
|
|
|
+ <el-scrollbar class="infoContent"> a </el-scrollbar>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="right"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup>
|
|
|
+import CommonHeaderB from "@/views/report/statistics/screens/common-headerB.vue";
|
|
|
+import TitleHeaderB from "../titleHeaderB.vue";
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.screen-container {
|
|
|
+ width: 100vw;
|
|
|
+ height: 100vh;
|
|
|
+ background-image: url("@/assets/images/screen_bg_task.png");
|
|
|
+ background-size: cover;
|
|
|
+ background-position: center;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+.bg {
|
|
|
+ background-color: rgba(0, 0, 0, 0.4);
|
|
|
+}
|
|
|
+.body {
|
|
|
+ padding-top: 1vh;
|
|
|
+ width: 100vw;
|
|
|
+ height: 90vh;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-evenly;
|
|
|
+ .left {
|
|
|
+ padding: 1vh;
|
|
|
+ width: 18vw;
|
|
|
+ height: 90vh;
|
|
|
+ .totalInfo {
|
|
|
+ height: 20vh;
|
|
|
+ padding: 1vh;
|
|
|
+ }
|
|
|
+ .titleInfo {
|
|
|
+ height: 3vh;
|
|
|
+ }
|
|
|
+ .scrollbar {
|
|
|
+ padding-top: 0.5vh;
|
|
|
+ height: 58vh;
|
|
|
+ .info {
|
|
|
+ height: 3vh;
|
|
|
+ margin-bottom: 0.5vh;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .middle {
|
|
|
+ width: 60vw;
|
|
|
+ height: 90vh;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ .item {
|
|
|
+ height: 29vh;
|
|
|
+ padding: 1vh;
|
|
|
+ width: 100%;
|
|
|
+ background-color: rgba(0, 0, 0, 0.4);
|
|
|
+ .scrollbar {
|
|
|
+ height: 23.9vh;
|
|
|
+ width: 100%;
|
|
|
+ .infoContent {
|
|
|
+ width: 100%;
|
|
|
+ padding: 1vh;
|
|
|
+ display: grid;
|
|
|
+ gap: 0.6vw;
|
|
|
+ grid-template-columns: repeat(3, 1fr);
|
|
|
+ .deviceInfo {
|
|
|
+ width: 19vw;
|
|
|
+ height: 10vh;
|
|
|
+ display: flex;
|
|
|
+ background-color: rgba(255, 255, 255, 0.06);
|
|
|
+ clip-path: polygon(0% 0%, 85% 0%, 100% 25%, 100% 100%, 0% 100%);
|
|
|
+ .img {
|
|
|
+ height: 10vh;
|
|
|
+ width: 7vw;
|
|
|
+ }
|
|
|
+ .info {
|
|
|
+ height: 10vh;
|
|
|
+ width: 12vw;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding-top: 1vh;
|
|
|
+
|
|
|
+ .info1 {
|
|
|
+ padding-left: 0.5vw;
|
|
|
+ height: 2vh;
|
|
|
+ font-size: 2vh;
|
|
|
+ line-height: 2vh;
|
|
|
+ font-weight: 600;
|
|
|
+ color: white;
|
|
|
+ }
|
|
|
+ .info2 {
|
|
|
+ height: 2vh;
|
|
|
+ padding-left: 0.5vw;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ color: white;
|
|
|
+ padding-right: 1vw;
|
|
|
+ .text2 {
|
|
|
+ font-size: 1.7vh;
|
|
|
+ .nums {
|
|
|
+ color: #0ae0ff;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .info3 {
|
|
|
+ height: 2vh;
|
|
|
+ font-size: 2vh;
|
|
|
+ background-color: rgba(255, 255, 255, 0.1);
|
|
|
+ display: flex;
|
|
|
+ padding-left: 0.5vw;
|
|
|
+ padding-right: 1vw;
|
|
|
+ justify-content: space-between;
|
|
|
+ .ip {
|
|
|
+ font-size: 1.6vh;
|
|
|
+ line-height: 2vh;
|
|
|
+ color: white;
|
|
|
+ }
|
|
|
+ .infoState {
|
|
|
+ font-size: 1.6vh;
|
|
|
+ line-height: 2vh;
|
|
|
+ color: #06ffa5;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .right {
|
|
|
+ width: 18vw;
|
|
|
+ height: 90vh;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|