tableData.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <template>
  2. <div>
  3. <ul class="header">
  4. <li>
  5. {{ id }}号管道流量:<span>{{ tableData.pipelineFlow }}m3/h</span>
  6. </li>
  7. <li>
  8. {{ id }}号管道流量统计:<span
  9. >{{ tableData.pipelineFlowTotal }}m3/h</span
  10. >
  11. </li>
  12. </ul>
  13. <ul class="center">
  14. <li>
  15. {{ id }}号运行总时间:<br /><span>{{ tableData.runningTime }}h</span>
  16. </li>
  17. <li>
  18. {{ id }}号无人值守运行时间:<br /><span
  19. >{{ tableData.UnattendedRuntime }}h</span
  20. >
  21. </li>
  22. </ul>
  23. <ul class="bottom1">
  24. <li>
  25. {{ id }}号正压:<span>{{ tableData.positivePressure }}℃</span>
  26. </li>
  27. <li>
  28. {{ id }}号负压:<span>{{ tableData.negativePressure }}℃</span>
  29. </li>
  30. </ul>
  31. <ul class="bottom2">
  32. <li>
  33. {{ id }}号电压:<span>{{ tableData.positivePressure }}℃</span
  34. >{{ id }}号前轴温度:<span>{{ tableData.frontAxleTemp }}℃</span>
  35. </li>
  36. <li>
  37. {{ id }}号电流:<span>{{ tableData.negativePressure }}℃</span
  38. >{{ id }}号后轴温度:<span>{{ tableData.rearAxleTemp }}℃</span>
  39. </li>
  40. </ul>
  41. <div class="bottom3">液位:<span style="color:#fff">{{ tableData.liquidLevel }}m</span></div>
  42. </div>
  43. </template>
  44. <script>
  45. export default {
  46. props: ["tableData", "id"],
  47. };
  48. </script>
  49. <style scoped>
  50. div {
  51. font-size: 18px;
  52. }
  53. .header {
  54. color: #4adefe;
  55. position: relative;
  56. top: 80px;
  57. left: 180px;
  58. }
  59. .header span {
  60. margin-left: 10px;
  61. color: #f3db5c;
  62. }
  63. .center {
  64. color: #4adefe;
  65. position: relative;
  66. top: 200px;
  67. left: 180px;
  68. }
  69. .center span {
  70. margin-left: 10px;
  71. color: #f3db5c;
  72. /* float: left; */
  73. }
  74. .bottom1 {
  75. color: #4adefe;
  76. position: relative;
  77. top: 230px;
  78. left: -20px;
  79. }
  80. .bottom1 span {
  81. margin-left: 10px;
  82. color: #f3db5c;
  83. /* float: left; */
  84. }
  85. .bottom2 {
  86. color: #4adefe;
  87. position: relative;
  88. top: 330px;
  89. left: -20px;
  90. }
  91. .bottom2 span {
  92. margin-left: 10px;
  93. color: #f3db5c;
  94. margin-right: 20px;
  95. /* float: left; */
  96. }
  97. .bottom3 {
  98. color: black;
  99. position: relative;
  100. top: 330px;
  101. left: 210px;
  102. }
  103. .bottom3 span {
  104. margin-left: 10px;
  105. color: #f3db5c;
  106. }
  107. li {
  108. list-style-type: none;
  109. line-height: 30px;
  110. }
  111. </style>