index.css 10 KB

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