index.css 8.4 KB

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