ChartRight.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <div id="app-container-Right">
  3. <div class="up">
  4. <annual-output />
  5. </div>
  6. <div class="middle">
  7. <dv-border-box-13>
  8. <energy-consumption />
  9. </dv-border-box-13>
  10. </div>
  11. <div class="down">
  12. <dv-border-box-13>
  13. <product-proportion />
  14. </dv-border-box-13>
  15. </div>
  16. </div>
  17. </template>
  18. <script>
  19. import annualOutput from "./annualOutput";
  20. import energyConsumption from "./energyConsumption";
  21. import productProportion from "./productProportion";
  22. export default {
  23. components: {
  24. annualOutput,
  25. energyConsumption,
  26. productProportion
  27. },
  28. }
  29. </script>
  30. <style lang="scss">
  31. #app-container-Right {
  32. width: 500px;
  33. height: 750px;
  34. .up {
  35. width: 100%;
  36. display: flex;
  37. flex-wrap: wrap;
  38. justify-content: space-around;
  39. }
  40. .middle {
  41. padding: 0.07rem 0.05rem;
  42. padding-bottom: 0;
  43. width: 100%;
  44. display: flex;
  45. justify-content: space-between;
  46. }
  47. .down {
  48. padding: 0.07rem 0.05rem;
  49. padding-bottom: 0;
  50. width: 100%;
  51. display: flex;
  52. justify-content: space-between;
  53. }
  54. }
  55. </style>