|
|
@ -1,22 +1,20 @@ |
|
|
|
<template> |
|
|
|
<div class="TrafficFlow"> |
|
|
|
<div class="TrafficFlow fl-col"> |
|
|
|
<!-- 交通路网状况 --> |
|
|
|
<Traffic class="head" /> |
|
|
|
<section class="content"> |
|
|
|
<Traffic class="row_01" /> |
|
|
|
<section class="row_02"> |
|
|
|
<!-- 在途车流量车型分类 --> |
|
|
|
<!-- 全路段拥堵状况 --> |
|
|
|
<Congestion class="content-l"></Congestion> |
|
|
|
<Congestion class="unit_01"></Congestion> |
|
|
|
<!-- 畅通率 --> |
|
|
|
<!-- <Unblocked class="content-m" /> --> |
|
|
|
<!-- 全路车流量状况 --> |
|
|
|
<Flowstate class="content-r" /> |
|
|
|
<Flowstate class="unit_02" /> |
|
|
|
</section> |
|
|
|
<section class="foot"> |
|
|
|
<!-- 交通路段状态 --> |
|
|
|
<Heightway class="foot-l" /> |
|
|
|
<Classification class="foot-m" /> |
|
|
|
<!-- 路段交通量情况 --> |
|
|
|
<Situation class="foot-r" /> |
|
|
|
<section class="row_03"> |
|
|
|
<Heightway class="unit_01" /> |
|
|
|
<Classification class="unit_02" /> |
|
|
|
<Situation class="unit_03" /> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -48,68 +46,45 @@ export default { |
|
|
|
.TrafficFlow { |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
position: relative; |
|
|
|
z-index: 6; |
|
|
|
color: white; |
|
|
|
padding: 14px; |
|
|
|
|
|
|
|
.head { |
|
|
|
width: 98%; |
|
|
|
margin: auto; |
|
|
|
margin-top: 15px; |
|
|
|
} |
|
|
|
.row_01 { height: 160px;} |
|
|
|
|
|
|
|
.content { |
|
|
|
--keep-ratio: scaleX(1); |
|
|
|
width: 98%; |
|
|
|
margin: auto; |
|
|
|
.row_02 { overflow: hidden; |
|
|
|
// --keep-ratio: scaleX(1); |
|
|
|
display: flex; |
|
|
|
flex: 1; |
|
|
|
pointer-events: none; |
|
|
|
margin-top: 19px; |
|
|
|
margin-top: 14px; |
|
|
|
|
|
|
|
> div { |
|
|
|
pointer-events: auto; |
|
|
|
} |
|
|
|
|
|
|
|
.content-l { |
|
|
|
width: 49.4%; |
|
|
|
margin-right: 20px; |
|
|
|
} |
|
|
|
|
|
|
|
.content-m { |
|
|
|
width: 260px; |
|
|
|
} |
|
|
|
|
|
|
|
.content-r { |
|
|
|
width: 49.4%; |
|
|
|
} |
|
|
|
.unit_01{ flex-basis: 50%; margin-right: 14px;} |
|
|
|
.unit_02{ flex-basis: 50%;} |
|
|
|
} |
|
|
|
|
|
|
|
.foot { |
|
|
|
--keep-ratio: scaleX(1); |
|
|
|
width: 98%; |
|
|
|
margin: auto; |
|
|
|
.row_03 { |
|
|
|
display: flex; |
|
|
|
flex: 1; |
|
|
|
pointer-events: none; |
|
|
|
margin-top: 19px; |
|
|
|
margin-top: 14px; |
|
|
|
|
|
|
|
> div { |
|
|
|
pointer-events: auto; |
|
|
|
} |
|
|
|
|
|
|
|
.foot-l { |
|
|
|
.unit_01 { |
|
|
|
width: 756px; |
|
|
|
margin-right: 20px; |
|
|
|
margin-right: 14px; |
|
|
|
} |
|
|
|
|
|
|
|
.foot-m { |
|
|
|
.unit_02 { |
|
|
|
width: 580px; |
|
|
|
margin-right: 20px; |
|
|
|
margin-right: 14px; |
|
|
|
} |
|
|
|
|
|
|
|
.foot-r { |
|
|
|
width: 500px; |
|
|
|
.unit_03 { |
|
|
|
flex:1; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|