loop.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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 * 16/375);
  35. float: left;
  36. margin-top: 5%;
  37. }
  38. /* 设备下拉选择 */
  39. .device{
  40. background-color: cornflowerblue;
  41. color: white;
  42. font-size: calc(100vw * 16/375);
  43. margin-left: 3%;
  44. float: left;
  45. margin-top: 5%;
  46. }
  47. .loop{
  48. width: 100%;
  49. height: 7.5%;
  50. position: relative;
  51. }
  52. .loop text{
  53. position: absolute;
  54. left: 5%;
  55. top: 18%;
  56. font-weight: 550;
  57. font-size: calc(100vw * 16/375);
  58. }
  59. .loop-picker{
  60. position: absolute;
  61. height: 65%;
  62. left: 18%;
  63. top:18%;
  64. background-color:cornflowerblue;
  65. color: white;
  66. font-size: calc(100vw * 16/375);
  67. }
  68. /* 主体 */
  69. .subject{
  70. width: 90%;
  71. margin:0% auto;
  72. height: 72%;
  73. }
  74. /* 时控一二 */
  75. .Time-control{
  76. background-color: cornflowerblue;
  77. width: 100%;
  78. height: 23%;
  79. position: relative;
  80. }
  81. .Time-control text{
  82. position: absolute;
  83. font-weight: 550;
  84. font-size: calc(100vw * 16/375);
  85. }
  86. .Time-control switch{
  87. position: absolute;
  88. left: 30%;
  89. zoom:0.8;
  90. }
  91. .Timecontrol-picker-1{
  92. position: absolute;
  93. left: 55%;
  94. border-radius: 5px;
  95. height: 29.39%;
  96. text-align: center;
  97. font-size: calc(100vw * 10/375);
  98. display: flex;
  99. align-items:center;
  100. justify-content:center;
  101. }
  102. .Timecontrol-button-2{
  103. height:29.39%;
  104. width: 15%;
  105. position: absolute;
  106. right: 3%;
  107. font-size: calc(100vw * 10/375);
  108. display: flex;
  109. align-items:center;
  110. justify-content:center;
  111. }
  112. /* 日期调控 */
  113. .Date-Setting{
  114. background-color: cornflowerblue;
  115. width: 100%;
  116. height: 18%;
  117. position: relative;
  118. }
  119. .Date-Setting text{
  120. position: absolute;
  121. font-weight: 550;
  122. font-size: calc(100vw * 16/375);
  123. }
  124. .Date-Setting image{
  125. width: 7.41%;
  126. height: 34.8%;
  127. position: absolute;
  128. top: 45%;
  129. }
  130. /* 光控 */
  131. .Light-control{
  132. background-color: cornflowerblue;
  133. width: 100%;
  134. height: 23%;
  135. position: relative;
  136. }
  137. .Light-control text{
  138. position: absolute;
  139. font-weight: 550;
  140. font-size: calc(100vw * 16/375);
  141. }
  142. .Light-control switch{
  143. position: absolute;
  144. left: 30%;
  145. zoom: 0.8;
  146. }
  147. .Light-control-picker{
  148. background-color:blue;
  149. color: white;
  150. height: 27.21%;
  151. position: absolute;
  152. right: 16%;
  153. font-size: calc(100vw * 10/375);
  154. display: flex;
  155. align-items:center;
  156. justify-content:center;
  157. border-radius: 5px;
  158. text-align: center;
  159. }
  160. /* 报警 */
  161. .warning{
  162. background-color: cornflowerblue;
  163. width: 100%;
  164. height: 11.4%;
  165. position: relative;
  166. font-size: calc(100vw * 16/375);
  167. }
  168. .warning text{
  169. font-weight: 550;
  170. position: absolute;
  171. top: 10%;
  172. }
  173. .warning-control{
  174. position: absolute;
  175. left: 20%;
  176. top: 10%;
  177. }
  178. /* 刷新页面、存储数据 */
  179. .Refresh{
  180. margin: 3% auto;
  181. width:100%;
  182. height: 10%;
  183. position: relative;
  184. text-align: center;
  185. }
  186. /* 刷新页面 */
  187. .Refresh-1{
  188. height:72.1%;
  189. position: absolute;
  190. left: 12%;
  191. top:5%;
  192. background-color: cornflowerblue;
  193. font-size: calc(100vw * 14/375);
  194. display: flex;
  195. align-items:center;
  196. justify-content:center;
  197. color: white;
  198. }
  199. /* 存储数据 */
  200. .Refresh-2{
  201. height:72.1%;
  202. position: absolute;
  203. right: 12%;
  204. top:5%;
  205. background-color: cornflowerblue;
  206. font-size: calc(100vw * 14/375);
  207. display: flex;
  208. align-items:center;
  209. justify-content:center;
  210. color: white;
  211. }