index.css 11 KB

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