Jelajahi Sumber

存货分布

yanghao 1 Minggu lalu
induk
melakukan
ae975c2403
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/views/pms/stat/rhkb/inventorySituation.vue

+ 2 - 2
src/views/pms/stat/rhkb/inventorySituation.vue

@@ -130,14 +130,14 @@ function getChartLayout(chartRef: Ref<HTMLDivElement | undefined>) {
 
   return {
     compact,
-    distributionTitleTop: compact ? 6 : 18,
+    distributionTitleTop: compact ? 3 : 13,
     distributionTitleFontSize: compact ? 9 : 11,
     distributionTitleLineHeight: compact ? 14 : 16,
     distributionPieRadius: compact ? ['38%', '50%'] : ['40%', '52%'],
     distributionPieCenterY: compact ? '60%' : '57%',
     distributionLegendBottom: compact ? 0 : 10,
     distributionLegendItemSize: compact ? 9 : 13,
-    distributionLegendGap: compact ? 8 : 14,
+    distributionLegendGap: compact ? 4 : 10,
     distributionLegendFontSize: compact ? 10 : 14,
     trendGridTop: compact ? 10 : 32,
     trendGridRight: compact ? 12 : THEME.grid.right,