index.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  1. body{
  2. line-height: 1.15;
  3. font-size: 0.5rem;
  4. margin: 0;
  5. padding: 0;
  6. background-repeat: no-repeat;
  7. background-position: 0 0 / cover;
  8. background-color: #101129;
  9. }
  10. *{
  11. margin: 0;
  12. padding: 0;
  13. font-weight: normal;
  14. }
  15. ul{
  16. list-style: none;
  17. }
  18. a{
  19. text-decoration: none;
  20. }
  21. .viewport {
  22. /* 限定大小 */
  23. min-width: 1024px;
  24. max-width: 1920px;
  25. min-height: 780px;
  26. margin: 0 auto;
  27. background: url(../images/logo.png) no-repeat 0 0 / contain;
  28. display: flex;
  29. padding: 3.667rem 0.833rem 0;
  30. }
  31. .column{
  32. flex: 3;
  33. position: relative;
  34. }
  35. .column:nth-child(2){
  36. flex: 4;
  37. margin: 1.333rem 0.833rem 0;
  38. }
  39. .panel {
  40. /* 边框 */
  41. box-sizing: border-box;
  42. border: 2px solid red;
  43. border-image: url(../images/border.png) 51 38 21 132;
  44. border-width: 2.125rem 1.583rem 0.875rem 5.5rem;
  45. position: relative;
  46. margin-bottom: 0.833rem;
  47. }
  48. .panel .inner {
  49. /* 装内容 */
  50. /* height: 60px; */
  51. position: absolute;
  52. top: -2.125rem;
  53. right: -1.583rem;
  54. bottom: -0.875rem;
  55. left: -5.5rem;
  56. padding: 1rem 1.5rem;
  57. }
  58. .panel h3{
  59. font-size: 0.833rem;
  60. color: #fff;
  61. }
  62. /* 概览区域 */
  63. .overview{
  64. height: 4.583rem;
  65. }
  66. .overview .inner{
  67. display: flex;
  68. justify-content: space-between;
  69. }
  70. .overview h4{
  71. font-size: 1.167rem;
  72. padding-left: 0.2rem;
  73. color: #fff;
  74. margin-bottom: 0.333rem
  75. }
  76. .overview span{
  77. font-size: 0.667rem;
  78. color: #4c9bfd;
  79. }
  80. /* 监控 */
  81. .monitor{
  82. height: 20rem;
  83. }
  84. .monitor .inner{
  85. padding: 1rem 0;
  86. display: flex;
  87. flex-direction: column;
  88. }
  89. .monitor .tabs{
  90. padding: 0 1.5rem;
  91. margin-bottom: 0.75rem;
  92. }
  93. .monitor .tabs a{
  94. color: #1950c4;
  95. font-size: 0.75rem;
  96. padding: 0 1.125rem;
  97. }
  98. .monitor .tabs a:first-child{
  99. border-right: 0.083rem solid #00f2f1;
  100. padding-left: 0;
  101. }
  102. .monitor .tabs a.active{
  103. color: #fff;
  104. }
  105. .monitor .content{
  106. flex: 1;
  107. display: none;
  108. position: relative;
  109. }
  110. .monitor .head{
  111. background: rgba(255, 255, 255, 0.1);
  112. font-size: 0.583rem;
  113. padding: 0.5rem 1.5rem;
  114. color: #68d8fe;
  115. display: flex;
  116. justify-content: space-between;
  117. line-height: 1.05;
  118. }
  119. .monitor .col:nth-child(1) {
  120. width: 3.2rem;
  121. }
  122. .monitor .col:nth-child(2) {
  123. width: 8.4rem;
  124. /* 不换行 一行省略*/
  125. white-space: nowrap;
  126. overflow: hidden;
  127. text-overflow: ellipsis;
  128. }
  129. .monitor .col:nth-child(3) {
  130. width: 3.2rem;
  131. }
  132. .monitor .marquee-view{
  133. position: absolute;
  134. top: 1.6rem;
  135. bottom: 0;
  136. width: 100%;
  137. overflow: hidden;
  138. }
  139. .monitor .row{
  140. line-height: 1.05;
  141. padding: 0.5rem 1.5rem;
  142. color: #61a8ff;
  143. font-size: 0.5rem;
  144. position: relative;
  145. display: flex;
  146. justify-content: space-between;
  147. }
  148. .monitor .row:hover{
  149. color:#68d8ff;
  150. background: rgba(255, 255, 255, 0.1);
  151. }
  152. .monitor .row:hover .icon-dot{
  153. opacity: 1;
  154. }
  155. .monitor .icon-dot{
  156. position: absolute;
  157. left: 0.64rem;
  158. opacity: 0;
  159. }
  160. .monitor .marquee-view{
  161. position: absolute;
  162. top: 1.6rem;
  163. bottom: 0;
  164. width: 100%;
  165. overflow: hidden;
  166. }
  167. .monitor .row{
  168. line-height: 1.05;
  169. padding: 0.5rem 1.5rem;
  170. color: #61a8ff;
  171. font-size: 0.5rem;
  172. position: relative;
  173. display: flex;
  174. justify-content: space-between;
  175. }
  176. .monitor .row:hover{
  177. color:#68d8ff;
  178. background: rgba(255, 255, 255, 0.1);
  179. }
  180. .monitor .row:hover .icon-dot{
  181. opacity: 1;
  182. }
  183. .monitor .icon-dot{
  184. position: absolute;
  185. left: 0.64rem;
  186. opacity: 0;
  187. }
  188. /* ------------------------------------------------------------动画 */
  189. @keyframes row{
  190. 0%{}
  191. 100%{
  192. transform: translateY(-50%);
  193. }
  194. }
  195. /* 调用动画 */
  196. .monitor .marquee {
  197. /* //infinite永久调用动画 */
  198. animation: row 10s linear infinite;
  199. }
  200. /*鼠标划入 停止动画 */
  201. .monitor .marquee:hover {
  202. animation-play-state: paused;
  203. }
  204. /* 点位 */
  205. .point {
  206. height: 14.167rem;
  207. }
  208. .point .chart {
  209. display: flex;
  210. margin-top: 1rem;
  211. justify-content: space-between;
  212. }
  213. .point .pie {
  214. width: 13rem;
  215. height: 10rem;
  216. margin-left: -0.4rem;
  217. }
  218. .point .data {
  219. display: flex;
  220. flex-direction: column;
  221. justify-content: space-between;
  222. width: 7rem;
  223. padding: 1.5rem 1.25rem;
  224. box-sizing: border-box;
  225. background-image: url(../images/rect.png);
  226. background-size: cover;
  227. }
  228. .point h4 {
  229. margin-bottom: 0.5rem;
  230. font-size: 1.167rem;
  231. color: #fff;
  232. }
  233. .point span {
  234. display: block;
  235. color: #4c9bfd;
  236. font-size: 0.667rem;
  237. }
  238. /* 地图 */
  239. .map {
  240. height: 24.1rem;
  241. margin-bottom: 0.833rem;
  242. display: flex;
  243. flex-direction: column;
  244. }
  245. .map h3 {
  246. line-height: 1;
  247. padding: 0.667rem 0;
  248. margin: 0;
  249. font-size: 0.833rem;
  250. color: #fff;
  251. }
  252. .map .icon-cube {
  253. color: #68d8fe;
  254. }
  255. .map .chart {
  256. flex: 1;
  257. background-color: rgba(255, 255, 255, 0.05);
  258. }
  259. .map .geo {
  260. width: 100%;
  261. height: 100%;
  262. }
  263. /* 用户模块 */
  264. .users {
  265. height: 14.167rem;
  266. display: flex;
  267. }
  268. .users .chart {
  269. display: flex;
  270. margin-top: 1rem;
  271. }
  272. .users .bar {
  273. width: 24.5rem;
  274. height: 10rem;
  275. }
  276. .users .data {
  277. display: flex;
  278. flex-direction: column;
  279. justify-content: space-between;
  280. width: 7rem;
  281. padding: 1.5rem 1.25rem;
  282. box-sizing: border-box;
  283. background-image: url(../images/rect.png);
  284. background-size: cover;
  285. }
  286. .users h4 {
  287. margin-bottom: 0.5rem;
  288. font-size: 1.167rem;
  289. color: #fff;
  290. }
  291. .users span {
  292. display: block;
  293. color: #4c9bfd;
  294. font-size: 0.667rem;
  295. }
  296. /* 订单 */
  297. .order {
  298. height: 6.167rem;
  299. }
  300. .order .filter {
  301. display: flex;
  302. }
  303. .order .filter a {
  304. display: block;
  305. height: 0.75rem;
  306. line-height: 1;
  307. padding: 0 0.75rem;
  308. color: #1950c4;
  309. font-size: 0.75rem;
  310. border-right: 0.083rem solid #00f2f1;
  311. }
  312. .order .filter a:first-child {
  313. padding-left: 0;
  314. }
  315. .order .filter a:last-child {
  316. border-right: none;
  317. }
  318. .order .filter a.active {
  319. color: #fff;
  320. font-size: 0.833rem;
  321. }
  322. .order .data {
  323. display: flex;
  324. margin-top: 0.833rem;
  325. }
  326. .order .item {
  327. width: 50%;
  328. }
  329. .order h4 {
  330. font-size: 1.167rem;
  331. color: #fff;
  332. margin-bottom: 0.417rem;
  333. }
  334. .order span {
  335. display: block;
  336. color: #4c9bfd;
  337. font-size: 0.667rem;
  338. }
  339. /* 销售区域 */
  340. .sales {
  341. height: 10.333rem;
  342. }
  343. .sales .caption {
  344. display: flex;
  345. line-height: 1;
  346. }
  347. .sales h3 {
  348. height: 0.75rem;
  349. padding-right: 0.75rem;
  350. border-right: 0.083rem solid #00f2f1;
  351. }
  352. .sales a {
  353. padding: 0.167rem;
  354. font-size: 0.667rem;
  355. margin: -0.125rem 0 0 0.875rem;
  356. border-radius: 0.125rem;
  357. color: #0bace6;
  358. }
  359. .sales a.active {
  360. background-color: #4c9bfd;
  361. color: #fff;
  362. }
  363. .sales .inner {
  364. display: flex;
  365. flex-direction: column;
  366. }
  367. .sales .chart {
  368. flex: 1;
  369. padding-top: 0.6rem;
  370. position: relative;
  371. }
  372. .sales .label {
  373. position: absolute;
  374. left: 1.75rem;
  375. top: 0.75rem;
  376. color: #4996f5;
  377. font-size: 0.583rem;
  378. }
  379. .sales .line {
  380. width: 100%;
  381. height: 100%;
  382. }
  383. /* 渠道区块 */
  384. .wrap {
  385. display: flex;
  386. }
  387. .channel,
  388. .quarter {
  389. flex: 1;
  390. height: 9.667rem;
  391. }
  392. .channel {
  393. margin-right: 0.833rem;
  394. }
  395. .channel .data {
  396. overflow: hidden;
  397. }
  398. .channel .item {
  399. margin-top: 0.85rem;
  400. }
  401. .channel .item:first-child {
  402. float: left;
  403. }
  404. .channel .item:last-child {
  405. float: right;
  406. }
  407. .channel h4 {
  408. color: #fff;
  409. font-size: 1.333rem;
  410. margin-bottom: 0.2rem;
  411. }
  412. .channel small {
  413. font-size: 50%;
  414. }
  415. .channel span {
  416. display: block;
  417. color: #4c9bfd;
  418. font-size: 0.583rem;
  419. }
  420. /* 季度区块 */
  421. .quarter .inner {
  422. display: flex;
  423. flex-direction: column;
  424. margin: 0 -0.25rem;
  425. }
  426. .quarter .chart {
  427. flex: 1;
  428. padding-top: 0.75rem;
  429. }
  430. .quarter .box {
  431. position: relative;
  432. }
  433. .quarter .label {
  434. transform: translate(-50%, -30%);
  435. color: #fff;
  436. font-size: 1.25rem;
  437. position: absolute;
  438. left: 50%;
  439. top: 50%;
  440. }
  441. .quarter .label small {
  442. font-size: 50%;
  443. }
  444. .quarter .gauge {
  445. height: 3.5rem;
  446. }
  447. .quarter .data {
  448. display: flex;
  449. justify-content: space-between;
  450. }
  451. .quarter .item {
  452. width: 50%;
  453. }
  454. .quarter h4 {
  455. color: #fff;
  456. font-size: 1rem;
  457. margin-bottom: 0.4rem;
  458. }
  459. .quarter span {
  460. display: block;
  461. width: 100%;
  462. white-space: nowrap;
  463. text-overflow: ellipsis;
  464. overflow: hidden;
  465. color: #4c9bfd;
  466. font-size: 0.583rem;
  467. }
  468. /* 排行榜 */
  469. .top {
  470. height: 11.8rem;
  471. }
  472. .top .inner {
  473. display: flex;
  474. }
  475. .top .all {
  476. display: flex;
  477. flex-direction: column;
  478. width: 7rem;
  479. color: #4c9bfd;
  480. font-size: 0.6rem;
  481. vertical-align: middle;
  482. }
  483. .top .all ul {
  484. padding-left: 0.5rem;
  485. margin-top: 0.5rem;
  486. flex: 1;
  487. display: flex;
  488. flex-direction: column;
  489. justify-content: space-around;
  490. }
  491. .top .all li {
  492. overflow: hidden;
  493. }
  494. .top .all [class^="icon-"] {
  495. font-size: 1.5rem;
  496. vertical-align: middle;
  497. margin-right: 0.5rem;
  498. }
  499. .top .province {
  500. flex: 1;
  501. display: flex;
  502. flex-direction: column;
  503. color: #fff;
  504. }
  505. .top .province i {
  506. padding: 0 0.5rem;
  507. margin-top: 0.208rem;
  508. float: right;
  509. font-style: normal;
  510. font-size: 0.583rem;
  511. color: #0bace6;
  512. }
  513. .top .province s {
  514. display: inline-block;
  515. transform: scale(0.8);
  516. text-decoration: none;
  517. }
  518. .top .province .icon-up {
  519. color: #dc3c33;
  520. }
  521. .top .province .icon-down {
  522. color: #36be90;
  523. }
  524. .top .province .data {
  525. flex: 1;
  526. display: flex;
  527. margin-top: 0.6rem;
  528. }
  529. .top .province ul {
  530. flex: 1;
  531. line-height: 1;
  532. margin-bottom: 0.25rem;
  533. }
  534. .top .province ul li {
  535. display: flex;
  536. justify-content: space-between;
  537. }
  538. .top .province ul span {
  539. display: block;
  540. overflow: hidden;
  541. white-space: nowrap;
  542. text-overflow: ellipsis;
  543. }
  544. .top .province ul.sup {
  545. font-size: 0.583rem;
  546. }
  547. .top .province ul.sup li {
  548. color: #4995f4;
  549. padding: 0.5rem;
  550. }
  551. .top .province ul.sup li.active {
  552. color: #a3c6f2;
  553. background-color: rgba(10, 67, 188, 0.2);
  554. }
  555. .top .province ul.sub {
  556. display: flex;
  557. flex-direction: column;
  558. justify-content: space-around;
  559. font-size: 0.5rem;
  560. background-color: rgba(10, 67, 188, 0.2);
  561. }
  562. .top .province ul.sub li {
  563. color: #52ffff;
  564. padding: 0.417rem 0.6rem;
  565. }
  566. .clock {
  567. position: absolute;
  568. top: -1.5rem;
  569. right: 1.667rem;
  570. font-size: 0.833rem;
  571. color: #0bace6;
  572. }
  573. .clock i {
  574. margin-right: 5px;
  575. font-size: 0.833rem;
  576. }
  577. @media screen and (max-width: 1600px) {
  578. .top span {
  579. transform: scale(0.9);
  580. }
  581. .top .province ul.sup li {
  582. padding: 0.4rem 0.5rem;
  583. }
  584. .top .province ul.sub li {
  585. padding: 0.23rem 0.5rem;
  586. }
  587. .quarter span {
  588. transform: scale(0.9);
  589. }
  590. }