vehicle-monitor/src/views/smart-park/smart-park-main/smart-park-sidebar-left.vue

86 lines
2.7 KiB
Vue
Raw Normal View History

2025-02-26 16:31:59 +08:00
<script lang="ts" setup></script>
<template>
2025-03-05 13:00:34 +08:00
<div class="smart-park__sidebar smart-park__sidebar--left">
2025-02-26 16:31:59 +08:00
<div class="pt-[55px] pl-[25px]" style="transform: rotateY(180deg)">
<!-- 路况 -->
2025-03-05 13:00:34 +08:00
<div class="smart-park__sidebar-title">
<h1>实时道路情况</h1>
2025-02-26 16:31:59 +08:00
</div>
<!-- 汽车列表 -->
2025-02-26 22:04:47 +08:00
<ul class="mt-[32px]">
2025-03-05 13:00:34 +08:00
<li class="smart-park__sidebar--left-item flex-x-around">
<img alt="car-1" src="@/assets/images/smart-park/car/car-1.png" />
<p>入卡口西北门</p>
2025-02-26 18:27:17 +08:00
<span class="dashed-circle c-primary-secondary border-b-primary-secondary">畅通</span>
2025-02-26 16:31:59 +08:00
</li>
2025-03-05 13:00:34 +08:00
<li class="smart-park__sidebar--left-item flex-x-around">
<img alt="car-1" src="@/assets/images/smart-park/car/car-1.png" />
<p>入卡口东北门</p>
2025-02-26 18:27:17 +08:00
<span class="dashed-circle c-primary-secondary border-b-primary-secondary">畅通</span>
2025-02-26 16:31:59 +08:00
</li>
2025-03-05 13:00:34 +08:00
<li class="smart-park__sidebar--left-item flex-x-around">
<img alt="car-1" src="@/assets/images/smart-park/car/car-2.png" />
<p>入卡口东北门</p>
2025-02-26 18:27:17 +08:00
<span class="dashed-circle c-warning border-b-warning">拥堵</span>
2025-02-26 16:31:59 +08:00
</li>
2025-03-05 13:00:34 +08:00
<li class="smart-park__sidebar--left-item flex-x-around">
<img alt="car-1" src="@/assets/images/smart-park/car/car-1.png" />
<p>入卡口东南门</p>
2025-02-26 18:27:17 +08:00
<span class="dashed-circle c-primary-secondary border-b-primary-secondary">畅通</span>
2025-02-26 16:31:59 +08:00
</li>
</ul>
<!-- 建议 -->
2025-03-05 13:00:34 +08:00
<div class="smart-park__sidebar--left-suggest">
2025-02-26 16:31:59 +08:00
<h5>车流量建议</h5>
<p>
高峰时段大量车流量容易造成拥堵主要由XXX企业XXX企业的车辆构成
2025-03-05 13:00:34 +08:00
<span>可建议XXX企业向后延迟15min错峰入园</span>
2025-02-26 16:31:59 +08:00
高峰时段大量车流量容易造成拥堵 主要由XXX企业XXX企业的车辆构成
</p>
</div>
</div>
</div>
</template>
<style lang="scss" scoped>
2025-03-05 13:00:34 +08:00
.smart-park__sidebar--left {
2025-02-27 13:41:42 +08:00
margin: 0 20px 0 0;
2025-02-26 16:31:59 +08:00
transform: rotateY(180deg);
2025-03-05 13:00:34 +08:00
&-item {
2025-02-26 22:04:47 +08:00
width: 330px;
height: 61px;
margin: 0 0 9px 0;
2025-03-05 13:00:34 +08:00
background: url('@/assets/images/smart-park/bg/bg-frame.png') no-repeat center;
2025-02-26 22:04:47 +08:00
background-size: cover;
2025-02-27 13:41:42 +08:00
img {
width: 60px;
}
p {
2025-03-05 13:00:34 +08:00
color: #fff;
2025-02-27 13:41:42 +08:00
font-size: 14px;
}
2025-02-26 16:31:59 +08:00
}
2025-03-05 13:00:34 +08:00
&-suggest {
2025-02-26 16:31:59 +08:00
margin: 24px 0 0 0;
padding: 15px 14px 17px 20px;
width: 330px;
height: 157px;
2025-03-05 13:00:34 +08:00
color: #fff;
2025-02-26 16:31:59 +08:00
font-size: 14px;
2025-03-05 13:00:34 +08:00
background: url('@/assets/images/smart-park/bg/bg-suggest.png') no-repeat center;
2025-02-26 16:31:59 +08:00
background-size: cover;
2025-03-05 13:00:34 +08:00
span {
color: var(--color-warning-secondary);
}
2025-02-26 16:31:59 +08:00
}
}
</style>