bottomRight.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <template>
  2. <div id="bottomRight">
  3. <div class="bg-color-black">
  4. <div class="d-flex pt-2 pl-2">
  5. <span style="color:#5cd9e8">
  6. <icon name="chart-area"></icon>
  7. </span>
  8. <div class="d-flex">
  9. <span class="fs-xl text mx-2">天然气平衡</span>
  10. <div class="decoration2">
  11. <dv-decoration-2 :reverse="true" style="width:5px;height:300px;" />
  12. </div>
  13. </div>
  14. </div>
  15. <div style="display:flex;flex-direction:row">
  16. <div style="flex: 3.1" >
  17. <bottomRightChart :weekData="weekData"/>
  18. </div>
  19. <div class="naturalGasData" style="flex: 0.9;">
  20. <span style="fontSize:14px;position:relative;top:-15px;">NG消耗</span>
  21. <div style="padding-top:10px;">
  22. <div style="display:flex;flex-direction:row; margin-bottom: 10px;height:30px;">
  23. <p class="ml-3 colorBlue fw-b bottom-right-text" style="padding-right:17px;margin:0px;">电厂</p>
  24. <div class="fontElec1">755.0</div>
  25. </div>
  26. </div>
  27. <div style="display:flex;flex-direction:row; margin-bottom: 10px;height:30px;">
  28. <p class="ml-3 colorBlue fw-b bottom-right-text" style="margin:0px;">合成气</p>
  29. <div>
  30. <div class="fontElec1">778.0</div>
  31. </div>
  32. </div>
  33. <div style="display:flex;flex-direction:row; margin-bottom: 10px;height:30px;">
  34. <p class="ml-3 colorBlue fw-b bottom-right-text" style="padding-right:36px;margin:0px;">U2</p>
  35. <div>
  36. <div class="fontElec1" style="margin-left: 0.34rem;">756.0</div>
  37. </div>
  38. </div>
  39. <div style="display:flex;flex-direction:row; margin-bottom: 10px;height:30px;">
  40. <p class="ml-3 colorBlue fw-b bottom-right-text" style="margin:0px;">苯乙烯</p>
  41. <div style="float: top">
  42. <div class="fontElec1">733.0</div>
  43. </div>
  44. </div>
  45. <div style="display:flex;flex-direction:row; margin-bottom: 10px;height:30px;">
  46. <p class="ml-3 colorBlue fw-b bottom-right-text" style="margin:0px;">日剩余量</p>
  47. <div style="float: top">
  48. <div class="fontElec1" style="margin-left: 0.2rem;">733.0</div>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </template>
  56. <script>
  57. import bottomRightChart from "./echart/bottom/bottomRightChart";
  58. export default {
  59. props:['weekData'],
  60. data() {
  61. return {
  62. openChart: false,
  63. };
  64. },
  65. components: {
  66. bottomRightChart
  67. },
  68. mounted() {
  69. },
  70. methods: {
  71. }
  72. };
  73. </script>
  74. <style lang="scss" scoped>
  75. .bottom-right-text {
  76. font-size: 18px;
  77. }
  78. #bottomRight {
  79. padding: 0rem 0rem 0rem;
  80. height: 3.5rem;
  81. min-width: 3.75rem;
  82. border-radius: 0.0625rem;
  83. //top:-50 !important;
  84. //left:-40 !important;
  85. .bg-color-black {
  86. height: 3.1875rem;
  87. border-radius: 0.125rem;
  88. }
  89. .text {
  90. color: #ffffff;
  91. } //下滑线动态
  92. .decoration2 {
  93. position: absolute;
  94. right: 0.125rem;
  95. }
  96. .chart-box {
  97. margin-top: 0.2rem;
  98. width: 4.125rem;
  99. height: 2.125rem;
  100. .active-ring-name {
  101. padding-top: 0.125rem;
  102. }
  103. }
  104. .naturalGasData {
  105. justify-content: space-between;
  106. float: right;
  107. position: relative;
  108. }
  109. .fontElec1 {
  110. width:100px;
  111. margin-left: 0.4rem;
  112. color: #cfe5ea;
  113. font:30px/15px 'ds-digitalbold';
  114. }
  115. }
  116. </style>