index.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. .main-box {
  2. display: flex;
  3. flex-direction: column;
  4. padding: 10px 20px;
  5. overflow: hidden;
  6. height: 100%;
  7. .box-first {
  8. display: flex;
  9. flex-direction: row;
  10. .machine {
  11. width: 400px;
  12. text-align: center;
  13. img{
  14. width: 343px;
  15. height: 236px;
  16. }
  17. }
  18. .machine-right {
  19. flex: 1;
  20. display: flex;
  21. flex-direction: column;
  22. // background: #111827;
  23. height: 100%;
  24. padding-bottom: 20px;
  25. .machine-bottom {
  26. margin-top: 10px;
  27. ul {
  28. display: flex;
  29. list-style-type: none;
  30. padding: 0;
  31. margin: 0;
  32. justify-content: space-between;
  33. span {
  34. color: #82879d;
  35. font-size: 18px;
  36. font-weight: 600;
  37. }
  38. li {
  39. display: flex;
  40. flex-direction: column;
  41. margin-right: 20px;
  42. background: #1E1F25;
  43. height: 150px;
  44. }
  45. li:first-child {
  46. width: 38%;
  47. .status {
  48. display: flex;
  49. margin-top: 10px;
  50. justify-content: space-around;
  51. .status-list {
  52. display: flex;
  53. flex-direction: column;
  54. // .robot_img {
  55. // width: 58px;
  56. // height: 49px;
  57. // }
  58. .staus-info {
  59. display: flex;
  60. margin-top: 10px;
  61. justify-content: space-between;
  62. width: 58px;
  63. .infoimg {
  64. width: 17px;
  65. height: 17px;
  66. background-image: url("./assets/default.png");
  67. }
  68. .infotext {
  69. font-size: 16px;
  70. font-weight: 500;
  71. color: #636c97;
  72. }
  73. .active {
  74. color: white;
  75. font-weight: 400;
  76. }
  77. }
  78. }
  79. }
  80. }
  81. li:nth-child(2) {
  82. width: 15%;
  83. .signal-status {
  84. display: flex;
  85. margin-top: 15px;
  86. margin-left: 25px;
  87. .signal-status-list {
  88. display: flex;
  89. flex-direction: column;
  90. padding-right: 30px;
  91. white-space: nowrap;
  92. .signal-icon {
  93. position: relative;
  94. img:first-child {
  95. width: 58px;
  96. height: 49px;
  97. }
  98. img:last-child {
  99. position: absolute;
  100. right: 8px;
  101. bottom: 0;
  102. width: 18px;
  103. height: 18px;
  104. }
  105. }
  106. .signal-text {
  107. margin-top: 10px;
  108. font-size: 16px;
  109. font-weight: 500;
  110. color: #636c97;
  111. }
  112. }
  113. }
  114. }
  115. li:nth-child(3) {
  116. width: 25%;
  117. }
  118. .speed {
  119. // display: flex;
  120. color: #596189;
  121. font-size: 16px;
  122. font-weight: 600;
  123. width: 100%;
  124. margin-top: 23px;
  125. padding-left: 20px;
  126. // justify-content: space-between;
  127. .p {
  128. width: 199px;
  129. display: inline-block;
  130. height: 40px;
  131. font {
  132. color: white;
  133. max-width: 60%;
  134. display: inline-block;
  135. overflow: hidden;
  136. position: relative;
  137. top: 5px;
  138. white-space: nowrap;
  139. text-overflow: ellipsis;
  140. }
  141. em {
  142. font-style: normal;
  143. color: #323858;
  144. font-size: 14px;
  145. }
  146. }
  147. }
  148. li:last-child {
  149. width: 25%;
  150. margin-right: 0px;
  151. .times {
  152. color: #596189;
  153. font-size: 16px;
  154. font-weight: 600;
  155. margin-top: 28px;
  156. font {
  157. color: white;
  158. font-size: 14px;
  159. max-width: 60%;
  160. display: inline-block;
  161. overflow: hidden;
  162. position: relative;
  163. top: 5px;
  164. white-space: nowrap;
  165. text-overflow: ellipsis;
  166. }
  167. }
  168. .times:last-child {
  169. margin-top: 20px;
  170. }
  171. }
  172. }
  173. }
  174. }
  175. }
  176. .box-second{
  177. display: flex;
  178. flex-direction: column;
  179. background-color: #1E1F25;
  180. .storage-bottom {
  181. display: flex;
  182. padding: 20px;
  183. min-height: 680px;
  184. height: calc(100vh - 350px);
  185. @media screen and(max-height:864px) and (max-width: 1152px) and (min-width:1024px) {
  186. height: calc(100vh - 410px);
  187. }
  188. .storagebox{
  189. width: 100%;
  190. display: flex;
  191. height: 100%;
  192. :last-child{
  193. margin-right: 0;
  194. }
  195. }
  196. }
  197. .storage-page{
  198. text-align: right;
  199. color: #fff;
  200. padding-right: 30px;
  201. font-size: 13px;
  202. padding-bottom: 10px;
  203. position: absolute;
  204. right: 20px;
  205. margin-top: 12px;
  206. span{
  207. padding: 0 6px;
  208. }
  209. a{
  210. margin-right: 10px;
  211. }
  212. a.active{
  213. color: #1890ff;
  214. border: #1890ff solid 1px;
  215. background-color: #111827;
  216. padding:0 4px;
  217. text-align: center;
  218. }
  219. }
  220. }
  221. }
  222. @media screen and(max-width:1800px) and(min-width:1400px) {
  223. .main-box .box-first .machine-right .machine-bottom ul li:first-child {
  224. width: 625px
  225. }
  226. .main-box
  227. .box-first
  228. .machine-right
  229. .machine-bottom
  230. ul
  231. li:first-child
  232. .status
  233. .status-list
  234. img {
  235. width: 45px;
  236. height: 45px;
  237. }
  238. .main-box
  239. .box-first
  240. .machine-right
  241. .machine-bottom
  242. ul
  243. li:first-child
  244. .status
  245. .status-list
  246. .staus-info
  247. .infoimg {
  248. width: 25px;
  249. background-repeat: no-repeat;
  250. height: 25px;
  251. margin-top: -3px;
  252. img {
  253. width: 20px;
  254. height: 20px;
  255. }
  256. }
  257. .main-box
  258. .box-first
  259. .machine-right
  260. .machine-bottom
  261. ul
  262. li:first-child
  263. .status
  264. .status-list
  265. .staus-info {
  266. width: 0.775rem;
  267. }
  268. .main-box
  269. .box-first
  270. .machine-right
  271. .machine-bottom
  272. ul
  273. li:nth-child(2)
  274. .signal-status
  275. .signal-status-list {
  276. padding-right: 30px;
  277. }
  278. }
  279. @media screen and(max-width:1400px) and(min-width:1279px) {
  280. .main-box .box-first .machine-right .machine-bottom ul li:first-child {
  281. width: 605px
  282. }
  283. .main-box
  284. .box-first
  285. .machine-right
  286. .machine-bottom
  287. ul
  288. li:first-child
  289. .status
  290. .status-list
  291. .staus-info {
  292. width: 0.775rem;
  293. }
  294. .main-box
  295. .box-first
  296. .machine-right
  297. .machine-bottom
  298. ul
  299. li:first-child
  300. .status
  301. .status-list
  302. img {
  303. width: 45px;
  304. height: 45px;
  305. }
  306. .main-box
  307. .box-first
  308. .machine-right
  309. .machine-bottom
  310. ul
  311. li:first-child
  312. .status
  313. .status-list
  314. .staus-info
  315. .infoimg {
  316. width: 18px;
  317. background-repeat: no-repeat;
  318. height: 18px;
  319. margin-top: -1px;
  320. background-size: contain;
  321. img {
  322. width: 20px;
  323. height: 20px;
  324. }
  325. }
  326. .main-box .box-first .machine-right {
  327. padding-bottom: 10px;
  328. }
  329. }
  330. @media screen and(max-width:1279px) {
  331. .main-box .box-first .machine-right .machine-bottom ul li:first-child {
  332. width: 533px
  333. }
  334. .main-box .box-first .machine-right .machine-bottom ul .speed .p{
  335. width: auto;
  336. }
  337. .main-box
  338. .box-first
  339. .machine-right
  340. .machine-bottom
  341. ul
  342. li:first-child
  343. .status
  344. .status-list
  345. img {
  346. width: 45px;
  347. height: 45px;
  348. }
  349. .main-box
  350. .box-first
  351. .machine-right
  352. .machine-bottom
  353. ul
  354. li:first-child
  355. .status
  356. .status-list {
  357. padding-right: 15px;
  358. align-items: center;
  359. }
  360. .main-box
  361. .box-first
  362. .machine-right
  363. .machine-bottom
  364. ul
  365. li:first-child
  366. .status
  367. .status-list
  368. .staus-info {
  369. white-space: nowrap;
  370. text-align: center;
  371. width: 70px;
  372. .infoimg {
  373. width: 20px;
  374. background-repeat: no-repeat;
  375. height: 20px;
  376. margin-top: 2px;
  377. background-size: contain;
  378. margin-right: 5px;
  379. img {
  380. width: 20px;
  381. height: 20px;
  382. position: relative;
  383. top: -2px;
  384. }
  385. }
  386. }
  387. .main-box .box-first .machine-right .machine-bottom ul li:nth-child(2) {
  388. width: 300px;
  389. }
  390. .main-box .box-first .machine-right .machine-bottom ul .speed p {
  391. white-space: nowrap;
  392. transform: scale(0.9);
  393. margin-top: 2px;
  394. position: relative;
  395. left: -6px;
  396. }
  397. .main-box .box-first .machine-right {
  398. padding-bottom: 10px;
  399. }
  400. .main-box
  401. .box-first
  402. .machine-right
  403. .machine-bottom
  404. ul
  405. li:first-child
  406. .status
  407. .status-list
  408. .staus-info
  409. .infotext {
  410. transform: scale(0.9);
  411. }
  412. .main-box
  413. .box-first
  414. .machine-right
  415. .machine-bottom
  416. ul
  417. li:nth-child(2)
  418. .signal-status
  419. .signal-status-list {
  420. padding-right: 10px;
  421. white-space: nowrap;
  422. text-align: center;
  423. .signal-text {
  424. transform: scale(0.9);
  425. }
  426. }
  427. }