index.css 9.9 KB

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