index.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543
  1. /* 自定义字体 */
  2. @font-face{
  3. font-family:垃圾谢程;
  4. src:url('../fonts/font.ttf')
  5. }
  6. /* 限定屏幕最大最小值 */
  7. @media screen and (max-width: 1024px) {
  8. html {
  9. font-size: 42.66px !important;
  10. }
  11. }
  12. @media screen and (min-width: 1320px) {
  13. html {
  14. font-size: 50px !important;
  15. }
  16. }
  17. @media screen and (min-width: 1520px) {
  18. html {
  19. font-size: 60px !important;
  20. }
  21. }
  22. @media screen and (min-width: 1920px) {
  23. html {
  24. font-size: 80px !important;
  25. }
  26. }
  27. @media screen and (min-width: 2560px) {
  28. html {
  29. font-size: 105px !important;
  30. }
  31. }
  32. @media screen and (min-width: 3000px) {
  33. html {
  34. font-size: 120px !important;
  35. }
  36. }
  37. @media screen and (min-width: 3420px) {
  38. html {
  39. font-size: 140px !important;
  40. }
  41. }
  42. @media screen and (min-width: 3840px) {
  43. html {
  44. font-size: 160px !important;
  45. }
  46. }
  47. h1,
  48. h3{font-family:"垃圾谢程";}
  49. /*清除元素默认的内外边距 */
  50. * {
  51. margin: 0;
  52. padding: 0;
  53. box-sizing: border-box;
  54. }
  55. /*让所有斜体 不倾斜*/
  56. em,
  57. i {
  58. font-style: normal;
  59. }
  60. /*去掉列表前面的小点*/
  61. li {
  62. list-style: none;
  63. }
  64. /*图片没有边框 去掉图片底侧的空白缝隙*/
  65. img {
  66. border: 0; /*ie6*/
  67. vertical-align: middle;
  68. }
  69. /*让button 按钮 变成小手*/
  70. button {
  71. cursor: pointer;
  72. }
  73. /*取消链接的下划线*/
  74. a {
  75. color: #666;
  76. text-decoration: none;
  77. }
  78. a:hover {
  79. color: #e33333;
  80. }
  81. h4 {
  82. font-weight: 400;
  83. }
  84. body {
  85. background: url(../images/bg.jpg) no-repeat 0 0 / cover;
  86. line-height: 1.15;
  87. }
  88. .veiwport {
  89. display: flex;
  90. min-width: 1024px;
  91. max-width: 98%;
  92. min-height: 780px;
  93. padding: 1.1rem .25rem 0;
  94. margin: 0 auto;
  95. background: url(../images/logo.png) no-repeat 0 0 / contain;
  96. }
  97. .veiwport .column{
  98. flex: 3;
  99. /* margin: .4rem .25rem 0 ; */
  100. /* background-color: green; */
  101. }
  102. .veiwport .column:nth-child(2) {
  103. flex: 4;
  104. margin-top: 50px !important;
  105. /* background-color: blue; */
  106. }
  107. .panel {
  108. /* 边框图片公共样式 */
  109. position: relative;
  110. border: 1px solid transparent;
  111. border-width: .6375rem .475rem .25rem 1.65rem;
  112. border-image-source: url(../images/border.png);
  113. border-image-slice: 51 38 20 132;
  114. margin-bottom: .25rem;
  115. }
  116. .panel h3 {
  117. font-size: .25rem;
  118. color: #fff;
  119. font-weight: 400;
  120. }
  121. .inner {
  122. position: absolute;
  123. top: -0.6375rem;
  124. right: -0.475rem;
  125. bottom: -0.25rem;
  126. left: -1.65rem;
  127. margin: .3rem .45rem;
  128. color: #fff;
  129. font-size: .2rem;
  130. }
  131. .topinner {
  132. display: flex;
  133. position: absolute;
  134. justify-content: space-between;
  135. align-items: center;
  136. top: -0.6375rem;
  137. right: -0.475rem;
  138. bottom: -0.25rem;
  139. left: -1.65rem;
  140. margin: .3rem .45rem;
  141. font-size: .2rem;
  142. }
  143. .overview {
  144. height: 10vh;
  145. }
  146. .overview {
  147. display: flex;
  148. justify-content: space-between;
  149. }
  150. .overview h4 {
  151. color: #fff;
  152. font-size: .35rem;
  153. margin: 0 0 .1rem;
  154. }
  155. /* 左上信息 */
  156. .overview span {
  157. height: .5333rem;
  158. font-size: .3733rem;
  159. color: #fff;
  160. }
  161. /* 监控区域 */
  162. .monitor{
  163. height: 45vh;
  164. }
  165. .monitor .inner{
  166. padding: .3rem 0;
  167. display: flex;
  168. flex-direction: column;
  169. }
  170. .monitor .tabs{
  171. padding: 0 .45rem;
  172. margin-bottom: 0.225rem;
  173. display: flex;
  174. }
  175. .monitor .tabs a{
  176. color:#1950c4;
  177. font-size: 0.225rem;
  178. padding: 0 .3375rem;
  179. }
  180. .monitor .tabs a:first-child{
  181. padding-left: 0;
  182. border-right: 0.025rem solid #00f2f1;
  183. }
  184. .monitor .tabs a.active{
  185. color: #fff;
  186. }
  187. .monitor .content{
  188. flex: 1;
  189. position: relative;
  190. display: none;
  191. }
  192. .monitor .marquee-view {
  193. position: absolute;
  194. top: 0.5rem;
  195. bottom: 0;
  196. width: 100%;
  197. overflow: hidden;
  198. }
  199. .monitor .row{
  200. display: flex;
  201. /* justify-content: space-between; */
  202. line-height: 1.05;
  203. font-size: 0.15rem;
  204. color: #fff;
  205. padding: 0.15rem 0.45rem;
  206. }
  207. .monitor .head{
  208. display: flex;
  209. justify-content: space-between;
  210. line-height: 1.05;
  211. font-size: 0.15rem;
  212. color: #fff;
  213. padding: 0.15rem 0.45rem;
  214. }
  215. /* .monitor .row .icon-dot{
  216. position: absolute;
  217. left: 0.2rem;
  218. opacity: 0;
  219. } */
  220. .monitor .row:hover {
  221. background-color: rgba(255, 255, 255, 0.1);
  222. color: #68d8fe;
  223. }
  224. .monitor .row:hover .icon-dot{
  225. opacity: 1;
  226. }
  227. .monitor .col:first-child{
  228. width: 2.5rem;
  229. }
  230. .monitor .col:nth-child(2){
  231. width: 2rem;
  232. white-space: nowrap;
  233. text-overflow: ellipsis;
  234. overflow: hidden;
  235. }
  236. .monitor .col:nth-child(3){
  237. width: 1rem;
  238. }
  239. .monitor .col:nth-child(4){
  240. width: 1.5rem;
  241. text-align: center;
  242. }
  243. /* 滚动动画 */
  244. @keyframes move {
  245. 0% {
  246. }
  247. 100%{
  248. transform: translateY(-50%);
  249. }
  250. }
  251. .marquee-view .marquee{
  252. animation: move 10s linear infinite;
  253. }
  254. .marquee-view .marquee:hover{
  255. animation-play-state: paused;
  256. }
  257. /* 全国展业数据 */
  258. .point {
  259. height: 30vh;
  260. }
  261. .point .filter {
  262. display: flex;
  263. margin-top: .2667rem;
  264. margin-bottom: .5333rem;
  265. }
  266. .point .filter a {
  267. display: block;
  268. height: 0.225rem;
  269. line-height: 1;
  270. padding: 0 0.225rem;
  271. color: #999;
  272. font-size: 0.225rem;
  273. border-right: 0.025rem solid #00f2f1;
  274. }
  275. .point .filter a:first-child {
  276. padding-left: 0;
  277. }
  278. .point .filter a:last-child {
  279. border-right: none;
  280. }
  281. .point .filter a.active {
  282. color: #fff;
  283. font-size: 0.25rem;
  284. }
  285. .point .data {
  286. display: none;
  287. margin-top: 0.25rem;
  288. }
  289. .point .data .dataisshow{
  290. display: flex;
  291. }
  292. .point .item {
  293. width: 60%;
  294. }
  295. .point .item2 {
  296. width: 40%;
  297. }
  298. .point h4 {
  299. font-size: 0.35rem;
  300. color: #fff;
  301. margin-bottom: 0.125rem;
  302. }
  303. .point h6 {
  304. font-size: .2133rem;
  305. color: #fff;
  306. margin-bottom: 0.125rem;
  307. }
  308. .point span {
  309. display: block;
  310. color: #4c9bfd;
  311. font-size: 0.2rem;
  312. }
  313. /* 地图 */
  314. .map {
  315. height: 50vh;
  316. margin-bottom: 0.25rem;
  317. display: flex;
  318. flex-direction: column;
  319. padding-top: .2667rem;
  320. }
  321. .map .chart {
  322. flex: 1;
  323. background-color: rgba(255, 255, 255, 0.05);
  324. }
  325. .map .geo {
  326. width: 100%;
  327. height: 100%;
  328. }
  329. .veiwport .column:nth-child(2) {
  330. flex: 4;
  331. margin: .4rem .25rem 0;
  332. }
  333. /* 用户模块 */
  334. .users {
  335. height: 32.5vh;
  336. display: flex;
  337. }
  338. .users .inner .user-title{
  339. width: 1.5rem;
  340. margin-top: .2667rem;
  341. margin-bottom: .2667rem;
  342. font-size: .2rem;
  343. text-align: center;
  344. }
  345. .users .inner .user-content{
  346. width: 100%;
  347. height: 90%;
  348. /* overflow: hidden; */
  349. display: flex;
  350. font-size: .0533rem;
  351. justify-content: space-around;
  352. color: #fff;
  353. margin-top: .08rem;
  354. margin-bottom: .08rem;
  355. }
  356. .user-content0 ,.user-content1 ,.user-content2{
  357. display: flex;
  358. flex-direction: column;
  359. justify-content: space-between;
  360. width:1.7rem;
  361. }
  362. .user-content0{
  363. width:1.25rem;
  364. }
  365. .user-content1{
  366. width: 2rem;
  367. }
  368. .users .inner .user-content .item{
  369. display: flex;
  370. justify-content: space-between;
  371. width:100%;
  372. }
  373. /* .users .inner .user-content .item .name{
  374. width: 0.5rem;
  375. }
  376. .users .inner .user-content .name{
  377. margin-right: .1333rem;
  378. }
  379. .users .inner .user-content .count{
  380. margin-right: .0533rem;
  381. } */
  382. /* 订单 */
  383. .order {
  384. height: 13vh;
  385. }
  386. .order .inner{
  387. /* width: 95%; */
  388. display: flex;
  389. justify-content: space-between;
  390. align-items: center;
  391. /* margin: 0 auto; */
  392. }
  393. .order .inner .time{
  394. font-size: .33rem;
  395. color: #fff;
  396. }
  397. /* 销售区域 */
  398. .sales {
  399. height: 25vh;
  400. }
  401. .sales .caption {
  402. display: flex;
  403. line-height: 1;
  404. }
  405. .sales h3 {
  406. height: 0.225rem;
  407. padding-right: 0.225rem;
  408. border-right: 0.025rem solid #00f2f1;
  409. }
  410. .sales a {
  411. padding: 0.05rem;
  412. font-size: 0.2rem;
  413. margin: -0.0375rem 0 0 0.2625rem;
  414. border-radius: 0.0375rem;
  415. color: #0bace6;
  416. }
  417. .sales a.active {
  418. background-color: #4c9bfd;
  419. color: #fff;
  420. }
  421. .sales .inner {
  422. display: flex;
  423. flex-direction: column;
  424. }
  425. .sales .chart {
  426. flex: 1;
  427. padding-top: 0.1875rem;
  428. position: relative;
  429. }
  430. .sales .label {
  431. position: absolute;
  432. left: 0.525rem;
  433. top: 0.225rem;
  434. color: #4996f5;
  435. font-size: 0.175rem;
  436. }
  437. .sales .line {
  438. width: 100%;
  439. height: 100%;
  440. }
  441. /* 渠道区块 */
  442. .wrap {
  443. display: flex;
  444. }
  445. .wrap .item{
  446. width: .1333rem;
  447. }
  448. .quarter {
  449. flex: 1;
  450. height: 20vh;
  451. }
  452. .mounthResult , .addPresent{
  453. font-size:0.29rem !important;
  454. }
  455. /* 季度区块 */
  456. .quarter .inner {
  457. display: flex;
  458. flex-direction: column;
  459. margin: 0.25rem .25rem;
  460. }
  461. .quarter .chart {
  462. flex: 1;
  463. /* padding-top: 0.225rem; */
  464. }
  465. .quarter .box {
  466. position: relative;
  467. }
  468. .quarter .label {
  469. transform: translate(-50%, -30%);
  470. color: #fff;
  471. font-size: 0.375rem;
  472. position: absolute;
  473. left: 50%;
  474. top: 50%;
  475. }
  476. .quarter .label small {
  477. font-size: 50%;
  478. }
  479. .quarter .gauge {
  480. height: 1.05rem;
  481. }
  482. .quarter .data {
  483. text-align: center;
  484. display: flex;
  485. justify-content: space-between;
  486. margin-top: -0.16rem;
  487. }
  488. .quarter .item {
  489. width: 50%;
  490. }
  491. .quarter h4 {
  492. color: #fff;
  493. font-size: 0.3rem;
  494. margin-bottom: 0.125rem;
  495. }
  496. .quarter span {
  497. display: block;
  498. width: 100%;
  499. white-space: nowrap;
  500. text-overflow: ellipsis;
  501. overflow: hidden;
  502. color: #4c9bfd;
  503. font-size: 0.175rem;
  504. }
  505. /* 排行榜 */
  506. .top {
  507. height: 25.5vh;
  508. }
  509. .top .all .flex-box{
  510. display: flex;
  511. align-items: center;
  512. justify-content:space-between;
  513. }
  514. @media screen and (max-width: 1600px) {
  515. .top span {
  516. transform: scale(0.9);
  517. }
  518. .top .province ul.sup li {
  519. padding: 0.125rem 0.15rem;
  520. }
  521. .top .province ul.sub li {
  522. padding: 0.0625rem 0.15rem;
  523. }
  524. .quarter span {
  525. transform: scale(0.9);
  526. }
  527. }
  528. /* 时钟 */
  529. .timebox{width:1.0667rem; margin: 0 auto;}
  530. .clock{position: relative; width:1.0667rem; height: 1.0667rem; border: .0133rem solid #fff; border-radius: .5333rem; background:-webkit-radial-gradient(center center,circle,#162539,#162539); box-shadow: .0027rem .0027rem .08rem rgba(0, 0, 0, 0.8); }
  531. .clock .clock-xin{position: absolute; top: 50%; left: 50%; width:.08rem; height: .08rem; border-radius: .04rem; background: #eee;margin:-0.04rem 0 0 -0.04rem;}
  532. .clock .clock-xin2{position: absolute; top: 50%; left: 50%; width:.032rem; height: .032rem; border-radius: .016rem; background: #fff; z-index: 100; margin:-0.016rem 0 0 -0.016rem;}
  533. .clock .date{position: absolute; z-index: 3; top: .6533rem; left: .3467rem; font-size: .0533rem; color: #000; text-shadow: .0027rem .0027rem white; }
  534. .clock .hour{position: absolute; z-index: 3; top: 50%; left: 50%; width:.4267rem; height: .016rem; border-radius:.0133rem; background: #fff; -webkit-transform-origin: .0267rem 50%; margin:-0.008rem 0 0 -0.0267rem;}
  535. .clock .min{position: absolute; z-index: 4;top: 50%; left: 50%; width:.48rem; height: .0107rem; border-radius:.0133rem; background: #fff; -webkit-transform-origin: .0267rem 50%; margin:-0.0053rem 0 0 -0.0267rem;}
  536. .clock .sec{position: absolute; z-index: 5; top: 50%; left: 50%; width:.56rem; height: .0053rem; background: #f00; -webkit-transform-origin: .08rem 50%; margin:-0.0027rem 0 0 -0.08rem;}
  537. .clock em{display: block; width: .0053rem; height: .0133rem; background: #000; position: absolute; top: 0; left: 0; -webkit-transform-origin: 50% 0; margin-left: -0.0027rem;}
  538. .clock em.ishour{width: .016rem; height: .0267rem; margin-left: -0.008rem;}
  539. .clock em.ishour i{font-size: .0667rem; color: #000; position: absolute; top: .032rem; left: -0.0187rem;text-shadow: .0027rem .0027rem white; }