Compare commits

...

2 Commits

Author SHA1 Message Date
fyy
96da6a9764 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-20 17:41:52 +08:00
fyy
5ac8aca6df feat: 更换背景图片 2025-07-20 17:40:14 +08:00
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;