control.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /* pages/control/control.wxss */
  2. /* logo */
  3. page{
  4. width: 100%;
  5. height: 100%;
  6. }
  7. .switch-1{
  8. width: 100%;
  9. height: 7.5%;
  10. background-color: white;
  11. position: relative;
  12. border-bottom: 0.5px solid grey;
  13. }
  14. .switch-1 image{
  15. position: absolute;
  16. }
  17. .Onlinestatus{
  18. position: absolute;
  19. right: 5%;
  20. top: 20%;
  21. font-weight: 550;
  22. font-size: calc(100vw * 18/375);
  23. }
  24. /* 下拉选择 */
  25. .Dropdown{
  26. height: 100%;
  27. width: 70%;
  28. position: absolute;
  29. left: 15%;
  30. }
  31. /* 分组下拉选择 */
  32. .group{
  33. background-color: cornflowerblue;
  34. color: white;
  35. font-size: calc(100vw * 18/375);
  36. float: left;
  37. margin-top: 5%;
  38. height:calc(100vw * 24/375);
  39. max-width: 60%;
  40. }
  41. /* 设备下拉选择 */
  42. .device{
  43. background-color: cornflowerblue;
  44. color: white;
  45. font-size: calc(100vw * 18/375);
  46. margin-left: 3%;
  47. float: left;
  48. margin-top: 5%;
  49. height: calc(100vw * 24/375);
  50. max-width: 37%;
  51. }
  52. /* 主体 */
  53. .loop-0{
  54. width: 90%;
  55. height: 92%;
  56. margin: 0 auto;
  57. }
  58. /* 各个回路区域 */
  59. .loop-1{
  60. width: 100%;
  61. height: 7.3%;
  62. margin-top: 0.5%;
  63. background-color: cornflowerblue;
  64. position: relative;
  65. }
  66. .loop-1-image-1{
  67. position: absolute;
  68. width: calc(100vw * 27/375);
  69. height: calc(100vw * 27/375);
  70. left: 5%;
  71. top: 13.5%;
  72. }
  73. .loops{
  74. position: absolute;
  75. left: 16%;
  76. width: 53%;
  77. height: 85%;
  78. }
  79. .loops image{
  80. width: 9%;
  81. height: 70%;
  82. }
  83. .loop-1 button{
  84. position: absolute;
  85. display: flex;
  86. align-items:center;
  87. justify-content:center;
  88. font-size: calc(100vw * 11/375);
  89. border-radius: 20px;
  90. width: 12%;
  91. height: 75%;
  92. top: 10%;
  93. }
  94. .loop-1 button:active{
  95. box-shadow:cornflowerblue;
  96. transform: translateY(4px);
  97. }
  98. /* 手动控制栏的按钮定位 */
  99. .manual{
  100. position: absolute;
  101. top: 20%;
  102. left: 5%;
  103. font-size: calc(100vw * 16/375);
  104. }
  105. .loop-install-1{
  106. position: absolute;
  107. left: 20%;
  108. }
  109. .loop-install-2{
  110. position: absolute;
  111. left: 40%;
  112. }
  113. .loop-install-3{
  114. position: absolute;
  115. left: 60%;
  116. }
  117. .loop-install-4{
  118. position: absolute;
  119. left: 80%;
  120. }