abnormalDeviceRanking.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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">
  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>
  37. <view class="item">
  38. <view class="ranking">
  39. 2
  40. </view>
  41. <view class="icon">
  42. <image class="img" src="@/assets/img/transformer1.svg" mode=""></image>
  43. </view>
  44. <view class="name">
  45. <view class="name1">
  46. 荆鹏软件园01
  47. </view>
  48. <view class="name2">
  49. 荆鹏集团
  50. </view>
  51. </view>
  52. <view class="time">
  53. 5次
  54. </view>
  55. </view>
  56. <view class="item">
  57. <view class="ranking">
  58. 3
  59. </view>
  60. <view class="icon">
  61. <image class="img" src="@/assets/img/transformer1.svg" mode=""></image>
  62. </view>
  63. <view class="name">
  64. <view class="name1">
  65. 荆鹏软件园01
  66. </view>
  67. <view class="name2">
  68. 荆鹏集团
  69. </view>
  70. </view>
  71. <view class="time">
  72. 5次
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </template>
  78. <script>
  79. export default {
  80. data() {
  81. return {
  82. }
  83. },
  84. methods: {
  85. }
  86. }
  87. </script>
  88. <style lang="scss" scoped>
  89. page{
  90. background-color: #fff;
  91. }
  92. .background{
  93. background-color: rgba(22,119,255,1);
  94. padding: 32rpx;
  95. color: rgba(255,255,255,1);
  96. height: 184rpx;
  97. .title{
  98. font-weight: bold;
  99. font-size: 32rpx;
  100. }
  101. .else{
  102. display: flex;
  103. justify-content: space-between;
  104. margin-top: 8rpx;
  105. .date{
  106. display: flex;
  107. align-items: center;
  108. text{
  109. margin-right: 8rpx;
  110. }
  111. }
  112. }
  113. }
  114. .main{
  115. padding: 40rpx 48rpx;
  116. margin-top: -32rpx;
  117. border-radius: 16px;
  118. background-color: #fff;
  119. .item{
  120. display: flex;
  121. align-items: center;
  122. margin-bottom: 32rpx;
  123. .ranking{
  124. color: rgba(16,16,16,1);
  125. font-weight: bold;
  126. }
  127. .icon{
  128. width: 72rpx;
  129. height: 72rpx;
  130. border-radius: 4px;
  131. background-color: rgba(219,234,255,1);
  132. display: flex;
  133. align-items: center;
  134. justify-content: center;
  135. margin-left: 24rpx;
  136. .img{
  137. width: 48rpx;
  138. height: 48rpx;
  139. }
  140. }
  141. .name{
  142. margin-left: 16rpx;
  143. .name1{
  144. color: rgba(51,51,51,1);
  145. font-weight: bold;
  146. }
  147. .name2{
  148. color: rgba(119,119,119,1);
  149. font-size: 24rpx;
  150. margin-top: 4rpx;
  151. }
  152. }
  153. .time{
  154. color: rgba(16,16,16,1);
  155. margin-left: auto;
  156. font-weight: bold;
  157. }
  158. }
  159. }
  160. </style>