ggsbtj.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <script setup>
  2. </script>
  3. <template>
  4. <div class="main">
  5. <div class="number1">
  6. <div class="number">320</div>
  7. <div class="title">总设备数量</div>
  8. </div>
  9. <div class="inline">
  10. <div class="number">210</div>
  11. <div class="title">在线设备</div>
  12. </div>
  13. <div class="online">
  14. <div class="number">10</div>
  15. <div class="title">离线设备</div>
  16. </div>
  17. <div class="warning">
  18. <div class="number" style="color: red;">15</div>
  19. <div class="title">告警设备</div>
  20. </div>
  21. <div class="open">
  22. <div class="number">95</div>
  23. <div class="title">开泵数量</div>
  24. </div>
  25. <div class="close">
  26. <div class="number">85</div>
  27. <div class="title">关泵数量</div>
  28. </div>
  29. <div class="water">
  30. <div class="number">1500吨</div>
  31. <div class="title">耗水总量/月</div>
  32. </div>
  33. <div class="elect">
  34. <div class="number">400kw/h</div>
  35. <div class="title">耗电总量/月</div>
  36. </div>
  37. </div>
  38. </template>
  39. <script>
  40. let jt3d = undefined;
  41. export default {
  42. data() {
  43. return {
  44. // viewersName: '', //视角标签名称
  45. // ImgurlList: [], //截图地址列表
  46. }
  47. },
  48. methods: {
  49. }
  50. }
  51. </script>
  52. <style lang="scss" scoped>
  53. .number{
  54. color: rgba(29,191,205,1);
  55. font-weight: 600;
  56. margin-top: 10rem;
  57. width: 80rem;
  58. margin-left: 40rem;
  59. text-align: center;
  60. }
  61. .title{
  62. font-size: 13rem;
  63. text-shadow: 0 0 2rem 2rem rgba(29,191,205,1);
  64. margin-top: 3rem;
  65. margin-left: 38rem;
  66. }
  67. .main::-webkit-scrollbar {
  68. width: 0px;
  69. background-color: rgba(0,0,0,0);
  70. // 滚动条整体样式
  71. // 高宽分别对应横竖滚动条的尺寸
  72. }
  73. .main{
  74. width:100%;
  75. height:100%;
  76. display:flex;
  77. margin-top: 10rem;
  78. padding-bottom: 5rem;
  79. flex:2;
  80. overflow: scroll;
  81. flex-wrap: wrap;
  82. justify-content: space-around;
  83. align-items: center;
  84. .number1{
  85. background:url('@/assets/images/shebei/number.png') no-repeat;
  86. background-size:100% 100%;
  87. width: 120rem;
  88. height: 56rem;
  89. }
  90. .close{
  91. background:url('@/assets/images/shebei/close.png') no-repeat;
  92. background-size:100% 100%;
  93. width: 120rem;
  94. height: 56rem;
  95. margin-top: 5rem;
  96. }
  97. .elect{
  98. background:url('@/assets/images/shebei/elect.png') no-repeat;
  99. background-size:100% 100%;
  100. width: 120rem;
  101. height: 56rem;
  102. margin-top: 5rem;
  103. }
  104. .inline{
  105. background:url('@/assets/images/shebei/inline.png') no-repeat;
  106. background-size:100% 100%;
  107. width: 120rem;
  108. height: 56rem;
  109. }
  110. .online{
  111. background:url('@/assets/images/shebei/online.png') no-repeat;
  112. background-size:100% 100%;
  113. width: 120rem;
  114. height: 56rem;
  115. margin-top: 5rem;
  116. }
  117. .water{
  118. background:url('@/assets/images/shebei/water.png') no-repeat;
  119. background-size:100% 100%;
  120. width: 120rem;
  121. height: 56rem;
  122. margin-top: 5rem;
  123. }
  124. .warning{
  125. background:url('@/assets/images/shebei/warning.png') no-repeat;
  126. background-size:100% 100%;
  127. width: 120rem;
  128. margin-top: 5rem;
  129. height: 56rem;
  130. }
  131. .open{
  132. background:url('@/assets/images/shebei/open.png') no-repeat;
  133. background-size:100% 100%;
  134. width: 120rem;
  135. height: 56rem;
  136. margin-top: 5rem;
  137. }
  138. }
  139. </style>