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-03-10 21:28:27 +08:00
import SmartPartContent from '@/views/smart-park/components/smart-park-content/index.vue';
import SmartPartFooter from '@/views/smart-park/components/smart-park-footer/index.vue';
2025-03-05 13:00:34 +08:00
</script>
<template>
<div class="smart-park">
<div class="smart-park__arrow left-[38px]">
<img alt="左箭头" src="@/assets/images/smart-park/arrow/arrow-left.png" />
</div>
2025-03-05 13:00:34 +08:00
<smart-part-content />
2025-03-05 13:00:34 +08:00
<smart-part-footer />
2025-03-05 13:00:34 +08:00
<div class="smart-park__arrow right-[38px]">
<img alt="左箭头" src="@/assets/images/smart-park/arrow/arrow-right.png" />
</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;
background: url('@/assets/images/smart-park/bg/bg-side.png') no-repeat center;
background-size: cover;
transition: transform 0.8s;
transform-style: preserve-3d;
.smart-park__sidebar-title {
width: 218px;
height: 59px;
background: url('@/assets/images/smart-park/bg/bg-road-condition.png') no-repeat center;
background-size: cover;
h1 {
color: #fff;
font-size: 18px;
}
}
}
}
2025-03-05 13:00:34 +08:00
</style>