fix 优化

This commit is contained in:
duanliang
2026-01-13 14:17:29 +08:00
parent 4b77459658
commit 23f1998a34
5 changed files with 9 additions and 9 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -80,12 +80,12 @@
<countup class="scenic-item__value" :end-val="trafficAiAnalyzeData.handled" /> <countup class="scenic-item__value" :end-val="trafficAiAnalyzeData.handled" />
</div> </div>
</div> </div>
<div class="flex pt-20" style="margin-top:20px;"> <div class="flex pt-20">
<div class="box"> <div class="box">
<Title3 title="平均车速(KM/H)" /> <Title3 title="平均车速(KM/H)" />
<traffic-jam width="100%" <traffic-jam width="100%"
:series="jamlData[0].data" :series="jamlData[0].data"
:data="jamXAxisData" :height="350" /> :data="jamXAxisData" height="350" />
</div> </div>
</div> </div>
</template> </template>
@@ -625,10 +625,9 @@
} }
.box { .box {
flex: 1; flex: 1;
height: vh(340); height: vh(400);
background-image: url('@/assets/images/bg-3.png'); background-image: url('@/assets/images/bg-3.png');
background-size: 100% 100%; background-size: 100% 100%;
// .title-2 { // .title-2 {
// width: vw(253); // width: vw(253);
// height: vh(28); // height: vh(28);

View File

@@ -46,7 +46,7 @@
left: '4%', left: '4%',
right: '8%', right: '8%',
top: '10%', top: '10%',
bottom: '14%', bottom: '2%',
containLabel: true containLabel: true
}, },
xAxis: { xAxis: {
@@ -61,7 +61,7 @@
} }
}, },
axisLabel: { axisLabel: {
fontSize: fitChartSize(20), fontSize: fitChartSize(16),
color: 'rgba(255,255,255,0.9)' color: 'rgba(255,255,255,0.9)'
}, },
data: getXAxisData() data: getXAxisData()
@@ -79,7 +79,7 @@
type: 'value', type: 'value',
axisLabel: { axisLabel: {
show: true, show: true,
fontSize: fitChartSize(20), fontSize: fitChartSize(18),
color: 'rgba(255,255,255,0.9)' color: 'rgba(255,255,255,0.9)'
}, },
splitLine: { splitLine: {
@@ -94,7 +94,7 @@
{ {
type: 'bar', type: 'bar',
data: getSeriesData(), data: getSeriesData(),
barWidth: fitChartSize(40), barWidth: fitChartSize(32),
label: { label: {
show: true, show: true,
position: 'top', position: 'top',
@@ -139,7 +139,8 @@
<style scoped lang="scss"> <style scoped lang="scss">
.traffic-jam { .traffic-jam {
margin-top: vh(10);
width:100%; width:100%;
height: vh(360); height: 100%;
} }
</style> </style>