13 changed files with 761 additions and 659 deletions
@ -1,76 +1,74 @@ |
|||
<template> |
|||
<div class='congestion'> |
|||
<div class="congestion"> |
|||
<WgtTitle :title="'近一年交通组成特征指数最大值'"></WgtTitle> |
|||
<div class="board"> |
|||
<div class="charts keep-ratio " id="composeFeatures"></div> |
|||
<div class="charts keep-ratio" id="composeFeatures"></div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
</template> |
|||
|
|||
<script> |
|||
|
|||
import WgtTitle from '../../../../../widgets/title' |
|||
import * as echarts from "echarts"; |
|||
import chartsStatistics from "./assets/charts"; |
|||
export default { |
|||
name: 'ComposeFeatures', |
|||
<script> |
|||
import WgtTitle from "../../../../../widgets/title"; |
|||
import * as echarts from "echarts"; |
|||
import chartsStatistics from "./assets/charts"; |
|||
export default { |
|||
name: "ComposeFeatures", |
|||
components: { |
|||
WgtTitle |
|||
WgtTitle, |
|||
}, |
|||
data() { |
|||
return { |
|||
myChart:null, |
|||
} |
|||
myChart: null, |
|||
}; |
|||
}, |
|||
|
|||
created() { |
|||
|
|||
}, |
|||
created() {}, |
|||
methods: { |
|||
reiszeChart(){ |
|||
reiszeChart() { |
|||
this.$nextTick(() => { |
|||
if ( this.myChart ) { |
|||
if (this.myChart) { |
|||
this.myChart.resize(); |
|||
} |
|||
}); |
|||
} |
|||
}, |
|||
update(){ |
|||
|
|||
}, |
|||
update() {}, |
|||
mounted() { |
|||
setTimeout(() => { |
|||
this.$nextTick(() => { |
|||
this.myChart = echarts.init(document.getElementById('composeFeatures')); |
|||
this.myChart = echarts.init(document.getElementById("composeFeatures")); |
|||
this.myChart.setOption(chartsStatistics); |
|||
}); |
|||
}); |
|||
}, |
|||
} |
|||
</script> |
|||
}; |
|||
</script> |
|||
|
|||
<style lang='scss' scoped> |
|||
.congestion { |
|||
<style lang="scss" scoped> |
|||
.congestion { |
|||
width: 100%; |
|||
.board{ |
|||
height:150px; |
|||
.board { |
|||
// height: 150px; |
|||
flex: 1; |
|||
width: 100%; |
|||
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%); |
|||
border-radius: 5px 5px 5px 5px; |
|||
opacity: 1; |
|||
border: 1px solid; |
|||
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; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
|
|||
} |
|||
} |
|||
.charts { |
|||
height:120px; |
|||
} |
|||
.charts { |
|||
height: 120px; |
|||
width: 100%; |
|||
} |
|||
|
|||
</style> |
|||
|
|||
} |
|||
</style> |
|||
|
@ -1,76 +1,74 @@ |
|||
<template> |
|||
<div class='congestion'> |
|||
<div class="congestion"> |
|||
<WgtTitle :title="'近一年拥挤度最大值'"></WgtTitle> |
|||
<div class="board"> |
|||
<div class="charts keep-ratio " id="Crowding"></div> |
|||
<div class="charts keep-ratio" id="Crowding"></div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
</template> |
|||
|
|||
<script> |
|||
|
|||
import WgtTitle from '../../../../../widgets/title' |
|||
import * as echarts from "echarts"; |
|||
import chartsStatistics from "./assets/charts"; |
|||
export default { |
|||
name: 'Crowding', |
|||
<script> |
|||
import WgtTitle from "../../../../../widgets/title"; |
|||
import * as echarts from "echarts"; |
|||
import chartsStatistics from "./assets/charts"; |
|||
export default { |
|||
name: "Crowding", |
|||
components: { |
|||
WgtTitle |
|||
WgtTitle, |
|||
}, |
|||
data() { |
|||
return { |
|||
myChart:null, |
|||
} |
|||
myChart: null, |
|||
}; |
|||
}, |
|||
|
|||
created() { |
|||
|
|||
}, |
|||
created() {}, |
|||
methods: { |
|||
reiszeChart(){ |
|||
reiszeChart() { |
|||
this.$nextTick(() => { |
|||
if ( this.myChart ) { |
|||
if (this.myChart) { |
|||
this.myChart.resize(); |
|||
} |
|||
}); |
|||
} |
|||
}, |
|||
update(){ |
|||
|
|||
}, |
|||
update() {}, |
|||
mounted() { |
|||
setTimeout(() => { |
|||
this.$nextTick(() => { |
|||
this.myChart = echarts.init(document.getElementById('Crowding')); |
|||
this.myChart = echarts.init(document.getElementById("Crowding")); |
|||
this.myChart.setOption(chartsStatistics); |
|||
}); |
|||
}); |
|||
}, |
|||
} |
|||
</script> |
|||
}; |
|||
</script> |
|||
|
|||
<style lang='scss' scoped> |
|||
.congestion { |
|||
<style lang="scss" scoped> |
|||
.congestion { |
|||
width: 100%; |
|||
.board{ |
|||
height:150px; |
|||
.board { |
|||
// height: 150px; |
|||
flex: 1; |
|||
width: 100%; |
|||
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%); |
|||
border-radius: 5px 5px 5px 5px; |
|||
opacity: 1; |
|||
border: 1px solid; |
|||
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; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
|
|||
} |
|||
} |
|||
.charts { |
|||
height:120px; |
|||
} |
|||
.charts { |
|||
height: 120px; |
|||
width: 100%; |
|||
} |
|||
|
|||
</style> |
|||
|
|||
} |
|||
</style> |
|||
|
@ -1,76 +1,76 @@ |
|||
<template> |
|||
<div class='congestion'> |
|||
<div class="congestion"> |
|||
<WgtTitle :title="'近一年饱和度最大值'"></WgtTitle> |
|||
<div class="board"> |
|||
<div class="charts keep-ratio " id="temperatureTrend"></div> |
|||
<div class="charts keep-ratio" id="temperatureTrend"></div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
</template> |
|||
|
|||
<script> |
|||
|
|||
import WgtTitle from '../../../../../widgets/title' |
|||
import * as echarts from "echarts"; |
|||
import chartsStatistics from "./assets/charts"; |
|||
export default { |
|||
name: 'SaturationMax', |
|||
<script> |
|||
import WgtTitle from "../../../../../widgets/title"; |
|||
import * as echarts from "echarts"; |
|||
import chartsStatistics from "./assets/charts"; |
|||
export default { |
|||
name: "SaturationMax", |
|||
components: { |
|||
WgtTitle |
|||
WgtTitle, |
|||
}, |
|||
data() { |
|||
return { |
|||
myChart:null, |
|||
} |
|||
myChart: null, |
|||
}; |
|||
}, |
|||
|
|||
created() { |
|||
|
|||
}, |
|||
created() {}, |
|||
methods: { |
|||
reiszeChart(){ |
|||
reiszeChart() { |
|||
this.$nextTick(() => { |
|||
if ( this.myChart ) { |
|||
if (this.myChart) { |
|||
this.myChart.resize(); |
|||
} |
|||
}); |
|||
} |
|||
}, |
|||
update(){ |
|||
|
|||
}, |
|||
update() {}, |
|||
mounted() { |
|||
setTimeout(() => { |
|||
this.$nextTick(() => { |
|||
this.myChart = echarts.init(document.getElementById('temperatureTrend')); |
|||
this.myChart = echarts.init( |
|||
document.getElementById("temperatureTrend") |
|||
); |
|||
this.myChart.setOption(chartsStatistics); |
|||
}); |
|||
}); |
|||
}, |
|||
} |
|||
</script> |
|||
}; |
|||
</script> |
|||
|
|||
<style lang='scss' scoped> |
|||
.congestion { |
|||
<style lang="scss" scoped> |
|||
.congestion { |
|||
width: 100%; |
|||
.board{ |
|||
height:150px; |
|||
.board { |
|||
// height: 150px; |
|||
flex: 1; |
|||
width: 100%; |
|||
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%); |
|||
border-radius: 5px 5px 5px 5px; |
|||
opacity: 1; |
|||
border: 1px solid; |
|||
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; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
|
|||
} |
|||
} |
|||
.charts { |
|||
height:120px; |
|||
} |
|||
.charts { |
|||
height: 120px; |
|||
width: 100%; |
|||
} |
|||
|
|||
</style> |
|||
|
|||
} |
|||
</style> |
|||
|
Loading…
Reference in new issue