diff --git a/frontend/src/assets/style/global.less b/frontend/src/assets/style/global.less index 620ff01837..f700fb3876 100644 --- a/frontend/src/assets/style/global.less +++ b/frontend/src/assets/style/global.less @@ -182,3 +182,11 @@ body { @apply cursor-not-allowed; } } + +/* 报告气泡样式 */ +.report-popover-content { + padding: 16px; + .arco-popover-content { + @apply mt-0; + } +} diff --git a/frontend/src/config/testPlan.ts b/frontend/src/config/testPlan.ts index f171506561..e21ea1a558 100644 --- a/frontend/src/config/testPlan.ts +++ b/frontend/src/config/testPlan.ts @@ -147,7 +147,7 @@ export const toolTipConfig = { }, position: 'top', backgroundColor: '#fff', - padding: 24, + padding: 16, borderWidth: 0, formatter(params: any) { const html = ` @@ -173,12 +173,18 @@ export const commonConfig = { legend: { show: false, }, + grid: { + left: 0, + right: 0, + top: 0, + bottom: 0, + }, }; export const seriesConfig = { name: '', type: 'pie', - radius: ['62%', '80%'], + radius: ['75%', '93%'], center: ['50%', '50%'], avoidLabelOverlap: false, label: { @@ -196,5 +202,3 @@ export const seriesConfig = { show: false, }, }; - -export default {}; diff --git a/frontend/src/views/api-test/report/component/case/setReportChart.vue b/frontend/src/views/api-test/report/component/case/setReportChart.vue index 408364dfc1..fc2d00fe2f 100644 --- a/frontend/src/views/api-test/report/component/case/setReportChart.vue +++ b/frontend/src/views/api-test/report/component/case/setReportChart.vue @@ -3,22 +3,22 @@