parameterSetting.vue 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. <template>
  2. <view>
  3. <view class="white">
  4. <view class="title">
  5. <text class="param">参数设定</text>
  6. <view class="tiao"></view>
  7. </view>
  8. <view class="setmenu">
  9. <view class="setItem">
  10. <view class="text">
  11. <text>排风温度设定</text>
  12. </view>
  13. <view class="input">
  14. <input style="margin-left: 20rpx;" placeholder="请输入" />
  15. <view class="danwei">
  16. <text style="margin-left: 10rpx;">℃</text>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="setItem">
  21. <view class="text">
  22. <text>排风湿度设定</text>
  23. </view>
  24. <view class="input">
  25. <input style="margin-left: 20rpx;" placeholder="请输入" />
  26. <view class="danwei"> <text style="margin-left: 14rpx;">%</text></view>
  27. </view>
  28. </view>
  29. <view class="setItem">
  30. <view class="text">
  31. <text>停机延时设定</text>
  32. </view>
  33. <view class="input">
  34. <input style="margin-left: 20rpx;" placeholder="请输入" />
  35. <view class="danwei"> <text style="margin-left: 20rpx;">S</text></view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="buttonItem">
  40. <view class="item">
  41. <view class="text">
  42. <text>控制选择模式</text>
  43. </view>
  44. <button class="button">CK-1</button>
  45. </view>
  46. <view class="item">
  47. <view class="text">
  48. <text>控制模式复位</text>
  49. </view>
  50. <button class="button">复位</button>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="xiabu">
  55. <view class="title">
  56. <text class="param">运行状态</text>
  57. <view class="tiao"></view>
  58. </view>
  59. <view class="head">
  60. <text>设备名称</text>
  61. <text style="margin-left: 30rpx">控制模式</text>
  62. <text>手动命令</text>
  63. <text>实时反馈</text>
  64. </view>
  65. <view class="whiteItem">
  66. <text class="text1">空调送风机</text>
  67. <button class="auto">自动</button>
  68. <button class="stop">停止</button>
  69. <text class="four">运行</text>
  70. </view>
  71. <view class="grayItem">
  72. <text class="text1">空调送风机</text>
  73. <button class="auto">自动</button>
  74. <button class="stop">停止</button>
  75. <text class="four">运行</text>
  76. </view>
  77. <view class="whiteItem">
  78. <text class="text1">一级电加热</text>
  79. <button class="auto">自动</button>
  80. <button class="stop">停止</button>
  81. <text class="four">开启</text>
  82. </view>
  83. <view class="grayItem">
  84. <text class="text1">二级电加热</text>
  85. <button class="auto">自动</button>
  86. <button class="stop">停止</button>
  87. <text class="four">开启</text>
  88. </view>
  89. <view class="whiteItem">
  90. <text class="text1">三级电加热</text>
  91. <button class="auto">自动</button>
  92. <button class="stop">停止</button>
  93. <text class="four">运行</text>
  94. </view>
  95. <view class="grayItem">
  96. <text class="text1">空调送风阀</text>
  97. <button class="auto">自动</button>
  98. <button class="stop">停止</button>
  99. <text class="four">开启</text>
  100. </view>
  101. <view class="whiteItem">
  102. <text class="text1">空调排水阀</text>
  103. <button class="auto">自动</button>
  104. <button class="stop">停止</button>
  105. <text class="four">开启</text>
  106. </view>
  107. <view class="grayItem">
  108. <text class="text1">空调冷水阀</text>
  109. <button class="auto">自动</button>
  110. <view style="display: flex;flex-direction: row;align-items: center;">
  111. <button class="three">100</button>%
  112. </view>
  113. <view class="four1">
  114. <text>76%</text>
  115. </view>
  116. </view>
  117. <view class="whiteItem">
  118. <text class="text1">空调热水阀</text>
  119. <button class="auto">自动</button>
  120. <view style="display: flex;flex-direction: row;align-items: center;">
  121. <button class="three">0</button>%
  122. </view>
  123. <view class="four1">
  124. <text>87%</text>
  125. </view>
  126. </view>
  127. <view class="grayItem">
  128. <text class="text1">空调加湿器</text>
  129. <button class="auto">自动</button>
  130. <view style="display: flex;flex-direction: row;align-items: center;">
  131. <button class="three">0</button>%
  132. </view>
  133. <view class="four1">
  134. <text>98%</text>
  135. </view>
  136. </view>
  137. </view>
  138. <view class="anniu">
  139. <image class="anniu" src="../../static/设备菜单/前往列表@2x.png" @tap="back"></image>
  140. </view>
  141. </view>
  142. </template>
  143. <script>
  144. export default {
  145. data() {
  146. return {
  147. }
  148. },
  149. methods: {
  150. back() {
  151. uni.navigateTo({
  152. url: '/pages/device/deviceInfo/deviceInfo'
  153. })
  154. }
  155. }
  156. }
  157. </script>
  158. <style>
  159. .anniu {
  160. width: 116rpx;
  161. height: 116rpx;
  162. float: right;
  163. margin-right: 10rpx;
  164. }
  165. .four1 {
  166. margin-right: 60rpx;
  167. margin-left: 40rpx;
  168. }
  169. .four {
  170. margin-right: 60rpx;
  171. }
  172. .whiteItem {
  173. height: 60px;
  174. background: white;
  175. border-radius: 4px;
  176. font-size: 30rpx;
  177. display: flex;
  178. justify-content: space-around;
  179. align-items: center;
  180. color: #444546;
  181. }
  182. .grayItem {
  183. height: 60px;
  184. background: #F6F7FB;
  185. border-radius: 4px;
  186. font-size: 30rpx;
  187. display: flex;
  188. align-items: center;
  189. color: #444546;
  190. }
  191. .text1 {
  192. margin-left: 20rpx;
  193. font-size: 30rpx;
  194. color: #444546;
  195. }
  196. .auto {
  197. width: 60px;
  198. height: 33px;
  199. background: #007AFF;
  200. border-radius: 4px;
  201. font-size: 30rpx;
  202. color: white;
  203. display: flex;
  204. align-items: center;
  205. justify-content: center;
  206. }
  207. .three {
  208. margin-right: 10rpx;
  209. margin-left: 0rpx;
  210. display: flex;
  211. align-items: center;
  212. justify-content: center;
  213. font-size: 30rpx;
  214. color: #007AFF;
  215. width: 60px;
  216. height: 33px;
  217. border-radius: 4px;
  218. border: 1px solid #007AFF;
  219. }
  220. .stop {
  221. margin-right: 75rpx;
  222. margin-left: 0rpx;
  223. display: flex;
  224. align-items: center;
  225. justify-content: center;
  226. font-size: 30rpx;
  227. color: #007AFF;
  228. width: 60px;
  229. height: 33px;
  230. border-radius: 4px;
  231. border: 1px solid #007AFF;
  232. }
  233. .head {
  234. height: 60px;
  235. background: #EAF1FE;
  236. border-radius: 4px;
  237. font-size: 30rpx;
  238. display: flex;
  239. justify-content: space-around;
  240. align-items: center;
  241. color: #444546;
  242. }
  243. .xiabu {
  244. margin-left: 24rpx;
  245. margin-top: 24rpx;
  246. background-color: white;
  247. width: 702rpx;
  248. height: 1420rpx;
  249. border-radius: 10rpx;
  250. }
  251. .buttonItem {
  252. display: flex;
  253. flex-direction: row;
  254. margin-top: 5rpx;
  255. }
  256. .button {
  257. width: 320rpx;
  258. height: 98rpx;
  259. margin-top: 20rpx;
  260. background-color: #007AFF;
  261. color: white;
  262. font-size: unset;
  263. display: flex;
  264. align-items: center;
  265. justify-content: center;
  266. }
  267. .item {
  268. margin-left: 20rpx;
  269. }
  270. .setmenu {
  271. display: flex;
  272. flex-wrap: wrap;
  273. }
  274. .setItem {
  275. margin-left: 20rpx;
  276. }
  277. .text {
  278. margin-top: 40rpx;
  279. margin-bottom: 16rpx;
  280. color: #444546;
  281. font-size: 26rpx;
  282. }
  283. .input {
  284. width: 320rpx;
  285. height: 98rpx;
  286. background-color: #eaeaea;
  287. display: flex;
  288. flex-direction: row;
  289. align-items: center;
  290. border-radius: 5rpx;
  291. border: 1px solid #eaeaea;
  292. }
  293. .danwei {
  294. width: 78rpx;
  295. height: 98rpx;
  296. background-color: white;
  297. display: flex;
  298. align-items: center;
  299. }
  300. .white {
  301. width: 702rpx;
  302. height: 711rpx;
  303. background-color: white;
  304. margin-left: 24rpx;
  305. margin-top: 26rpx;
  306. }
  307. .title {
  308. display: flex;
  309. flex-direction: column;
  310. align-items: center;
  311. }
  312. .tiao {
  313. width: 60px;
  314. height: 3px;
  315. margin-top: 20rpx;
  316. background: #007AFF;
  317. }
  318. .param {
  319. font-size: 38rpx;
  320. font-weight: 550;
  321. margin-top: 40rpx;
  322. }
  323. </style>