ble.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. .lamp{
  2. width: 100vw;
  3. height: 100vh;
  4. position: relative;
  5. background-color: #3b3b3b;
  6. }
  7. .lamp_header{
  8. width: 100%;
  9. height: 40px;
  10. background-color: #fff;
  11. box-sizing: border-box;
  12. }
  13. .lamp__content{
  14. width: 100%;
  15. min-height: 100vh;
  16. position: relative;
  17. height: calc(100% - 40px);
  18. /* 暗灰 */
  19. background-color: #3b3b3b;
  20. box-sizing: border-box;
  21. padding-bottom: 40px;
  22. overflow: hidden;
  23. }
  24. .lampControl{
  25. width: 100%;
  26. height: auto;
  27. padding: 5px 20px;
  28. box-sizing: border-box;
  29. }
  30. .lampControl .lampControl__device_name{
  31. width: 100%;
  32. height: 40px;
  33. margin-bottom: 5px;
  34. padding: 0 20px;
  35. /* box-sizing: border-box; */
  36. margin-left: -20px;
  37. margin-top: -5px;
  38. display: flex;
  39. align-items: center;
  40. justify-content: space-between;
  41. background-color: #fff;
  42. /* border-radius: 5px; */
  43. }
  44. .deviceName{
  45. font-size: 18px;
  46. font-weight: bold;
  47. }
  48. .service_items{
  49. width: 100%;
  50. height: calc(100% - 40px);
  51. padding: 5px 20px;
  52. box-sizing: border-box;
  53. overflow: auto;
  54. }
  55. .service_item{
  56. width: 100%;
  57. height: auto;
  58. margin-bottom: 5px;
  59. background-color: #fff;
  60. border-radius: 5px;
  61. padding: 5px 10px;
  62. box-sizing: border-box;
  63. }
  64. .service_item .service_title{
  65. font-size: 18px;
  66. font-weight: bold;
  67. margin-bottom: 5px;
  68. display: flex;
  69. align-items: center;
  70. justify-content: space-between;
  71. padding: 5px;
  72. box-sizing: border-box;
  73. border-bottom: #00a790 1px solid;
  74. }
  75. .service_characteristics{
  76. width: 100%;
  77. height: auto;
  78. padding: 5px;
  79. margin-top: 5px;
  80. box-sizing: border-box;
  81. display: flex;
  82. flex-wrap: wrap;
  83. justify-content: space-between;
  84. }
  85. .lampControl__switch{
  86. width: 30px;
  87. height: 30px;
  88. border-radius: 50%;
  89. background-color: #3b3b3b;
  90. align-items: center;
  91. padding: 5px;
  92. box-sizing: border-box;
  93. }
  94. .switch-open{
  95. background-color: #f58505;
  96. }
  97. .lampControl__switch image{
  98. width: 100%;
  99. height: 100%;
  100. }
  101. .lampControl__switch-text{
  102. font-size: 18px;
  103. margin-left: 10px;
  104. }
  105. .lampControl_title{
  106. font-size: 18px;
  107. font-weight: bold;
  108. margin-bottom: 10px;
  109. display: flex;
  110. align-items: center;
  111. }
  112. .lampControl_title .subTitle{
  113. font-size: 14px;
  114. font-weight: normal;
  115. margin-left: 10px;
  116. }
  117. .lampControl_slider{
  118. width: 100%;
  119. height: 50px;
  120. }
  121. .lampControl__scan{
  122. width: 100%;
  123. height: calc(100% - 40px);
  124. border-radius: 5px;
  125. box-shadow: 0 0 1px 0px #3b3b3b;
  126. display: flex;
  127. align-items: center;
  128. justify-content: center;
  129. box-sizing: border-box;
  130. }
  131. .lampControl__scan .scanBtn{
  132. width: 130px;
  133. height: 130px;
  134. border-radius: 50%;
  135. background-color: #f58505;
  136. color:#fff;
  137. padding: 5px;
  138. font-size: larger;
  139. box-sizing: border-box;
  140. display: flex;
  141. align-items: center;
  142. justify-content: center;
  143. box-shadow: 0 0 1px 0px #3b3b3b;
  144. }
  145. .scanBtn:active{
  146. background-color: #f78e16;
  147. box-shadow: 0 0 3px 0px #858484;
  148. }
  149. .btn{
  150. display: flex;
  151. justify-content: center;
  152. align-items: center;
  153. box-sizing: border-box;
  154. border-radius: 3px;
  155. background-color: #00a790;
  156. color: white;
  157. padding: 5px 25px;
  158. width: auto;
  159. height: auto;
  160. box-shadow: 1px 1px 5px rgb(119, 119, 119);
  161. }
  162. .btn:active{
  163. background-color: #00a790;
  164. box-shadow: 1px 1px 3px black;
  165. }