vehicle-monitor/src/views/smart-park/index.vue

60 lines
1.3 KiB
Vue
Raw Normal View History

2025-03-05 13:00:34 +08:00
<script lang="ts" setup>
2025-05-12 17:12:01 +08:00
import SmartParkContent from '@/views/smart-park/components/smart-park-content.vue';
import SmartParkFooter from '@/views/smart-park/components/smart-park-footer.vue';
2025-03-05 13:00:34 +08:00
</script>
<template>
<div class="smart-park">
<div class="smart-park__arrow left-[38px]">
2025-05-11 23:02:12 +08:00
<img alt="左箭头" src="@/views/smart-park/images/arrow/arrow-left.png" />
2025-03-05 13:00:34 +08:00
</div>
2025-05-12 17:12:01 +08:00
<smart-park-content />
2025-05-12 17:12:01 +08:00
<smart-park-footer />
2025-03-05 13:00:34 +08:00
<div class="smart-park__arrow right-[38px]">
2025-05-11 23:02:12 +08:00
<img alt="左箭头" src="@/views/smart-park/images/arrow/arrow-right.png" />
2025-03-05 13:00:34 +08:00
</div>
</div>
</template>
2025-03-11 23:21:59 +08:00
<style lang="scss">
2025-03-13 18:39:39 +08:00
.smart-park {
width: 100%;
height: 100%;
&__arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
img {
width: 65px;
}
}
&__sidebar {
width: 380px;
height: 650px;
2025-05-11 23:02:12 +08:00
background: url('@/views/smart-park/images/bg/bg-side.png') no-repeat center;
2025-03-13 18:39:39 +08:00
background-size: cover;
transition: transform 0.8s;
transform-style: preserve-3d;
.smart-park__sidebar-title {
width: 218px;
height: 59px;
2025-05-11 23:02:12 +08:00
background: url('@/views/smart-park/images/bg/bg-road-condition.png') no-repeat center;
2025-03-13 18:39:39 +08:00
background-size: cover;
h1 {
color: #fff;
font-size: 18px;
}
}
}
}
2025-03-05 13:00:34 +08:00
</style>