bottomLeft.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <div id="bottomLeft">
  3. <div class="bg-color-black">
  4. <div class="d-flex pt-2 pl-2">
  5. <span style="color:#5cd9e8">
  6. <icon name="chart-bar"></icon>
  7. </span>
  8. <div class="d-flex">
  9. <span class="fs-xl text mx-2">蒸汽消耗</span>
  10. </div>
  11. </div>
  12. <div>
  13. <span style="padding-left:15px;color:#74777F;fontWeight:bold;">Unit:(t/h)</span>
  14. <bottomLeftChart :monthData="monthData" v-bind="$attrs"/>
  15. </div>
  16. </div>
  17. </div>
  18. </template>
  19. <script>
  20. import bottomLeftChart from "./echart/bottom/bottomLeftChart";
  21. export default {
  22. props:['monthData'],
  23. data() {
  24. return {};
  25. },
  26. components: {
  27. bottomLeftChart
  28. },
  29. mounted() {},
  30. methods: {}
  31. };
  32. </script>
  33. <style lang="scss">
  34. #bottomLeft {
  35. padding: 0.3rem 0.2rem;
  36. height: 6.5rem;
  37. min-width: 3.75rem;
  38. border-radius: 0.0625rem;
  39. .bg-color-black {
  40. height: 6.0625rem;
  41. border-radius: 0.125rem;
  42. }
  43. .text {
  44. color: #ffffff;
  45. }
  46. .chart-box {
  47. margin-top: 0.2rem;
  48. width: 2.125rem;
  49. height: 2.125rem;
  50. .active-ring-name {
  51. padding-top: 0.125rem;
  52. }
  53. }
  54. }
  55. </style>