index.css 10 KB

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