loop.wxss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. /* pages/loop/loop.wxss */
  2. page{
  3. width: 100%;
  4. height: 100%;
  5. }
  6. .switch-1{
  7. width: 100%;
  8. height: 7.5%;
  9. background-color: white;
  10. position: relative;
  11. border-bottom: 0.5px solid grey;
  12. }
  13. .switch-1 image{
  14. position: absolute;
  15. }
  16. .Onlinestatus{
  17. position: absolute;
  18. right: 5%;
  19. top: 20%;
  20. font-weight: 550;
  21. font-size: calc(100vw * 18/375);
  22. }
  23. /* 下拉选择 */
  24. .Dropdown{
  25. height: 100%;
  26. width: 70%;
  27. position: absolute;
  28. left: 15%;
  29. }
  30. /* 分组下拉选择 */
  31. .group{
  32. background-color: cornflowerblue;
  33. color: white;
  34. font-size: calc(100vw * 18/375);
  35. float: left;
  36. margin-top: 5%;
  37. height:calc(100vw * 24/375);
  38. max-width: 60%;
  39. }
  40. /* 设备下拉选择 */
  41. .device{
  42. background-color: cornflowerblue;
  43. color: white;
  44. font-size: calc(100vw * 18/375);
  45. margin-left: 3%;
  46. float: left;
  47. margin-top: 5%;
  48. height: calc(100vw * 24/375);
  49. max-width: 37%;
  50. }
  51. .loop{
  52. width: 100%;
  53. height: 7.5%;
  54. position: relative;
  55. }
  56. .loop text{
  57. position: absolute;
  58. left: 5%;
  59. top: 18%;
  60. font-weight: 550;
  61. font-size: calc(100vw * 16/375);
  62. }
  63. .loop-picker{
  64. position: absolute;
  65. left: 18%;
  66. top:18%;
  67. background-color:cornflowerblue;
  68. color: white;
  69. font-size: calc(100vw * 18/375);
  70. }
  71. /* 主体 */
  72. .subject{
  73. width: 90%;
  74. margin:0% auto;
  75. height: 72%;
  76. }
  77. /* 时控一二 */
  78. .Time-control{
  79. background-color: cornflowerblue;
  80. width: 100%;
  81. height: 23%;
  82. position: relative;
  83. }
  84. .Time-control text{
  85. position: absolute;
  86. font-weight: 550;
  87. font-size: calc(100vw * 18/375);
  88. }
  89. .Time-control switch{
  90. position: absolute;
  91. left: 30%;
  92. zoom:0.8;
  93. }
  94. .Timecontrol-picker-1{
  95. position: absolute;
  96. left: 55%;
  97. border-radius: 5px;
  98. height: 29.39%;
  99. text-align: center;
  100. font-size: calc(100vw * 14/375);
  101. display: flex;
  102. align-items:center;
  103. justify-content:center;
  104. }
  105. .Timecontrol-button-2{
  106. height:29.39%;
  107. width: 18%;
  108. position: absolute;
  109. right: 3%;
  110. font-size: calc(100vw * 14/375);
  111. display: flex;
  112. align-items:center;
  113. justify-content:center;
  114. }
  115. /* 日期调控 */
  116. .Date-Setting{
  117. background-color: cornflowerblue;
  118. width: 100%;
  119. height: 18%;
  120. position: relative;
  121. }
  122. .Date-Setting text{
  123. position: absolute;
  124. font-weight: 550;
  125. font-size: calc(100vw * 18/375);
  126. }
  127. .Date-Setting image{
  128. width: calc(100vw * 25/375);
  129. height: calc(100vw * 25/375);
  130. position: absolute;
  131. top: 45%;
  132. }
  133. /* 光控 */
  134. .Light-control{
  135. background-color: cornflowerblue;
  136. width: 100%;
  137. height: 23%;
  138. position: relative;
  139. }
  140. .Light-control text{
  141. position: absolute;
  142. font-weight: 550;
  143. font-size: calc(100vw * 18/375);
  144. }
  145. .Light-control switch{
  146. position: absolute;
  147. left: 30%;
  148. zoom: 0.8;
  149. }
  150. .Light-control-picker{
  151. background-color:blue;
  152. color: white;
  153. height: 27.21%;
  154. position: absolute;
  155. right: 16%;
  156. font-size: calc(100vw * 14/375);
  157. display: flex;
  158. align-items:center;
  159. justify-content:center;
  160. border-radius: 5px;
  161. text-align: center;
  162. }
  163. /* 报警 */
  164. .warning{
  165. background-color: cornflowerblue;
  166. width: 100%;
  167. height: 11.4%;
  168. position: relative;
  169. font-size: calc(100vw * 18/375);
  170. }
  171. .warning text{
  172. font-weight: 550;
  173. position: absolute;
  174. top: 10%;
  175. }
  176. .warning-control{
  177. position: absolute;
  178. left: 20%;
  179. top: 10%;
  180. }
  181. /* 刷新页面、存储数据 */
  182. .Refresh{
  183. margin: 3% auto;
  184. width:100%;
  185. height: 10%;
  186. position: relative;
  187. text-align: center;
  188. }
  189. .Refresh button:active{
  190. box-shadow:cornflowerblue;
  191. transform: translateY(4px);
  192. }
  193. /* 刷新页面 */
  194. .Refresh-1{
  195. height:72.1%;
  196. position: absolute;
  197. left: 12%;
  198. top:5%;
  199. background-color: cornflowerblue;
  200. font-size: calc(100vw * 18/375);
  201. display: flex;
  202. align-items:center;
  203. justify-content:center;
  204. color: white;
  205. }
  206. /* 存储数据 */
  207. .Refresh-2{
  208. height:72.1%;
  209. position: absolute;
  210. right: 12%;
  211. top:5%;
  212. background-color: cornflowerblue;
  213. font-size: calc(100vw * 18/375);
  214. display: flex;
  215. align-items:center;
  216. justify-content:center;
  217. color: white;
  218. }
  219. /* 新设备时控 */
  220. .newtime1{
  221. background-color: cornflowerblue;
  222. width: 100%;
  223. height: 25%;
  224. display: flex;
  225. align-items: center;
  226. position: relative;
  227. }
  228. .newtime1 switch{
  229. position: absolute;
  230. left: 12%;
  231. }
  232. .startTime{
  233. position: absolute;
  234. left: 40%;
  235. top: 35%;
  236. background-color: rgb(33, 111, 156);
  237. width: 20%;
  238. height: 30%;
  239. border-radius: 10px;
  240. display: flex;
  241. align-items: center;
  242. justify-content: center;
  243. font-size: calc(100vw * 16/375);
  244. }
  245. .endTime{
  246. position: absolute;
  247. left: 74%;
  248. top: 35%;
  249. background-color: rgb(33, 111, 156);
  250. width: 20%;
  251. height: 30%;
  252. border-radius: 10px;
  253. display: flex;
  254. align-items: center;
  255. justify-content: center;
  256. font-size: calc(100vw * 16/375);
  257. }
  258. .newtime1 text{
  259. font-size: calc(100vw * 18/375);
  260. font-weight: 550;
  261. position: absolute;
  262. top: 2%;
  263. }
  264. .newtime2{
  265. background-color: cornflowerblue;
  266. width: 100%;
  267. height: 25%;
  268. margin-top: 1%;
  269. display: flex;
  270. align-items: center;
  271. position: relative;
  272. }
  273. .newtime2 text{
  274. font-size: calc(100vw * 18/375);
  275. font-weight: 550;
  276. position: absolute;
  277. top: 2%;
  278. }
  279. .newtime2 switch{
  280. position: absolute;
  281. left: 12%;
  282. }
  283. /* 新设备光控 */
  284. .newlight{
  285. background-color: cornflowerblue;
  286. width: 100%;
  287. height: 42%;
  288. margin-top: 1%;
  289. display: flex;
  290. align-items: center;
  291. justify-content: center;
  292. position: relative;
  293. }
  294. .newlight switch{
  295. position: absolute;
  296. left: 15%;
  297. }
  298. .newlight text{
  299. font-size: calc(100vw * 18/375);
  300. font-weight: 550;
  301. position: absolute;
  302. left: 50.5%;
  303. left: 50%;
  304. }
  305. .lightstartTime{
  306. position: absolute;
  307. left: 42%;
  308. top:25%;
  309. background-color: rgb(33, 111, 156);
  310. width: 20%;
  311. height: 20%;
  312. border-radius: 10px;
  313. display: flex;
  314. align-items: center;
  315. justify-content: center;
  316. font-size: calc(100vw * 16/375);
  317. }
  318. .lightendTime{
  319. position: absolute;
  320. left: 77%;
  321. top:25%;
  322. background-color: rgb(33, 111, 156);
  323. width: 20%;
  324. height: 20%;
  325. border-radius: 10px;
  326. display: flex;
  327. align-items: center;
  328. justify-content: center;
  329. font-size: calc(100vw * 16/375);
  330. }
  331. .weather{
  332. position: absolute;
  333. left: 78%;
  334. top:35%;
  335. background-color: rgb(33, 111, 156);
  336. width: 20%;
  337. height: 30%;
  338. border-radius: 10px;
  339. display: flex;
  340. align-items: center;
  341. justify-content: center;
  342. font-size: calc(100vw * 16/375);
  343. }
  344. /* 开启条件 */
  345. .conditions{
  346. position: absolute;
  347. top: 60%;
  348. left: 55%;
  349. }
  350. .check{
  351. margin:8px auto;
  352. }
  353. .newChange{
  354. width: 20%;
  355. height: 80%;
  356. position: absolute;
  357. right: 5%;
  358. top: 10%;
  359. }
  360. .newChange button{
  361. width: 100%;
  362. height: 100%;
  363. font-size: calc(100vw * 18/375);
  364. background-color: cornflowerblue;
  365. display: flex;
  366. justify-content: center;
  367. align-items: center;
  368. color: #ffffff;
  369. }
  370. .control_model{
  371. position: absolute;
  372. left: 75%;
  373. background-color: blue;
  374. color: #ffffff;
  375. width: 20%;
  376. height: 30%;
  377. display: flex;
  378. align-items: center;
  379. justify-content: center;
  380. font-size: calc(100vw * 16/375);
  381. }