kjsp.vue 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <template>
  2. <view class="page-body">
  3. <page-header :name="'矿井视频智能调速'" :bg="'transparent'" :showLeft="true" @goBack="goBack()"></page-header>
  4. <view class="bg-wrap"></view>
  5. <view class="scroll-wrap">
  6. <view class="info-wrap">
  7. <view class="title">矿井视频参数</view>
  8. <view class="table-wrap">
  9. <simple-table :tableHead="tableHead" :list="tableList"></simple-table>
  10. </view>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. data() {
  18. return {
  19. list: [{
  20. name: '主风机',
  21. status: {
  22. name: '风门',
  23. status: 1
  24. }
  25. }, {
  26. name: '副风机',
  27. status: {
  28. name: '风门',
  29. status: 0
  30. }
  31. }],
  32. tableHead: ['参数', '数值'],
  33. tableList: [{
  34. name: '1#内部温度',
  35. params: ['0018.00']
  36. }, {
  37. name: '1#输出功率',
  38. params: ['0174.00']
  39. }, {
  40. name: '2#绕组A温度',
  41. params: ['0174.00']
  42. }, {
  43. name: '2部皮带PLC通讯状态',
  44. params: ['0082.00']
  45. }, {
  46. name: '3部AI相机实时煤量',
  47. params: ['0000.00']
  48. }, {
  49. name: '1#输出电压',
  50. params: ['9123.00']
  51. }, {
  52. name: '2#绕组B温度',
  53. params: ['0027.00']
  54. }, {
  55. name: '1#给定频率',
  56. params: ['1800.00']
  57. }, {
  58. name: '相机煤量降速阀值1',
  59. params: ['0000.00']
  60. }, {
  61. name: '1#输出电流',
  62. params: ['0111.00']
  63. }, {
  64. name: '2#绕组c温度',
  65. params: ['0027.00']
  66. }, {
  67. name: '相机煤量提速阈值1',
  68. params: ['0000.00']
  69. }, {
  70. name: '1#母线电压1',
  71. params: ['7740.00']
  72. }, {
  73. name: '1#输出频率',
  74. params: ['1800.00']
  75. }, {
  76. name: '2#给定频率',
  77. params: ['1802.00']
  78. }, {
  79. name: '相机煤量减速阈值2',
  80. params: ['0082.00']
  81. }, {
  82. name: '1#母线电压2',
  83. params: ['7749.00']
  84. }, {
  85. name: '1部皮带速度',
  86. params: ['0000.00']
  87. }, {
  88. name: '2#输入电压',
  89. params: ['10992.00']
  90. }, {
  91. name: '3部皮带速度',
  92. params: ['0000.00']
  93. }, {
  94. name: '1#绕组A温度',
  95. params: ['0026.00']
  96. }, {
  97. name: '2#内部温度',
  98. params: ['0019.00']
  99. }, {
  100. name: '2#输出功率',
  101. params: ['0182.00']
  102. }, {
  103. name: '2部皮带速度',
  104. params: ['0000.00']
  105. }, {
  106. name: '1#绕组B温度',
  107. params: ['0026.00']
  108. }, {
  109. name: '2#前轴温度',
  110. params: ['0028.00']
  111. }, {
  112. name: '2#输出电压',
  113. params: ['9051.00']
  114. }, {
  115. name: '相机煤量减速阈值2',
  116. params: ['0000.00']
  117. }, {
  118. name: '1#绕组c温度',
  119. params: ['0026.00']
  120. }, {
  121. name: '2#后轴温度',
  122. params: ['0026.00']
  123. }, {
  124. name: '2#输出电流',
  125. params: ['0117.00']
  126. }, {
  127. name: '2#输入电抗器温度',
  128. params: ['0021.00']
  129. }, {
  130. name: '1#输入电压',
  131. params: ['10961.00']
  132. }, {
  133. name: '2#母线电压1',
  134. params: ['7726.00']
  135. }, {
  136. name: '2#输出频率',
  137. params: ['1802.00']
  138. }, {
  139. name: '1#前轴温度',
  140. params: ['0000.00']
  141. }, {
  142. name: '1#输入电抗器温度',
  143. params: ['0020.00']
  144. }]
  145. }
  146. },
  147. onLoad(option) {},
  148. methods: {
  149. goBack() { // 返回上一頁面
  150. uni.navigateBack()
  151. }
  152. }
  153. }
  154. </script>
  155. <style scoped lang="scss">
  156. .page-body {
  157. position: relative;
  158. background-color: #f5f6f8;
  159. /deep/ .header-wrap {
  160. position: relative;
  161. z-index: 2;
  162. }
  163. .bg-wrap {
  164. position: absolute;
  165. z-index: 1;
  166. top: 0;
  167. width: 100vw;
  168. height: 670rpx;
  169. background: url(@/static/pg-bg-2.png);
  170. background-size: 100%;
  171. }
  172. .scroll-wrap {
  173. position: relative;
  174. z-index: 2;
  175. overflow-y: scroll;
  176. height: calc(100vh - 85rpx);
  177. padding: 60rpx 35rpx 45rpx;
  178. .status-wrap {
  179. display: flex;
  180. height: 167rpx;
  181. border-radius: 20rpx;
  182. margin-bottom: 60rpx;
  183. background: #C5EDFF;
  184. .item {
  185. flex: 1;
  186. justify-content: center;
  187. padding: 35rpx 97rpx 35rpx 97rpx;
  188. border-right: 1rpx dashed #fff;
  189. .name {
  190. font-size: 28rpx;
  191. font-weight: 700;
  192. text-align: center;
  193. margin-bottom: 25rpx;
  194. }
  195. .status {
  196. /deep/ .tip-wrap {
  197. font-size: 26rpx;
  198. .name {
  199. color: #8D8D8D;
  200. }
  201. .status-wrap {
  202. view:first-child {
  203. margin: 0 8rpx 0 30rpx;
  204. }
  205. }
  206. }
  207. }
  208. }
  209. .item:last-child {
  210. border: none;
  211. }
  212. }
  213. .info-wrap {
  214. .title {
  215. margin-bottom: 29rpx;
  216. font-weight: 700;
  217. font-size: 36rpx;
  218. color: #000000;
  219. }
  220. .table-wrap {
  221. overflow: hidden;
  222. border-radius: 20rpx;
  223. background-color: #fff;
  224. /deep/ .table-head {
  225. background-color: #F0F0F0;
  226. }
  227. }
  228. }
  229. }
  230. }
  231. </style>