Commit ff86c880aa6957fced627c37fc6ed27fb72b47ef

Authored by fengtao
1 parent 2b9f422b

feat:首页新增饼状图和调整部分样式

1 1 <template>
2 2 <div v-show="dataSeries.length" ref="chartRef" :style="{ height, width }"></div>
3   - <div v-show="!dataSeries.length"><Empty :image="Empty.PRESENTED_IMAGE_SIMPLE" /></div>
  3 + <div class="empty-box" v-show="!dataSeries.length"
  4 + ><Empty :image="Empty.PRESENTED_IMAGE_SIMPLE"
  5 + /></div>
4 6 </template>
5 7 <script lang="ts">
6 8 import { defineComponent, PropType, ref, Ref, onMounted, toRefs } from 'vue';
... ... @@ -72,3 +74,11 @@
72 74 },
73 75 });
74 76 </script>
  77 +
  78 +<style>
  79 + .empty-box {
  80 + display: flex;
  81 + align-items: center;
  82 + margin: 0 120px;
  83 + }
  84 +</style>
... ...