This commit is contained in:
DESKTOP-FUDKNA8\znjsz 2024-04-16 17:00:51 +08:00
parent c7ef61b59b
commit c02c26f359
3 changed files with 25 additions and 7 deletions

View File

@ -62,8 +62,8 @@ export default {
} }
.copilot-footer { .copilot-footer {
position: absolute; /** position: absolute;
bottom: 10px; bottom: 10px; **/
height: 10px; height: 10px;
width: 100%; width: 100%;
color: rgb(80, 80, 80); color: rgb(80, 80, 80);

View File

@ -6,13 +6,19 @@
--> -->
<template> <template>
<div class="efficiency-copilot">效率驾驶舱</div> <div class="efficiency-copilot">
<db-container title="芯片良率" icon="chip2"></db-container>
<db-container title="标准组件良率" icon="std"></db-container>
<db-container title="芯片OEE" icon="chip"></db-container>
<db-container title="转化效率" icon="cube"></db-container>
</div>
</template> </template>
<script> <script>
import Container from "../../dashboard/components/Container.vue";
export default { export default {
name: "EfficiencyCopilot", name: "EfficiencyCopilot",
props: {}, components: { DbContainer: Container },
data() { data() {
return {}; return {};
}, },
@ -21,4 +27,16 @@ export default {
}; };
</script> </script>
<style scoped></style> <style scoped>
.efficiency-copilot {
flex: 1;
display: grid;
gap: 16px;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
}
.efficiency-copilot > div {
height: 100%;
}
</style>

View File

@ -55,7 +55,7 @@ export default {
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; gap: 16px;
} }
.flex { .flex {
@ -66,6 +66,6 @@ export default {
.top > div, .top > div,
.bottom > div { .bottom > div {
height: 40vh; height: 100%;
} }
</style> </style>