runningState.vue 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. <template>
  2. <view>
  3. <view class="head">
  4. <view class="shang">
  5. <view class="shangItem">
  6. <text>冷水阀</text>
  7. <text>94%</text>
  8. </view>
  9. <view class="shangItem">
  10. <text style="margin-left: 6rpx;">电加热</text>
  11. <view class="buttonItem">
  12. <button class="but">一</button>
  13. <button class="but">二</button>
  14. <button class="but">三</button>
  15. </view>
  16. </view>
  17. <view class="shangItem">
  18. <text>加湿器</text>
  19. <text>0%</text>
  20. </view>
  21. </view>
  22. <view class="comp"></view>
  23. <view class="xia">
  24. <view class="xiaItem">
  25. <text>初效滤网</text>
  26. <view class="xiaBut">
  27. <button class="xiaButton">正常</button>
  28. </view>
  29. </view>
  30. <view class="xiaItem">
  31. <text>热水阀</text>
  32. <text>87%</text>
  33. </view>
  34. <view class="xiaItem">
  35. <text>高温报警</text>
  36. <view class="xiaBut">
  37. <button class="xiaButton">正常</button>
  38. </view>
  39. </view>
  40. <view class="xiaItem">
  41. <text>缺风压差</text>
  42. <view class="xiaBut">
  43. <button class="xiaButton">正常</button>
  44. </view>
  45. </view>
  46. <view class="xiaItem">
  47. <text>中效滤网</text>
  48. <view class="xiaBut">
  49. <button class="xiaButton">正常</button>
  50. </view>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="hold">
  55. <view class="tiao">
  56. <text class="tiaoText">CK-1</text>
  57. </view>
  58. <view class="param">
  59. <view class="paramItem">
  60. <text class="name">温度</text>
  61. <text class="value">22.5℃</text>
  62. </view>
  63. <view class="paramItem">
  64. <text class="name">湿度</text>
  65. <text class="value">59.7%</text>
  66. </view>
  67. <view class="paramItem">
  68. <text class="name">含湿量</text>
  69. <text class="value">10.2g/kg</text>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="hold">
  74. <view class="tiao">
  75. <text class="tiaoText">CK-2</text>
  76. </view>
  77. <view class="param">
  78. <view class="paramItem">
  79. <text class="name">温度</text>
  80. <text class="value">22.5℃</text>
  81. </view>
  82. <view class="paramItem">
  83. <text class="name">湿度</text>
  84. <text class="value">59.7%</text>
  85. </view>
  86. <view class="paramItem">
  87. <text class="name">含湿量</text>
  88. <text class="value">10.2g/kg</text>
  89. </view>
  90. </view>
  91. </view>
  92. <view class="stop">
  93. <view class="stopTiao">
  94. <text class="stopTiaoText">停机延时:180S</text>
  95. </view>
  96. <view class="param">
  97. <view class="paramItem1">
  98. <text class="name1">排风温度设定</text>
  99. <text class="value">22.5℃</text>
  100. </view>
  101. <view class="paramItem1">
  102. <text class="name1">排风湿度设定</text>
  103. <text class="value">55%</text>
  104. </view>
  105. <view class="paramItem1">
  106. <text class="name1">排风含湿量设定</text>
  107. <text class="value">9.6g/kg</text>
  108. </view>
  109. </view>
  110. </view>
  111. <view class="stopButton">
  112. <button class="button">停止按钮</button>
  113. </view>
  114. <view class="anniu" @tap="back">
  115. <image class="anniu" src="../../static/设备菜单/前往列表@2x.png"></image>
  116. </view>
  117. </view>
  118. </template>
  119. <script>
  120. export default {
  121. data() {
  122. return {
  123. }
  124. },
  125. methods: {
  126. back() {
  127. uni.navigateTo({
  128. url: '/pages/device/deviceInfo/deviceInfo'
  129. })
  130. }
  131. }
  132. }
  133. </script>
  134. <style>
  135. .anniu {
  136. width: 116rpx;
  137. height: 116rpx;
  138. float: right;
  139. margin-right: 10rpx;
  140. }
  141. .button {
  142. background-color: #E12A1F;
  143. color: white;
  144. width: 654rpx;
  145. margin-left: 48rpx;
  146. margin-top: 44rpx;
  147. }
  148. .name1 {
  149. color: #848586;
  150. font-size: 24rpx;
  151. }
  152. .name {
  153. color: #848586;
  154. font-size: 30rpx;
  155. }
  156. .value {
  157. font-size: 38rpx;
  158. color: #444546;
  159. }
  160. .paramItem {
  161. display: flex;
  162. flex-direction: column;
  163. margin-left: 58rpx;
  164. margin-right: 58rpx;
  165. }
  166. .paramItem1 {
  167. display: flex;
  168. flex-direction: column;
  169. margin-left: 40rpx;
  170. margin-right: 40rpx;
  171. }
  172. .param {
  173. display: flex;
  174. flex-direction: row;
  175. margin-left: 24rpx;
  176. align-items: center;
  177. justify-content: center;
  178. width: 702rpx;
  179. height: 140rpx;
  180. background-color: white;
  181. border-bottom-right-radius: 8rpx;
  182. border-bottom-left-radius: 8rpx;
  183. }
  184. .tiaoText {
  185. margin-left: 44rpx;
  186. font-size: 34rpx;
  187. font-weight: 550;
  188. }
  189. .stopTiaoText {
  190. margin-left: 44rpx;
  191. font-size: 36rpx;
  192. font-weight: 550;
  193. }
  194. .tiao {
  195. margin-top: 26rpx;
  196. border-top-left-radius: 8rpx;
  197. border-top-right-radius: 8rpx;
  198. margin-left: 24rpx;
  199. width: 702rpx;
  200. height: 60px;
  201. background: #EAF1FE;
  202. font-size: 30rpx;
  203. color: #007AFF;
  204. display: flex;
  205. align-items: center;
  206. }
  207. .stopTiao {
  208. margin-top: 26rpx;
  209. border-top-left-radius: 8rpx;
  210. border-top-right-radius: 8rpx;
  211. margin-left: 24rpx;
  212. width: 702rpx;
  213. height: 60px;
  214. background: #007AFF;
  215. font-size: 38rpx;
  216. color: white;
  217. display: flex;
  218. align-items: center;
  219. }
  220. .xia {
  221. display: flex;
  222. flex-direction: row;
  223. }
  224. .xiaItem {
  225. color: white;
  226. display: flex;
  227. flex-direction: column;
  228. margin-left: 20rpx;
  229. margin-right: 20rpx;
  230. align-items: center;
  231. justify-content: center;
  232. margin-bottom: 16rpx;
  233. }
  234. .shang {
  235. display: flex;
  236. flex-direction: row;
  237. }
  238. .shangItem {
  239. color: white;
  240. display: flex;
  241. flex-direction: column;
  242. margin-left: 30rpx;
  243. margin-right: 30rpx;
  244. align-items: center;
  245. justify-content: center;
  246. margin-bottom: 16rpx;
  247. }
  248. .buttonItem {
  249. display: flex;
  250. flex-direction: row;
  251. font-size: 20rpx;
  252. color: #444546;
  253. }
  254. .but {
  255. width: 50rpx;
  256. height: 50rpx;
  257. display: flex;
  258. align-items: center;
  259. justify-content: center;
  260. margin-left: 10rpx;
  261. margin-top: 5rpx;
  262. font-size: 24rpx;
  263. }
  264. .xiaBut {
  265. display: flex;
  266. flex-direction: row;
  267. font-size: 20rpx;
  268. color: #444546;
  269. }
  270. .xiaButton {
  271. width: 100rpx;
  272. height: 50rpx;
  273. display: flex;
  274. align-items: center;
  275. justify-content: center;
  276. margin-left: 10rpx;
  277. margin-top: 5rpx;
  278. font-size: 24rpx;
  279. }
  280. .head {
  281. font-size: 26rpx;
  282. height: 300px;
  283. background: linear-gradient(180deg, #2A8FFB 0%, #0467FB 100%);
  284. display: flex;
  285. flex-direction: column;
  286. align-items: center;
  287. justify-content: center;
  288. }
  289. .comp {
  290. background-color: #D6D6D6;
  291. width: 702rpx;
  292. height: 200rpx;
  293. border-radius: 8rpx;
  294. margin-bottom: 20rpx;
  295. }
  296. </style>