bonus-ui/src/views/screen/cityScreen/index.vue

112 lines
3.0 KiB
Vue
Raw Normal View History

2025-09-14 15:07:01 +08:00
<template>
2025-09-14 19:34:02 +08:00
<div class="page">
<div class="main-view">
<div class="left_view">
<TopIcons style="width: 96%;height: 13%;margin: 0 auto;"></TopIcons>
<div style="width: 98%;height: 42%;margin: 0 auto;display: flex;align-items: center;">
<EquiQuantity style="width: 50%;height: 100%;"></EquiQuantity>
<EquiStatus style="width: 50%;height: 100%;"></EquiStatus>
2025-09-14 15:07:01 +08:00
</div>
2025-09-14 19:34:02 +08:00
<div style="width: 98%;height: 42%;margin: 0 auto;display: flex;align-items: center;">
<Maintenance style="width: 50%;height: 100%;"></Maintenance>
<Retire style="width: 50%;height: 100%;"></Retire>
2025-09-14 15:07:01 +08:00
</div>
</div>
2025-09-14 19:34:02 +08:00
<div class="center_view"></div>
<div class="right_view">
<TopIconsTwo style="width: 96%;height: 13%;margin: 0 auto;"></TopIconsTwo>
<div style="width: 98%;height: 42%;margin: 0 auto;display: flex;align-items: center;">
<EquiUse style="width: 50%;height: 100%;"></EquiUse>
<EquiTurnover style="width: 50%;height: 100%;"></EquiTurnover>
</div>
<div style="width: 98%;height: 42%;margin: 0 auto;display: flex;align-items: center;">
<EngineerUsing style="width: 100%;height: 100%;"></EngineerUsing>
</div>
2025-09-14 15:07:01 +08:00
</div>
</div>
</div>
</template>
<script>
2025-09-14 19:34:02 +08:00
import TopIcons from './components/topIcons/index'
import TopIconsTwo from './components/topIconsTwo/index'
import EquiQuantity from './components/equiQuantity/index'
import EquiStatus from './components/equiStatus/index'
import Maintenance from './components/maintenance/index'
import Retire from './components/retire/index'
import EquiTurnover from './components/equiTurnover/index'
import EquiUse from './components/equiUse/index'
import EngineerUsing from './components/engineerUsing/index'
2025-09-14 15:07:01 +08:00
export default {
2025-09-14 19:34:02 +08:00
name: 'cityScreen',
components: {
TopIcons,
TopIconsTwo,
EquiQuantity,
EquiStatus,
Maintenance,
Retire,
EquiTurnover,
EquiUse,
EngineerUsing
},
2025-09-14 15:07:01 +08:00
data() {
2025-09-14 19:34:02 +08:00
return {
2025-09-14 15:07:01 +08:00
}
},
2025-09-14 19:34:02 +08:00
created() {
2025-09-14 15:07:01 +08:00
},
2025-09-14 19:34:02 +08:00
mounted() {
2025-09-14 15:07:01 +08:00
},
methods: {
},
}
</script>
<style lang="scss" scoped>
2025-09-14 19:34:02 +08:00
.page{
background: #333;
width: 100vw;
height: 100vh;
2025-09-14 15:07:01 +08:00
display: flex;
2025-09-14 19:34:02 +08:00
align-items: center;
2025-09-14 15:07:01 +08:00
}
2025-09-14 19:34:02 +08:00
.main-view{
width: 100vw;
height: 100vh;
background-image: url("../../../assets/cityScreen/mainBg.png");
background-size: 100% 100%;
2025-09-14 15:07:01 +08:00
display: flex;
}
2025-09-14 19:34:02 +08:00
@media screen and (min-width: 1920px) {
.main-view {
height: 50vh;
}
}
@media screen and (min-width: 3300px) {
.main-view {
height: 100vh;
}
}
.left_view{
width: 32%;
height: 100%;
padding: 2%;
}
.center_view{
width: 36%;
height: 100%;
}
.right_view{
width: 32%;
height: 100%;
padding: 2%;
// border: 1px solid red;
}
2025-09-14 15:07:01 +08:00
</style>