/* 自定义字体 */ @font-face{ font-family:垃圾谢程; src:url('../fonts/font.ttf') } /* 限定屏幕最大最小值 */ @media screen and (max-width: 1024px) { html { font-size: 42.66px !important; } } @media screen and (min-width: 1320px) { html { font-size: 50px !important; } } @media screen and (min-width: 1520px) { html { font-size: 60px !important; } } @media screen and (min-width: 1920px) { html { font-size: 80px !important; } } @media screen and (min-width: 2560px) { html { font-size: 105px !important; } } @media screen and (min-width: 3000px) { html { font-size: 120px !important; } } @media screen and (min-width: 3420px) { html { font-size: 140px !important; } } @media screen and (min-width: 3840px) { html { font-size: 160px !important; } } h1, h3{font-family:"垃圾谢程";} /*清除元素默认的内外边距 */ * { margin: 0; padding: 0; box-sizing: border-box; } /*让所有斜体 不倾斜*/ em, i { font-style: normal; } /*去掉列表前面的小点*/ li { list-style: none; } /*图片没有边框 去掉图片底侧的空白缝隙*/ img { border: 0; /*ie6*/ vertical-align: middle; } /*让button 按钮 变成小手*/ button { cursor: pointer; } /*取消链接的下划线*/ a { color: #666; text-decoration: none; } a:hover { color: #e33333; } h4 { font-weight: 400; } body { background: url(../images/bg.jpg) no-repeat 0 0 / cover; line-height: 1.15; } .veiwport { display: flex; min-width: 1024px; max-width: 98%; min-height: 780px; padding: 1.1rem .25rem 0; margin: 0 auto; background: url(../images/logo.png) no-repeat 0 0 / contain; } .veiwport .column{ flex: 3; /* margin: .4rem .25rem 0 ; */ /* background-color: green; */ } .veiwport .column:nth-child(2) { flex: 4; margin-top: 50px !important; /* background-color: blue; */ } .panel { /* 边框图片公共样式 */ position: relative; border: 1px solid transparent; border-width: .6375rem .475rem .25rem 1.65rem; border-image-source: url(../images/border.png); border-image-slice: 51 38 20 132; margin-bottom: .25rem; } .panel h3 { font-size: .25rem; color: #fff; font-weight: 400; } .inner { position: absolute; top: -0.6375rem; right: -0.475rem; bottom: -0.25rem; left: -1.65rem; margin: .3rem .45rem; color: #fff; font-size: .2rem; } .topinner { display: flex; position: absolute; justify-content: space-between; align-items: center; top: -0.6375rem; right: -0.475rem; bottom: -0.25rem; left: -1.65rem; margin: .3rem .45rem; font-size: .2rem; } .overview { height: 10vh; } .overview { display: flex; justify-content: space-between; } .overview h4 { color: #fff; font-size: .35rem; margin: 0 0 .1rem; } /* 左上信息 */ .overview span { height: .5333rem; font-size: .3733rem; color: #fff; } /* 监控区域 */ .monitor{ height: 45vh; } .monitor .inner{ padding: .3rem 0; display: flex; flex-direction: column; } .monitor .tabs{ padding: 0 .45rem; margin-bottom: 0.225rem; display: flex; } .monitor .tabs a{ color:#1950c4; font-size: 0.225rem; padding: 0 .3375rem; } .monitor .tabs a:first-child{ padding-left: 0; border-right: 0.025rem solid #00f2f1; } .monitor .tabs a.active{ color: #fff; } .monitor .content{ flex: 1; position: relative; display: none; } .monitor .marquee-view { position: absolute; top: 0.5rem; bottom: 0; width: 100%; overflow: hidden; } .monitor .row{ display: flex; /* justify-content: space-between; */ line-height: 1.05; font-size: 0.15rem; color: #fff; padding: 0.15rem 0.45rem; } .monitor .head{ display: flex; justify-content: space-between; line-height: 1.05; font-size: 0.15rem; color: #fff; padding: 0.15rem 0.45rem; } /* .monitor .row .icon-dot{ position: absolute; left: 0.2rem; opacity: 0; } */ .monitor .row:hover { background-color: rgba(255, 255, 255, 0.1); color: #68d8fe; } .monitor .row:hover .icon-dot{ opacity: 1; } .monitor .col:first-child{ width: 2.5rem; } .monitor .col:nth-child(2){ width: 2rem; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .monitor .col:nth-child(3){ width: 1rem; } .monitor .col:nth-child(4){ width: 1.5rem; text-align: center; } /* 滚动动画 */ @keyframes move { 0% { } 100%{ transform: translateY(-50%); } } .marquee-view .marquee{ animation: move 10s linear infinite; } .marquee-view .marquee:hover{ animation-play-state: paused; } /* 全国展业数据 */ .point { height: 30vh; } .point .filter { display: flex; margin-top: .2667rem; margin-bottom: .5333rem; } .point .filter a { display: block; height: 0.225rem; line-height: 1; padding: 0 0.225rem; color: #999; font-size: 0.225rem; border-right: 0.025rem solid #00f2f1; } .point .filter a:first-child { padding-left: 0; } .point .filter a:last-child { border-right: none; } .point .filter a.active { color: #fff; font-size: 0.25rem; } .point .data { display: none; margin-top: 0.25rem; } .point .data .dataisshow{ display: flex; } .point .item { width: 60%; } .point .item2 { width: 40%; } .point h4 { font-size: 0.35rem; color: #fff; margin-bottom: 0.125rem; } .point h6 { font-size: .2133rem; color: #fff; margin-bottom: 0.125rem; } .point span { display: block; color: #4c9bfd; font-size: 0.2rem; } /* 地图 */ .map { height: 50vh; margin-bottom: 0.25rem; display: flex; flex-direction: column; padding-top: .2667rem; } .map .chart { flex: 1; background-color: rgba(255, 255, 255, 0.05); } .map .geo { width: 100%; height: 100%; } .veiwport .column:nth-child(2) { flex: 4; margin: .4rem .25rem 0; } /* 用户模块 */ .users { height: 32.5vh; display: flex; } .users .inner .user-title{ width: 1.5rem; margin-top: .2667rem; margin-bottom: .2667rem; font-size: .2rem; text-align: center; } .users .inner .user-content{ width: 100%; height: 90%; /* overflow: hidden; */ display: flex; font-size: .0533rem; justify-content: space-around; color: #fff; margin-top: .08rem; margin-bottom: .08rem; } .user-content0 ,.user-content1 ,.user-content2{ display: flex; flex-direction: column; justify-content: space-between; width:1.7rem; } .user-content0{ width:1.25rem; } .user-content1{ width: 2rem; } .users .inner .user-content .item{ display: flex; justify-content: space-between; width:100%; } /* .users .inner .user-content .item .name{ width: 0.5rem; } .users .inner .user-content .name{ margin-right: .1333rem; } .users .inner .user-content .count{ margin-right: .0533rem; } */ /* 订单 */ .order { height: 13vh; } .order .inner{ /* width: 95%; */ display: flex; justify-content: space-between; align-items: center; /* margin: 0 auto; */ } .order .inner .time{ font-size: .33rem; color: #fff; } /* 销售区域 */ .sales { height: 25vh; } .sales .caption { display: flex; line-height: 1; } .sales h3 { height: 0.225rem; padding-right: 0.225rem; border-right: 0.025rem solid #00f2f1; } .sales a { padding: 0.05rem; font-size: 0.2rem; margin: -0.0375rem 0 0 0.2625rem; border-radius: 0.0375rem; color: #0bace6; } .sales a.active { background-color: #4c9bfd; color: #fff; } .sales .inner { display: flex; flex-direction: column; } .sales .chart { flex: 1; padding-top: 0.1875rem; position: relative; } .sales .label { position: absolute; left: 0.525rem; top: 0.225rem; color: #4996f5; font-size: 0.175rem; } .sales .line { width: 100%; height: 100%; } /* 渠道区块 */ .wrap { display: flex; } .wrap .item{ width: .1333rem; } .quarter { flex: 1; height: 20vh; } .mounthResult , .addPresent{ font-size:0.29rem !important; } /* 季度区块 */ .quarter .inner { display: flex; flex-direction: column; margin: 0.25rem .25rem; } .quarter .chart { flex: 1; /* padding-top: 0.225rem; */ } .quarter .box { position: relative; } .quarter .label { transform: translate(-50%, -30%); color: #fff; font-size: 0.375rem; position: absolute; left: 50%; top: 50%; } .quarter .label small { font-size: 50%; } .quarter .gauge { height: 1.05rem; } .quarter .data { text-align: center; display: flex; justify-content: space-between; margin-top: -0.16rem; } .quarter .item { width: 50%; } .quarter h4 { color: #fff; font-size: 0.3rem; margin-bottom: 0.125rem; } .quarter span { display: block; width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; color: #4c9bfd; font-size: 0.175rem; } /* 排行榜 */ .top { height: 25.5vh; } .top .all .flex-box{ display: flex; align-items: center; justify-content:space-between; } @media screen and (max-width: 1600px) { .top span { transform: scale(0.9); } .top .province ul.sup li { padding: 0.125rem 0.15rem; } .top .province ul.sub li { padding: 0.0625rem 0.15rem; } .quarter span { transform: scale(0.9); } } /* 时钟 */ .timebox{width:1.0667rem; margin: 0 auto;} .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); } .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;} .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;} .clock .date{position: absolute; z-index: 3; top: .6533rem; left: .3467rem; font-size: .0533rem; color: #000; text-shadow: .0027rem .0027rem white; } .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;} .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;} .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;} .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;} .clock em.ishour{width: .016rem; height: .0267rem; margin-left: -0.008rem;} .clock em.ishour i{font-size: .0667rem; color: #000; position: absolute; top: .032rem; left: -0.0187rem;text-shadow: .0027rem .0027rem white; }