|
@ -2,7 +2,7 @@ |
|
|
<div class='congestion'> |
|
|
<div class='congestion'> |
|
|
<WgtTitle :title="'气象监测数据'"></WgtTitle> |
|
|
<WgtTitle :title="'气象监测数据'"></WgtTitle> |
|
|
<div class="board"> |
|
|
<div class="board"> |
|
|
<div class="showRoad" > |
|
|
<div class="showRoad"> |
|
|
<div :class="it.type?it.type+' item':'item'" v-for="(it,index) in dataList" > |
|
|
<div :class="it.type?it.type+' item':'item'" v-for="(it,index) in dataList" > |
|
|
<span class="label" >{{ it.text }}</span> |
|
|
<span class="label" >{{ it.text }}</span> |
|
|
<span class="text" >{{ it.value }}</span> |
|
|
<span class="text" >{{ it.value }}</span> |
|
@ -100,9 +100,9 @@ |
|
|
|
|
|
|
|
|
<style lang='scss' scoped> |
|
|
<style lang='scss' scoped> |
|
|
.congestion { |
|
|
.congestion { |
|
|
width: 100%; |
|
|
width: 100%; display: flex; |
|
|
.board{ |
|
|
.board{ |
|
|
height:260px; |
|
|
flex: 1; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
padding: 0px 20px; |
|
|
padding: 0px 20px; |
|
|
background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%); |
|
|
background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%); |
|
@ -112,15 +112,12 @@ |
|
|
border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1; |
|
|
border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1; |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
align-items: flex-start; |
|
|
align-items: center; |
|
|
flex-direction: row; |
|
|
flex-direction: row; |
|
|
overflow: auto; |
|
|
overflow: auto; |
|
|
|
|
|
|
|
|
.showRoad { |
|
|
.showRoad { |
|
|
display: inline-flex; |
|
|
display: flex; |
|
|
width:100%; |
|
|
|
|
|
height:35px; |
|
|
|
|
|
flex-direction: row; |
|
|
|
|
|
flex-wrap: wrap; |
|
|
flex-wrap: wrap; |
|
|
|
|
|
|
|
|
> .item { |
|
|
> .item { |
|
|