vehicle-monitor/src/layout/index.vue

36 lines
878 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-25 23:14:50 +08:00
<div class="layout w-full h-full">
2025-02-26 16:31:59 +08:00
<div class="arrow left-[38px]">
2025-02-26 22:04:47 +08:00
<img alt="左箭头" class="w-[65px]" src="@/assets/images/layout/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-26 22:04:47 +08:00
<img alt="左箭头" class="w-[65px]" src="@/assets/images/layout/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-25 23:14:50 +08:00
</style>