13 changed files with 761 additions and 659 deletions
@ -1,76 +1,74 @@ |
|||||
<template> |
<template> |
||||
<div class='congestion'> |
<div class="congestion"> |
||||
<WgtTitle :title="'近一年交通组成特征指数最大值'"></WgtTitle> |
<WgtTitle :title="'近一年交通组成特征指数最大值'"></WgtTitle> |
||||
<div class="board"> |
<div class="board"> |
||||
<div class="charts keep-ratio " id="composeFeatures"></div> |
<div class="charts keep-ratio" id="composeFeatures"></div> |
||||
</div> |
|
||||
</div> |
</div> |
||||
</template> |
</div> |
||||
|
</template> |
||||
<script> |
|
||||
|
<script> |
||||
import WgtTitle from '../../../../../widgets/title' |
import WgtTitle from "../../../../../widgets/title"; |
||||
import * as echarts from "echarts"; |
import * as echarts from "echarts"; |
||||
import chartsStatistics from "./assets/charts"; |
import chartsStatistics from "./assets/charts"; |
||||
export default { |
export default { |
||||
name: 'ComposeFeatures', |
name: "ComposeFeatures", |
||||
components: { |
components: { |
||||
WgtTitle |
WgtTitle, |
||||
}, |
}, |
||||
data() { |
data() { |
||||
return { |
return { |
||||
myChart:null, |
myChart: null, |
||||
} |
}; |
||||
}, |
}, |
||||
|
|
||||
created() { |
created() {}, |
||||
|
methods: { |
||||
}, |
reiszeChart() { |
||||
methods: { |
this.$nextTick(() => { |
||||
reiszeChart(){ |
if (this.myChart) { |
||||
this.$nextTick(() => { |
this.myChart.resize(); |
||||
if ( this.myChart ) { |
} |
||||
this.myChart.resize(); |
|
||||
} |
|
||||
}); |
|
||||
} |
|
||||
}, |
|
||||
update(){ |
|
||||
|
|
||||
}, |
|
||||
mounted() { |
|
||||
setTimeout(() => { |
|
||||
this.$nextTick(() => { |
|
||||
this.myChart = echarts.init(document.getElementById('composeFeatures')); |
|
||||
this.myChart.setOption(chartsStatistics); |
|
||||
}); |
|
||||
}); |
}); |
||||
}, |
}, |
||||
} |
}, |
||||
</script> |
update() {}, |
||||
|
mounted() { |
||||
<style lang='scss' scoped> |
setTimeout(() => { |
||||
.congestion { |
this.$nextTick(() => { |
||||
|
this.myChart = echarts.init(document.getElementById("composeFeatures")); |
||||
|
this.myChart.setOption(chartsStatistics); |
||||
|
}); |
||||
|
}); |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.congestion { |
||||
|
width: 100%; |
||||
|
.board { |
||||
|
// height: 150px; |
||||
|
flex: 1; |
||||
width: 100%; |
width: 100%; |
||||
.board{ |
padding: 0px 20px; |
||||
height:150px; |
background: linear-gradient(180deg, rgba(6, 66, 88, 0.2) 0%, #064258 100%); |
||||
width: 100%; |
border-radius: 5px 5px 5px 5px; |
||||
padding: 0px 20px; |
opacity: 1; |
||||
background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%); |
border: 1px solid; |
||||
border-radius: 5px 5px 5px 5px; |
border-image: linear-gradient( |
||||
opacity: 1; |
360deg, |
||||
border: 1px solid; |
rgba(55, 231, 255, 0.3), |
||||
border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1; |
rgba(55, 231, 255, 0) |
||||
display: flex; |
) |
||||
justify-content: space-between; |
1 1; |
||||
align-items: center; |
display: flex; |
||||
|
justify-content: space-between; |
||||
} |
align-items: center; |
||||
} |
} |
||||
.charts { |
} |
||||
height:120px; |
.charts { |
||||
width: 100%; |
height: 120px; |
||||
} |
width: 100%; |
||||
|
} |
||||
</style> |
</style> |
||||
|
|
||||
|
@ -1,76 +1,74 @@ |
|||||
<template> |
<template> |
||||
<div class='congestion'> |
<div class="congestion"> |
||||
<WgtTitle :title="'近一年拥挤度最大值'"></WgtTitle> |
<WgtTitle :title="'近一年拥挤度最大值'"></WgtTitle> |
||||
<div class="board"> |
<div class="board"> |
||||
<div class="charts keep-ratio " id="Crowding"></div> |
<div class="charts keep-ratio" id="Crowding"></div> |
||||
</div> |
|
||||
</div> |
</div> |
||||
</template> |
</div> |
||||
|
</template> |
||||
<script> |
|
||||
|
<script> |
||||
import WgtTitle from '../../../../../widgets/title' |
import WgtTitle from "../../../../../widgets/title"; |
||||
import * as echarts from "echarts"; |
import * as echarts from "echarts"; |
||||
import chartsStatistics from "./assets/charts"; |
import chartsStatistics from "./assets/charts"; |
||||
export default { |
export default { |
||||
name: 'Crowding', |
name: "Crowding", |
||||
components: { |
components: { |
||||
WgtTitle |
WgtTitle, |
||||
}, |
}, |
||||
data() { |
data() { |
||||
return { |
return { |
||||
myChart:null, |
myChart: null, |
||||
} |
}; |
||||
}, |
}, |
||||
|
|
||||
created() { |
created() {}, |
||||
|
methods: { |
||||
}, |
reiszeChart() { |
||||
methods: { |
this.$nextTick(() => { |
||||
reiszeChart(){ |
if (this.myChart) { |
||||
this.$nextTick(() => { |
this.myChart.resize(); |
||||
if ( this.myChart ) { |
} |
||||
this.myChart.resize(); |
|
||||
} |
|
||||
}); |
|
||||
} |
|
||||
}, |
|
||||
update(){ |
|
||||
|
|
||||
}, |
|
||||
mounted() { |
|
||||
setTimeout(() => { |
|
||||
this.$nextTick(() => { |
|
||||
this.myChart = echarts.init(document.getElementById('Crowding')); |
|
||||
this.myChart.setOption(chartsStatistics); |
|
||||
}); |
|
||||
}); |
}); |
||||
}, |
}, |
||||
} |
}, |
||||
</script> |
update() {}, |
||||
|
mounted() { |
||||
<style lang='scss' scoped> |
setTimeout(() => { |
||||
.congestion { |
this.$nextTick(() => { |
||||
|
this.myChart = echarts.init(document.getElementById("Crowding")); |
||||
|
this.myChart.setOption(chartsStatistics); |
||||
|
}); |
||||
|
}); |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.congestion { |
||||
|
width: 100%; |
||||
|
.board { |
||||
|
// height: 150px; |
||||
|
flex: 1; |
||||
width: 100%; |
width: 100%; |
||||
.board{ |
padding: 0px 20px; |
||||
height:150px; |
background: linear-gradient(180deg, rgba(6, 66, 88, 0.2) 0%, #064258 100%); |
||||
width: 100%; |
border-radius: 5px 5px 5px 5px; |
||||
padding: 0px 20px; |
opacity: 1; |
||||
background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%); |
border: 1px solid; |
||||
border-radius: 5px 5px 5px 5px; |
border-image: linear-gradient( |
||||
opacity: 1; |
360deg, |
||||
border: 1px solid; |
rgba(55, 231, 255, 0.3), |
||||
border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1; |
rgba(55, 231, 255, 0) |
||||
display: flex; |
) |
||||
justify-content: space-between; |
1 1; |
||||
align-items: center; |
display: flex; |
||||
|
justify-content: space-between; |
||||
} |
align-items: center; |
||||
} |
} |
||||
.charts { |
} |
||||
height:120px; |
.charts { |
||||
width: 100%; |
height: 120px; |
||||
} |
width: 100%; |
||||
|
} |
||||
</style> |
</style> |
||||
|
|
||||
|
@ -1,374 +1,411 @@ |
|||||
<template> |
<template> |
||||
<div class='congestion'> |
<div class="congestion"> |
||||
<WgtTitle :title="'道路指标情况'"></WgtTitle> |
<WgtTitle :title="'道路指标情况'"></WgtTitle> |
||||
<div class="board"> |
<div class="board"> |
||||
<div id="roadChart1" class="keep-ratio" > |
<div id="roadChart1" class="keep-ratio"></div> |
||||
|
<div id="roadChart2" class="keep-ratio"></div> |
||||
</div> |
<div id="roadChart3" class="keep-ratio"></div> |
||||
<div id="roadChart2" class="keep-ratio" > |
|
||||
|
|
||||
</div> |
|
||||
<div id="roadChart3" class="keep-ratio" > |
|
||||
|
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
</div> |
||||
</template> |
</div> |
||||
|
</template> |
||||
<script> |
|
||||
import WgtTitle from '../../../../../widgets/title' |
<script> |
||||
import chartsStatistics from './assets/chart1'; |
import WgtTitle from "../../../../../widgets/title"; |
||||
import chartsStatistics2 from './assets/chart2'; |
import chartsStatistics from "./assets/chart1"; |
||||
import chartsStatistics3 from './assets/chart3'; |
import chartsStatistics2 from "./assets/chart2"; |
||||
import * as echarts from "echarts"; |
import chartsStatistics3 from "./assets/chart3"; |
||||
|
import * as echarts from "echarts"; |
||||
export default { |
|
||||
name: 'RoadIndicators', |
export default { |
||||
components: { |
name: "RoadIndicators", |
||||
WgtTitle |
components: { |
||||
}, |
WgtTitle, |
||||
data() { |
}, |
||||
return { |
data() { |
||||
tableData: [{ |
return { |
||||
date: '2023-12-31 13:00:00', |
tableData: [ |
||||
name: '2640.78m', |
{ |
||||
address: 'K100+000-K110+000' |
date: "2023-12-31 13:00:00", |
||||
},{ |
name: "2640.78m", |
||||
date: '2023-12-31 13:00:00', |
address: "K100+000-K110+000", |
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
},{ |
|
||||
date: '2023-12-31 13:00:00', |
|
||||
name: '2640.78m', |
|
||||
address: 'K100+000-K110+000' |
|
||||
}, |
}, |
||||
] |
{ |
||||
} |
date: "2023-12-31 13:00:00", |
||||
}, |
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
created() { |
}, |
||||
|
{ |
||||
}, |
date: "2023-12-31 13:00:00", |
||||
methods: { |
name: "2640.78m", |
||||
selectItem(index){ |
address: "K100+000-K110+000", |
||||
this.selectIndex = index; |
}, |
||||
}, |
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
{ |
||||
|
date: "2023-12-31 13:00:00", |
||||
|
name: "2640.78m", |
||||
|
address: "K100+000-K110+000", |
||||
|
}, |
||||
|
], |
||||
|
}; |
||||
|
}, |
||||
|
|
||||
|
created() {}, |
||||
|
methods: { |
||||
|
selectItem(index) { |
||||
|
this.selectIndex = index; |
||||
}, |
}, |
||||
mounted() { |
}, |
||||
|
mounted() { |
||||
setTimeout(() => { |
setTimeout(() => { |
||||
this.$nextTick(() => { |
this.$nextTick(() => { |
||||
var myChart = echarts.init(document.getElementById('roadChart1')); |
var myChart = echarts.init(document.getElementById("roadChart1")); |
||||
myChart.setOption(chartsStatistics); |
myChart.setOption(chartsStatistics); |
||||
var myChart2 = echarts.init(document.getElementById('roadChart2')); |
var myChart2 = echarts.init(document.getElementById("roadChart2")); |
||||
myChart2.setOption(chartsStatistics2); |
myChart2.setOption(chartsStatistics2); |
||||
var myChart3 = echarts.init(document.getElementById('roadChart3')); |
var myChart3 = echarts.init(document.getElementById("roadChart3")); |
||||
myChart3.setOption(chartsStatistics3); |
myChart3.setOption(chartsStatistics3); |
||||
}); |
|
||||
}); |
}); |
||||
}, |
}); |
||||
} |
}, |
||||
</script> |
}; |
||||
|
</script> |
||||
<style lang='scss' scoped> |
|
||||
|
<style lang="scss" scoped> |
||||
.showClass { |
.showClass { |
||||
color:#00EBC1; |
color: #00ebc1; |
||||
} |
} |
||||
|
|
||||
::v-deep .el-table .cell { |
::v-deep .el-table .cell { |
||||
padding-left:0px !important; |
padding-left: 0px !important; |
||||
} |
} |
||||
|
|
||||
::v-deep .el-table .el-table__header-wrapper th { |
::v-deep .el-table .el-table__header-wrapper th { |
||||
background-color: #064258 !important; |
background-color: #064258 !important; |
||||
color:#00D1FF; |
color: #00d1ff; |
||||
border-color: #064258 !important; |
border-color: #064258 !important; |
||||
border:0px !important; |
border: 0px !important; |
||||
font-size:12px !important; |
font-size: 12px !important; |
||||
} |
} |
||||
|
|
||||
::v-deep .el-table { |
::v-deep .el-table { |
||||
border:0px !important; |
border: 0px !important; |
||||
background-color: transparent; |
background-color: transparent; |
||||
font-size:12px !important; |
font-size: 12px !important; |
||||
} |
} |
||||
|
|
||||
::v-deep .el-table__body-wrapper { |
::v-deep .el-table__body-wrapper { |
||||
background-color: #064258; |
background-color: #064258; |
||||
color: #fff; |
color: #fff; |
||||
} |
} |
||||
|
|
||||
::v-deep .el-table tr:hover td { |
::v-deep .el-table tr:hover td { |
||||
background: #1b2528 !important; |
background: #1b2528 !important; |
||||
color:#00D1FF; |
color: #00d1ff; |
||||
} |
} |
||||
|
|
||||
::v-deep .el-table tr:nth-child(odd) td{ |
::v-deep .el-table tr:nth-child(odd) td { |
||||
background-color: #13272F ; |
background-color: #13272f; |
||||
border:0px !important; |
border: 0px !important; |
||||
} |
} |
||||
::v-deep .el-table tr:nth-child(even) td{ |
::v-deep .el-table tr:nth-child(even) td { |
||||
border:0px !important; |
border: 0px !important; |
||||
} |
} |
||||
|
|
||||
::v-deep .el-table tr { |
::v-deep .el-table tr { |
||||
background-color: #133242 !important; |
background-color: #133242 !important; |
||||
border-collapse:0; |
border-collapse: 0; |
||||
border:0px !important; |
border: 0px !important; |
||||
background-color: transparent !important; |
background-color: transparent !important; |
||||
} |
} |
||||
|
|
||||
.congestion { |
.congestion { |
||||
display: inline-flex; |
display: inline-flex; |
||||
|
width: 100%; |
||||
|
// height: 188px; |
||||
|
flex-direction: column; |
||||
|
|
||||
|
.board { |
||||
|
// height: 150px; |
||||
|
flex: 1; |
||||
width: 100%; |
width: 100%; |
||||
height: 188px; |
padding: 0px 0px; |
||||
flex-direction: column; |
border-radius: 5px 5px 5px 5px; |
||||
|
opacity: 1; |
||||
|
display: flex; |
||||
|
justify-content: space-between; |
||||
|
align-items: center; |
||||
|
flex-direction: row; |
||||
|
margin-top: 20px; |
||||
|
|
||||
|
background: linear-gradient(180deg, rgba(6, 66, 88, 0) 0%, #064258 93%); |
||||
|
|
||||
|
> div { |
||||
|
display: inline-flex; |
||||
|
width: 33%; |
||||
|
height: 100%; |
||||
|
position: relative; |
||||
|
top: -10px; |
||||
|
} |
||||
|
|
||||
.board{ |
.warningList { |
||||
height: 150px; |
display: inline-flex; |
||||
|
flex-direction: column; |
||||
width: 100%; |
width: 100%; |
||||
padding: 0px 0px; |
height: calc(100% - 40px); |
||||
border-radius: 5px 5px 5px 5px; |
|
||||
opacity: 1; |
|
||||
display: flex; |
|
||||
justify-content: space-between; |
|
||||
align-items: center; |
|
||||
flex-direction: row; |
|
||||
margin-top:20px; |
|
||||
|
|
||||
background: linear-gradient(180deg, rgba(6,66,88,0) 0%, #064258 93%); |
|
||||
|
|
||||
> div { |
> div { |
||||
display: inline-flex; |
display: inline-flex; |
||||
width:33%; |
width: 100%; |
||||
height:100%; |
height: 138px; |
||||
position: relative; |
background: #133242; |
||||
top:-10px; |
border-radius: 2px 2px 2px 2px; |
||||
} |
opacity: 1; |
||||
|
border: 1px solid; |
||||
.warningList { |
border-image: linear-gradient( |
||||
display: inline-flex; |
360deg, |
||||
flex-direction: column; |
rgba(55, 231, 255, 1), |
||||
width:100%; |
rgba(55, 231, 255, 0) |
||||
height:calc(100% - 40px); |
) |
||||
|
1 1; |
||||
>div { |
overflow: hidden; |
||||
|
margin-top: 20px; |
||||
|
padding: 23px 29px; |
||||
|
font-size: 14px; |
||||
|
font-family: PingFang SC, PingFang SC; |
||||
|
font-weight: 400; |
||||
|
color: #37e7ff; |
||||
|
|
||||
|
> .left-w { |
||||
|
display: inline-flex; |
||||
|
width: 40%; |
||||
|
height: 100%; |
||||
|
flex-direction: column; |
||||
|
|
||||
|
.left-row { |
||||
|
margin: 2px; |
||||
display: inline-flex; |
display: inline-flex; |
||||
width:100%; |
width: 100%; |
||||
height:138px; |
height: 30px; |
||||
background: #133242; |
flex-direction: row; |
||||
border-radius: 2px 2px 2px 2px; |
|
||||
opacity: 1; |
|
||||
border: 1px solid; |
|
||||
border-image: linear-gradient(360deg, rgba(55, 231, 255, 1), rgba(55, 231, 255, 0)) 1 1; |
|
||||
overflow: hidden; |
|
||||
margin-top:20px; |
|
||||
padding:23px 29px; |
|
||||
font-size: 14px; |
|
||||
font-family: PingFang SC, PingFang SC; |
|
||||
font-weight: 400; |
|
||||
color: #37E7FF; |
|
||||
|
|
||||
>.left-w { |
|
||||
display: inline-flex; |
|
||||
width:40%; |
|
||||
height:100%; |
|
||||
flex-direction: column; |
|
||||
|
|
||||
.left-row { |
|
||||
margin:2px; |
|
||||
display: inline-flex; |
|
||||
width:100%; |
|
||||
height:30px; |
|
||||
flex-direction: row; |
|
||||
|
|
||||
>.value { |
|
||||
color:#fff; |
|
||||
} |
|
||||
|
|
||||
.org { |
|
||||
font-size: 14px; |
|
||||
font-family: PangMenZhengDao; |
|
||||
font-weight: 400; |
|
||||
color: #F4A125 |
|
||||
} |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
|
|
||||
>.right-w { |
> .value { |
||||
margin-left:30px; |
color: #fff; |
||||
display: inline-flex; |
|
||||
width:100%; |
|
||||
height:100%; |
|
||||
flex-direction: column; |
|
||||
|
|
||||
.right-row { |
|
||||
margin-bottom: 10px; |
|
||||
} |
|
||||
|
|
||||
.right-text { |
|
||||
color:#fff; |
|
||||
} |
|
||||
} |
} |
||||
|
|
||||
|
.org { |
||||
|
font-size: 14px; |
||||
|
font-family: PangMenZhengDao; |
||||
|
font-weight: 400; |
||||
|
color: #f4a125; |
||||
|
} |
||||
|
} |
||||
} |
} |
||||
} |
|
||||
|
|
||||
.weaterMain { |
> .right-w { |
||||
display: inline-flex; |
margin-left: 30px; |
||||
flex-direction: row; |
display: inline-flex; |
||||
width:100%; |
width: 100%; |
||||
height: 40px; |
height: 100%; |
||||
|
flex-direction: column; |
||||
|
|
||||
.buttons { |
|
||||
width:100%; |
|
||||
height:38px; |
|
||||
>div { |
|
||||
display: inline-flex; |
|
||||
width:10%; |
|
||||
height:35px; |
|
||||
justify-content: center; |
|
||||
align-items: center; |
|
||||
font-size: 12px; |
|
||||
font-family: PangMenZhengDao; |
|
||||
font-weight: 800; |
|
||||
color: #FFFFFF; |
|
||||
z-index: 9; |
|
||||
} |
|
||||
|
|
||||
>div::after { |
.right-row { |
||||
content: ""; |
margin-bottom: 10px; |
||||
position: absolute; |
} |
||||
display: inline-flex; |
|
||||
width: 55px; |
|
||||
height: 36px; |
|
||||
background: linear-gradient(180deg, #6557D7 0%, rgba(101,87,216,0) 100%); |
|
||||
border-radius: 50%; |
|
||||
opacity: 1; |
|
||||
z-index:-1; |
|
||||
} |
|
||||
|
|
||||
.redSel::after { |
.right-text { |
||||
background: linear-gradient(180deg, #E73A14 0%, rgba(240,92,9,0) 100%); |
color: #fff; |
||||
} |
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
.yelSel::after { |
.weaterMain { |
||||
background: linear-gradient(180deg, #FFFA79 0%, rgba(255,208,137,0) 100%); |
display: inline-flex; |
||||
} |
flex-direction: row; |
||||
|
width: 100%; |
||||
|
height: 40px; |
||||
|
|
||||
.bluSel::after { |
.buttons { |
||||
background: linear-gradient(180deg, #121ADE 0%, rgba(40,18,228,0) 100%); |
width: 100%; |
||||
} |
height: 38px; |
||||
|
> div { |
||||
|
display: inline-flex; |
||||
|
width: 10%; |
||||
|
height: 35px; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
font-size: 12px; |
||||
|
font-family: PangMenZhengDao; |
||||
|
font-weight: 800; |
||||
|
color: #ffffff; |
||||
|
z-index: 9; |
||||
|
} |
||||
|
|
||||
.orgSel::after{ |
> div::after { |
||||
background: linear-gradient(180deg, #FFA623 0%, rgba(255,173,53,0) 100%); |
content: ""; |
||||
} |
position: absolute; |
||||
|
display: inline-flex; |
||||
|
width: 55px; |
||||
|
height: 36px; |
||||
|
background: linear-gradient( |
||||
|
180deg, |
||||
|
#6557d7 0%, |
||||
|
rgba(101, 87, 216, 0) 100% |
||||
|
); |
||||
|
border-radius: 50%; |
||||
|
opacity: 1; |
||||
|
z-index: -1; |
||||
} |
} |
||||
|
|
||||
.weaterTitle::after { |
.redSel::after { |
||||
content: ""; |
background: linear-gradient( |
||||
position: absolute; |
180deg, |
||||
top:0px; |
#e73a14 0%, |
||||
left:0px; |
rgba(240, 92, 9, 0) 100% |
||||
width:100%; |
); |
||||
height:2px; |
|
||||
background: linear-gradient(90deg, rgba(189,255,246,0) 0%, #BDFFF6 52%, rgba(189,255,246,0) 100%); |
|
||||
border-radius: 0px 0px 0px 0px; |
|
||||
opacity: 1; |
|
||||
} |
} |
||||
.weaterTitle::before { |
|
||||
content: ""; |
.yelSel::after { |
||||
position: absolute; |
background: linear-gradient( |
||||
top:38px; |
180deg, |
||||
left:0px; |
#fffa79 0%, |
||||
width:100%; |
rgba(255, 208, 137, 0) 100% |
||||
height:2px; |
); |
||||
background: linear-gradient(90deg, rgba(189,255,246,0) 0%, #BDFFF6 52%, rgba(189,255,246,0) 100%); |
|
||||
border-radius: 0px 0px 0px 0px; |
|
||||
opacity: 1; |
|
||||
} |
} |
||||
|
|
||||
.weaterTitle { |
.bluSel::after { |
||||
position: relative; |
background: linear-gradient( |
||||
display: inline-flex; |
180deg, |
||||
width: 277px; |
#121ade 0%, |
||||
height: 38px; |
rgba(40, 18, 228, 0) 100% |
||||
background: linear-gradient(269deg, rgba(55,231,255,0) 6%, rgba(55,231,255,0.6) 50%, rgba(55,231,255,0) 92%); |
); |
||||
border-radius: 0px 0px 0px 0px; |
} |
||||
opacity: 1; |
|
||||
justify-content: center; |
|
||||
align-items: center; |
|
||||
|
|
||||
>span.text { |
|
||||
display: inline-flex; |
|
||||
font-size: 16px; |
|
||||
font-family: PangMenZhengDao; |
|
||||
font-weight: 400; |
|
||||
color: #FFFFFF; |
|
||||
} |
|
||||
|
|
||||
|
.orgSel::after { |
||||
.num { |
background: linear-gradient( |
||||
display: inline-flex; |
180deg, |
||||
justify-content: center; |
#ffa623 0%, |
||||
align-items: center; |
rgba(255, 173, 53, 0) 100% |
||||
font-size: 22px; |
); |
||||
font-family: PangMenZhengDao; |
|
||||
font-weight: 400; |
|
||||
color: #D9001B; |
|
||||
} |
|
||||
} |
} |
||||
} |
} |
||||
|
|
||||
} |
.weaterTitle::after { |
||||
} |
content: ""; |
||||
.charts { |
position: absolute; |
||||
height:180px; |
top: 0px; |
||||
|
left: 0px; |
||||
|
width: 100%; |
||||
|
height: 2px; |
||||
|
background: linear-gradient( |
||||
|
90deg, |
||||
|
rgba(189, 255, 246, 0) 0%, |
||||
|
#bdfff6 52%, |
||||
|
rgba(189, 255, 246, 0) 100% |
||||
|
); |
||||
|
border-radius: 0px 0px 0px 0px; |
||||
|
opacity: 1; |
||||
|
} |
||||
|
.weaterTitle::before { |
||||
|
content: ""; |
||||
|
position: absolute; |
||||
|
top: 38px; |
||||
|
left: 0px; |
||||
width: 100%; |
width: 100%; |
||||
|
height: 2px; |
||||
|
background: linear-gradient( |
||||
|
90deg, |
||||
|
rgba(189, 255, 246, 0) 0%, |
||||
|
#bdfff6 52%, |
||||
|
rgba(189, 255, 246, 0) 100% |
||||
|
); |
||||
|
border-radius: 0px 0px 0px 0px; |
||||
|
opacity: 1; |
||||
|
} |
||||
|
|
||||
|
.weaterTitle { |
||||
|
position: relative; |
||||
|
display: inline-flex; |
||||
|
width: 277px; |
||||
|
height: 38px; |
||||
|
background: linear-gradient( |
||||
|
269deg, |
||||
|
rgba(55, 231, 255, 0) 6%, |
||||
|
rgba(55, 231, 255, 0.6) 50%, |
||||
|
rgba(55, 231, 255, 0) 92% |
||||
|
); |
||||
|
border-radius: 0px 0px 0px 0px; |
||||
|
opacity: 1; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
|
||||
|
> span.text { |
||||
|
display: inline-flex; |
||||
|
font-size: 16px; |
||||
|
font-family: PangMenZhengDao; |
||||
|
font-weight: 400; |
||||
|
color: #ffffff; |
||||
|
} |
||||
|
|
||||
|
.num { |
||||
|
display: inline-flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
font-size: 22px; |
||||
|
font-family: PangMenZhengDao; |
||||
|
font-weight: 400; |
||||
|
color: #d9001b; |
||||
|
} |
||||
} |
} |
||||
|
} |
||||
</style> |
} |
||||
|
} |
||||
|
.charts { |
||||
|
height: 180px; |
||||
|
width: 100%; |
||||
|
} |
||||
|
</style> |
||||
|
@ -1,76 +1,76 @@ |
|||||
<template> |
<template> |
||||
<div class='congestion'> |
<div class="congestion"> |
||||
<WgtTitle :title="'近一年饱和度最大值'"></WgtTitle> |
<WgtTitle :title="'近一年饱和度最大值'"></WgtTitle> |
||||
<div class="board"> |
<div class="board"> |
||||
<div class="charts keep-ratio " id="temperatureTrend"></div> |
<div class="charts keep-ratio" id="temperatureTrend"></div> |
||||
</div> |
|
||||
</div> |
</div> |
||||
</template> |
</div> |
||||
|
</template> |
||||
<script> |
|
||||
|
<script> |
||||
import WgtTitle from '../../../../../widgets/title' |
import WgtTitle from "../../../../../widgets/title"; |
||||
import * as echarts from "echarts"; |
import * as echarts from "echarts"; |
||||
import chartsStatistics from "./assets/charts"; |
import chartsStatistics from "./assets/charts"; |
||||
export default { |
export default { |
||||
name: 'SaturationMax', |
name: "SaturationMax", |
||||
components: { |
components: { |
||||
WgtTitle |
WgtTitle, |
||||
}, |
}, |
||||
data() { |
data() { |
||||
return { |
return { |
||||
myChart:null, |
myChart: null, |
||||
} |
}; |
||||
}, |
}, |
||||
|
|
||||
created() { |
created() {}, |
||||
|
methods: { |
||||
}, |
reiszeChart() { |
||||
methods: { |
this.$nextTick(() => { |
||||
reiszeChart(){ |
if (this.myChart) { |
||||
this.$nextTick(() => { |
this.myChart.resize(); |
||||
if ( this.myChart ) { |
} |
||||
this.myChart.resize(); |
|
||||
} |
|
||||
}); |
|
||||
} |
|
||||
}, |
|
||||
update(){ |
|
||||
|
|
||||
}, |
|
||||
mounted() { |
|
||||
setTimeout(() => { |
|
||||
this.$nextTick(() => { |
|
||||
this.myChart = echarts.init(document.getElementById('temperatureTrend')); |
|
||||
this.myChart.setOption(chartsStatistics); |
|
||||
}); |
|
||||
}); |
}); |
||||
}, |
}, |
||||
} |
}, |
||||
</script> |
update() {}, |
||||
|
mounted() { |
||||
<style lang='scss' scoped> |
setTimeout(() => { |
||||
.congestion { |
this.$nextTick(() => { |
||||
|
this.myChart = echarts.init( |
||||
|
document.getElementById("temperatureTrend") |
||||
|
); |
||||
|
this.myChart.setOption(chartsStatistics); |
||||
|
}); |
||||
|
}); |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.congestion { |
||||
|
width: 100%; |
||||
|
.board { |
||||
|
// height: 150px; |
||||
|
flex: 1; |
||||
width: 100%; |
width: 100%; |
||||
.board{ |
padding: 0px 20px; |
||||
height:150px; |
background: linear-gradient(180deg, rgba(6, 66, 88, 0.2) 0%, #064258 100%); |
||||
width: 100%; |
border-radius: 5px 5px 5px 5px; |
||||
padding: 0px 20px; |
opacity: 1; |
||||
background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%); |
border: 1px solid; |
||||
border-radius: 5px 5px 5px 5px; |
border-image: linear-gradient( |
||||
opacity: 1; |
360deg, |
||||
border: 1px solid; |
rgba(55, 231, 255, 0.3), |
||||
border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1; |
rgba(55, 231, 255, 0) |
||||
display: flex; |
) |
||||
justify-content: space-between; |
1 1; |
||||
align-items: center; |
display: flex; |
||||
|
justify-content: space-between; |
||||
} |
align-items: center; |
||||
} |
} |
||||
.charts { |
} |
||||
height:120px; |
.charts { |
||||
width: 100%; |
height: 120px; |
||||
} |
width: 100%; |
||||
|
} |
||||
</style> |
</style> |
||||
|
|
||||
|
Loading…
Reference in new issue