feat:【mall 商城】商城首页的迁移【antd】10%:初始化

This commit is contained in:
YunaiV
2025-10-18 19:47:36 +08:00
parent fffe060ab1
commit ad6ba25b3e
11 changed files with 1012 additions and 143 deletions

View File

@@ -0,0 +1,31 @@
/**
* 会员终端统计图配置
*/
export function getTerminalChartOptions(data: any[]): any {
return {
tooltip: {
trigger: 'item',
confine: true,
formatter: '{a} <br/>{b} : {c} ({d}%)',
},
legend: {
orient: 'vertical',
left: 'right',
},
roseType: 'area',
series: [
{
name: '会员终端',
type: 'pie',
label: {
show: false,
},
labelLine: {
show: false,
},
data,
},
],
};
}