bottomBox.vue 683 B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <div class="right-bottom-box">
  3. <ECharts
  4. id="bjlx-echarts"
  5. width="100%"
  6. height="290px"
  7. :loading="loading"
  8. :fullOptions="fullOptions"
  9. />
  10. </div>
  11. </template>
  12. <script setup>
  13. import { chartOptions } from '@/components/ECharts/optionsConfig'
  14. const loading = ref(true)
  15. const fullOptions = ref({ options: {} })
  16. onMounted(() => {
  17. setTimeout(() => {
  18. loading.value = false
  19. fullOptions.value.options = chartOptions.setBjlxOption([])
  20. }, 1000)
  21. })
  22. </script>
  23. <style scoped lang="scss">
  24. .box-style {
  25. background: url('@/assets/images/box-bg.png') no-repeat center;
  26. background-size: 100% 100%;
  27. }
  28. </style>