feat: 更换背景图片

This commit is contained in:
fyy 2025-07-20 17:40:14 +08:00
parent 34fa7a1c1a
commit 5ac8aca6df
3 changed files with 16 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 KiB

View File

@ -168,14 +168,19 @@ const updateTime = () => {
const initBarChart = () => {
if (!barChart.value) return
const chart = echarts.init(barChart.value)
const option = getThreeDBarOption({
xData: ['A区', 'B区', 'C区', 'D区'],
yData: [320, 452, 688, 400]
})
chart.setOption(option)
barChartInstance = chart
addChartToResizeManager(chart)
const myChart = echarts.init(barChart.value);
myChart.setOption({
tooltip: {},
xAxis: { data: ['A', 'B', 'C', 'D'] },
yAxis: {},
series: [
{
name: '销量',
type: 'bar',
data: [5, 20, 36, 10, 10, 20],
},
],
});
}
//
@ -601,6 +606,9 @@ onBeforeUnmount(() => {
min-height: unset;
margin: 0 auto;
}
.bar-chart{
}
}
.second{
height: 12rem;