rqgl.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <template>
  2. <view class="page-body">
  3. <page-header :name="pageData.name" :bg="'#1560e0'" :showLeft="true" @goBack="goBack()"></page-header>
  4. <view class="scroll-wrap">
  5. <view class="basic-info-wrap">
  6. <view class="img-wrap">
  7. <image src="@/static/rhb.jpg" />
  8. </view>
  9. <view class="radius-wrap"></view>
  10. </view>
  11. <view class="detail-info-wrap">
  12. <page-card style="margin-bottom: 30rpx;" :notShow="true" :name="'设备参数'">
  13. <template v-slot:content>
  14. <simple-table :tableHead="tableHead" :list="paramsList"></simple-table>
  15. </template>
  16. </page-card>
  17. </view>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. export default {
  23. data() {
  24. return {
  25. pageData: {},
  26. tableHead: ['名称', '参数'],
  27. paramsList: [{
  28. name: 'PID自动调节设定值',
  29. params: ['0.02MPa']
  30. },{
  31. name: '2#补水流量',
  32. params: ['203.01m³/h']
  33. },{
  34. name: '锅筒水位',
  35. params: ['0.02MM']
  36. },{
  37. name: '锅筒压力',
  38. params: ['0.02MM']
  39. },{
  40. name: '排烟温度',
  41. params: ['0.02℃']
  42. },{
  43. name: '燃烧器负荷',
  44. params: ['0.02%']
  45. },{
  46. name: '起停炉设定值',
  47. params: ['0.02MPa']
  48. },{
  49. name: '主蒸汽压力',
  50. params: ['0.02MPa']
  51. },{
  52. name: '主蒸汽温度',
  53. params: ['0.02℃']
  54. },{
  55. name: '2#蒸汽电动闸',
  56. params: ['0.02%']
  57. },{
  58. name: '水箱液位',
  59. params: ['0.02m']
  60. },{
  61. name: '3#补水泵运行频率',
  62. params: ['0.02Hz']
  63. }]
  64. }
  65. },
  66. onLoad(option) {
  67. this.pageData = JSON.parse(option.data)
  68. },
  69. methods: {
  70. goBack() { // 返回上一頁面
  71. uni.navigateBack()
  72. }
  73. }
  74. }
  75. </script>
  76. <style scoped lang="scss">
  77. .page-body {
  78. .scroll-wrap {
  79. height: calc(100vh - 85rpx);
  80. overflow: scroll;
  81. .basic-info-wrap {
  82. position: relative;
  83. height: auto;
  84. padding: 0rpx 49rpx 0;
  85. background: url(../../../static/page_bg.png);
  86. background-size: 140%;
  87. .info-wrap {
  88. display: flex;
  89. flex-wrap: wrap;
  90. .data-item-wrap {
  91. width: 33.33%;
  92. padding: 9rpx 0;
  93. min-height: 81rpx;
  94. text-align: center;
  95. margin-top: 48rpx;
  96. border-right: 1px solid #FFFFFF;
  97. .title {
  98. font-size: 22rpx;
  99. color: #FFFFFF;
  100. margin-bottom: 14rpx;
  101. }
  102. .data {
  103. font-weight: 700;
  104. font-size: 32rpx;
  105. color: #FFF600;
  106. }
  107. }
  108. .data-item-wrap:nth-child(-n+3) {
  109. margin-top: 0;
  110. }
  111. .data-item-wrap:nth-child(3n) {
  112. border: none;
  113. }
  114. }
  115. .img-wrap {
  116. padding: 38rpx 0 57rpx;
  117. text-align: center;
  118. image {
  119. width: 100rpx;
  120. height: 120rpx;
  121. }
  122. }
  123. .radius-wrap {
  124. position: absolute;
  125. left: 0;
  126. bottom: 0;
  127. width: 100vw;
  128. height: 30rpx;
  129. background-color: #fff;
  130. border-radius: 35rpx 35rpx 0 0;
  131. }
  132. }
  133. .detail-info-wrap {
  134. padding: 40rpx 35rpx;
  135. .detail-wrap {
  136. display: flex;
  137. flex-wrap: wrap;
  138. padding: 35rpx 55rpx 18rpx 55rpx;
  139. color: #8D8D8D;
  140. .item {
  141. display: flex;
  142. font-size: 26rpx;
  143. justify-content: space-between;
  144. width: calc(50% - 61rpx);
  145. margin-bottom: 50rpx;
  146. .params {
  147. color: #00BD00;
  148. }
  149. .status-wrap {
  150. width: 100%;
  151. /deep/ .tip-wrap {
  152. width: 100%;
  153. justify-content: space-between;
  154. }
  155. }
  156. }
  157. .item:nth-child(2n) {
  158. margin-left: 120rpx;
  159. }
  160. }
  161. .params-wrap {
  162. display: flex;
  163. flex-wrap: wrap;
  164. font-size: 26rpx;
  165. padding: 35rpx 55rpx;
  166. .item {
  167. width: calc(50% - 32rpx);
  168. display: flex;
  169. justify-content: space-between;
  170. margin-top: 50rpx;
  171. view:first-child {
  172. color: #8D8D8D;
  173. }
  174. }
  175. .item:nth-child(2n) {
  176. margin-left: 62rpx;
  177. }
  178. .item:nth-child(-n+2) {
  179. margin-top: 0;
  180. }
  181. }
  182. }
  183. }
  184. }
  185. </style>