device.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. #device_container {
  2. position: relative;
  3. top: -65px;
  4. }
  5. .head .line {
  6. width: 4px;
  7. height: 14px;
  8. background-color: #5d4db8;
  9. margin-right: 7px;
  10. }
  11. .head view {
  12. display: flex;
  13. justify-self: start;
  14. align-items: center;
  15. }
  16. .ring_2 {
  17. width: 199px;
  18. height: 203px;
  19. background: rgba(93, 77, 184, 0);
  20. border: 2px solid #f7f7f7;
  21. opacity: 0.43;
  22. border-radius: 50%;
  23. }
  24. .ring_3 {
  25. width: 158px;
  26. height: 158px;
  27. background: rgba(93, 77, 184, 0);
  28. border: 3px solid #f6f6f6;
  29. opacity: 0.54;
  30. border-radius: 50%;
  31. }
  32. .connect_img {
  33. width: 85px;
  34. height: 80px;
  35. }
  36. .left {
  37. line-height: 35px;
  38. }
  39. /*设备连接模块*/
  40. .device_bg {
  41. width: 90px;
  42. height: 100px;
  43. background-image: url("https://img.shuimuai.com/web/device_bg.png");
  44. background-position: center;
  45. background-size: 100% 100%;
  46. }
  47. .dot_container {
  48. height: 100px;
  49. }
  50. .dot_wait {
  51. height: 5px;
  52. width: 80px;
  53. background-image: url("https://img.shuimuai.com/web/connect_line.png");
  54. background-position: center;
  55. background-size: 100% 100%;
  56. }
  57. .device_phone {
  58. width: 30px;
  59. height: 40px;
  60. }
  61. .device_brain {
  62. width: 40px;
  63. height: 40px;
  64. }
  65. .device_text {
  66. padding: 3px;
  67. font-size: 10px;
  68. }
  69. .moving_dot {
  70. width: 18px;
  71. height: 18px;
  72. position: relative;
  73. left: 15px;
  74. bottom: 7px;
  75. }
  76. .moving {
  77. animation: moving 2s linear infinite;
  78. }
  79. /*左右移动动画*/
  80. @keyframes moving {
  81. 0% {
  82. left: 0px;
  83. }
  84. 50% {
  85. left: 35px;
  86. }
  87. 100% {
  88. left: 0px;
  89. }
  90. }
  91. /*玩具列表*/
  92. .toy_list {
  93. overflow-x: scroll;
  94. }
  95. .toy_item {
  96. width: 120px;
  97. height: 130px;
  98. }
  99. /*玩具不同背景*/
  100. .toy_item_normal_bg {
  101. background-image: url("https://img.shuimuai.com/web/toy_bg.png");
  102. background-position: center;
  103. background-size: 100% 100%;
  104. }
  105. /*玩具选中背景*/
  106. .toy_item_action_bg {
  107. background-image: url("https://img.shuimuai.com/web/toy_bg_action.png");
  108. background-position: center;
  109. background-size: 100% 100%;
  110. }
  111. /*玩具图片*/
  112. .toy_img {
  113. width: 65px;
  114. height: 65px;
  115. }
  116. .toy_text {
  117. font-size: 12px;
  118. }
  119. .toy_action_text {
  120. font-size: 11px;
  121. width: 100%;
  122. }
  123. .cut_brain_icon {
  124. width: 11px;
  125. height: 11px;
  126. }
  127. .cut_text {
  128. font-size: 12px;
  129. }
  130. /*设备绿色信号灯*/
  131. .sign_green {
  132. width: 20px;
  133. height: 10px;
  134. position: relative;
  135. top: 18px;
  136. left: 1px;
  137. }
  138. /*水母男孩*/
  139. .connected_boy {
  140. width: 110px;
  141. height: 110px;
  142. position: absolute;
  143. right: -60px;
  144. top: 63px;
  145. }
  146. .boy_session {
  147. background-image: url("https://img.shuimuai.com/web/boy_session.png");
  148. background-position: center;
  149. background-size: 100% 100%;
  150. width: 120px;
  151. height: 100px;
  152. position: absolute;
  153. top: 18px;
  154. right: 25px;
  155. z-index: 4;
  156. }
  157. .boy_session_text {
  158. font-size: 12px;
  159. color: #6b6b6b;
  160. }
  161. .device_electric {
  162. position: relative;
  163. width: 16px;
  164. height: 16px;
  165. top: 0px;
  166. right: 0px;
  167. z-index: 5;
  168. }
  169. /*玩具模块*/
  170. .uav_toy {
  171. width: 40px;
  172. height: 40px;
  173. }
  174. /* 选择玩具 */
  175. .toy_list {
  176. width: 100%;
  177. overflow-x: auto;
  178. }
  179. .toy_list_content {
  180. width: 120%;
  181. display: inline-block;
  182. display: flex;
  183. flex-wrap: wrap;
  184. }
  185. /* 测试标签 */
  186. /* toy_item_action_bg toy_item_normal_bg
  187. toy_list_content
  188. */