vehicle-monitor/src/layout/index.vue

40 lines
846 B
Vue
Raw Normal View History

2025-02-25 23:14:50 +08:00
<script lang="ts" setup>
2025-02-26 16:31:59 +08:00
import AppMain from '@/layout/components/AppMain/index.vue';
import Footer from '@/layout/components/Footer/index.vue';
import NavBar from '@/layout/components/NavBar/index.vue';
2025-02-25 23:14:50 +08:00
</script>
2025-02-25 18:29:26 +08:00
<template>
2025-02-27 13:41:42 +08:00
<div class="layout">
2025-02-26 16:31:59 +08:00
<div class="arrow left-[38px]">
2025-02-27 13:41:42 +08:00
<img alt="左箭头" src="@/assets/images/arrow/arrow-left.png" />
2025-02-26 16:31:59 +08:00
</div>
2025-02-25 23:14:50 +08:00
<NavBar />
<AppMain />
<Footer />
2025-02-26 16:31:59 +08:00
<div class="arrow right-[38px]">
2025-02-27 13:41:42 +08:00
<img alt="左箭头" src="@/assets/images/arrow/arrow-right.png" />
2025-02-26 16:31:59 +08:00
</div>
2025-02-25 23:14:50 +08:00
</div>
2025-02-25 18:29:26 +08:00
</template>
2025-02-25 23:14:50 +08:00
<style scoped>
.layout {
2025-02-26 16:31:59 +08:00
position: relative;
2025-02-25 23:14:50 +08:00
width: 100%;
height: 100%;
2025-02-26 16:31:59 +08:00
background: url('@/assets/images/bg/bg.png') no-repeat center;
2025-02-25 23:14:50 +08:00
background-size: cover;
}
2025-02-26 16:31:59 +08:00
.arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
2025-02-27 13:41:42 +08:00
img {
width: 65px;
}
2025-02-26 16:31:59 +08:00
}
2025-02-25 23:14:50 +08:00
</style>