abnormalDeviceRanking.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <template>
  2. <view>
  3. <u-navbar title="异常设备排名" title-color="#101010" ></u-navbar>
  4. <view class="background">
  5. <view class="title">
  6. 设备累计异常报警
  7. </view>
  8. <view class="else">
  9. <view class="time">
  10. 共 42 次
  11. </view>
  12. <view class="date">
  13. <text>2024年</text><u-icon name="arrow-down" size="20" color="#f2f4d6"></u-icon>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="main">
  18. <view class="item" @click="gotoUrl('/pages/equipmentDataMonitoring/electronicMonitoring?id='+'&name=')">
  19. <view class="ranking">
  20. 1
  21. </view>
  22. <view class="icon">
  23. <image class="img" src="@/assets/img/transformer1.svg" mode=""></image>
  24. </view>
  25. <view class="name">
  26. <view class="name1">
  27. 荆鹏软件园01
  28. </view>
  29. <view class="name2">
  30. 荆鹏集团
  31. </view>
  32. </view>
  33. <view class="time">
  34. 5次
  35. </view>
  36. <!-- 箭头 --> <view class="more"> <u-icon name="arrow-right" color="#acacac" size="24"></u-icon> </view>
  37. </view>
  38. <view class="item">
  39. <view class="ranking">
  40. 2
  41. </view>
  42. <view class="icon">
  43. <image class="img" src="@/assets/img/transformer1.svg" mode=""></image>
  44. </view>
  45. <view class="name">
  46. <view class="name1">
  47. 荆鹏软件园01
  48. </view>
  49. <view class="name2">
  50. 荆鹏集团
  51. </view>
  52. </view>
  53. <view class="time">
  54. 5次
  55. </view>
  56. <!-- 箭头 --> <view class="more"> <u-icon name="arrow-right" color="#acacac" size="24"></u-icon> </view>
  57. </view>
  58. <view class="item">
  59. <view class="ranking">
  60. 3
  61. </view>
  62. <view class="icon">
  63. <image class="img" src="@/assets/img/transformer1.svg" mode=""></image>
  64. </view>
  65. <view class="name">
  66. <view class="name1">
  67. 荆鹏软件园01
  68. </view>
  69. <view class="name2">
  70. 荆鹏集团
  71. </view>
  72. </view>
  73. <view class="time">
  74. 5次
  75. </view>
  76. <!-- 箭头 --> <view class="more"> <u-icon name="arrow-right" color="#acacac" size="24"></u-icon> </view>
  77. </view>
  78. </view>
  79. </view>
  80. </template>
  81. <script>
  82. export default {
  83. data() {
  84. return {
  85. }
  86. },
  87. methods: {
  88. }
  89. }
  90. </script>
  91. <style lang="scss" scoped>
  92. page{
  93. background-color: #fff;
  94. }
  95. .background{
  96. background-color: rgba(22,119,255,1);
  97. padding: 32rpx;
  98. color: rgba(255,255,255,1);
  99. height: 184rpx;
  100. .title{
  101. font-weight: bold;
  102. font-size: 32rpx;
  103. }
  104. .else{
  105. display: flex;
  106. justify-content: space-between;
  107. margin-top: 8rpx;
  108. .date{
  109. display: flex;
  110. align-items: center;
  111. text{
  112. margin-right: 8rpx;
  113. }
  114. }
  115. }
  116. }
  117. .main{
  118. padding: 40rpx 48rpx;
  119. margin-top: -32rpx;
  120. border-radius: 16px;
  121. background-color: #fff;
  122. .item{
  123. display: flex;
  124. align-items: center;
  125. margin-bottom: 32rpx;
  126. .ranking{
  127. color: rgba(16,16,16,1);
  128. font-weight: bold;
  129. }
  130. .icon{
  131. width: 72rpx;
  132. height: 72rpx;
  133. border-radius: 4px;
  134. background-color: rgba(219,234,255,1);
  135. display: flex;
  136. align-items: center;
  137. justify-content: center;
  138. margin-left: 24rpx;
  139. .img{
  140. width: 48rpx;
  141. height: 48rpx;
  142. }
  143. }
  144. .name{
  145. margin-left: 16rpx;
  146. .name1{
  147. color: rgba(51,51,51,1);
  148. font-weight: bold;
  149. }
  150. .name2{
  151. color: rgba(119,119,119,1);
  152. font-size: 24rpx;
  153. margin-top: 4rpx;
  154. }
  155. }
  156. .time{
  157. color: rgba(16,16,16,1);
  158. margin-left: auto;
  159. font-weight: bold;
  160. }
  161. .more{
  162. margin-left: 8rpx;
  163. }
  164. }
  165. }
  166. </style>