gdb-h5/css/index.css

627 lines
12 KiB
CSS

* {
padding: 0;
margin: 0;
}
.swiper-container {
/* width: 31.25rem; */
/* height: 16.67rem; */
width: 100%;
height: 200px;
margin-bottom: 1.3rem;
}
.banner {
background: url("../img/banner@3x.png") no-repeat;
background-size: cover;
width: 31.25rem;
height: 16.67rem;
margin-bottom: 1.3rem;
}
html {
/* width: 31.25rem; */
/* width: 100%; */
height: 100%;
/* border: 1px solid red; */
}
.body {
}
.layer {
padding: 0 10px;
}
.tabs {
/* width: 5.67rem;
height: 2.08rem;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500; */
/* width: 31.25rem; */
width: 100%;
/* height: 16.67rem; */
font-size: 1.42rem;
line-height: 2.08rem;
text-align: center;
font-style: normal;
text-transform: none;
display: flex;
justify-content: space-around;
margin-bottom: 1.67rem;
}
.tab {
position: relative;
}
.active {
color: #4876ff;
/* border-bottom: 1px solid #4876ff; */
}
.active::after {
content: "";
width: 1.67rem;
height: 0.33rem;
background: #4876ff;
display: inline-block;
position: absolute;
left: 2rem;
bottom: -1rem;
border-radius: 0.17rem 0.17rem 0.17rem 0.17rem;
}
.title {
display: flex;
width: 5.33rem;
height: 2.08rem;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 1.33rem;
color: #333333;
line-height: 2.08rem;
text-align: left;
font-style: normal;
text-transform: none;
width: 100%;
align-items: center;
margin-bottom: 0.28rem;
margin-top: 1rem;
}
.line {
width: 0.33rem;
height: 1.33rem;
background: #4876ff;
border-radius: 0.33rem 0.33rem 0.33rem 0.33rem;
display: inline-block;
margin-right: 0.67rem;
}
.navItem {
width: 29.17rem;
height: 6.67rem;
background: #ffffff;
border-radius: 0.67rem 0.67rem 0.67rem 0.67rem;
border: 0.08rem solid #eeeeee;
display: flex;
margin-top: 0.83rem;
/* align-items: center;
justify-content: center; */
}
.navBg {
width: 8.33rem;
height: 6.67rem;
display: flex;
align-items: center;
justify-content: center;
/* width: 2.5rem;
height: 2.08rem; */
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 1.25rem;
color: #ffffff;
line-height: 2.08rem;
text-align: left;
font-style: normal;
text-transform: none;
}
.fk {
background: url("../img/fk.png") no-repeat;
background-size: cover;
}
.fz {
background: url("../img/fz.png") no-repeat;
background-size: cover;
}
.menuList {
flex: 1;
display: flex;
/* padding: 0.75rem 0 0 2.75rem; */
padding: 9px 11px 0 21px;
}
.menuItem {
margin-right: 2rem;
display: flex;
flex-direction: column;
align-items: center;
}
.menuitem:last-child {
margin-right: 0;
}
.icon {
width: 2.67rem;
height: 2.67rem;
display: inline-block;
margin-bottom: 0.5rem;
}
.yxjb {
background: url("../img/yxjb.png") no-repeat;
background-size: cover;
}
.kxjb {
background: url("../img/kxjb.png") no-repeat;
background-size: cover;
}
.jcjb {
background: url("../img/jcjb.png") no-repeat;
background-size: cover;
}
.fzjb {
background: url("../img/fzjb.png") no-repeat;
background-size: cover;
}
.list {
}
.newsItem {
width: 100%;
/* height: 6.67rem; */
display: flex;
border-bottom: 0.08rem solid #eeeeee;
padding-bottom: 0.75rem;
margin-bottom: 1.67rem;
}
.newsTitle {
/* width: 17.5rem;
height: 2.08rem; */
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 1.25rem;
color: #333333;
line-height: 2.08rem;
text-align: justify;
font-style: normal;
text-transform: none;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
margin-bottom: 10px;
}
.newsContent {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 1.17rem;
color: #999999;
line-height: 2.08rem;
text-align: justify;
font-style: normal;
text-transform: none;
}
.newsInfo {
flex: 1;
display: flex;
flex-direction: column;
/* justify-content: space-evenly; */
justify-content: space-between;
}
.newsDetail {
display: flex;
justify-content: space-between;
}
.newsAuthor {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 1rem;
color: #4876ff;
line-height: 1rem;
text-align: justify;
font-style: normal;
text-transform: none;
}
.newsDate {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 1rem;
color: #999999;
line-height: 1rem;
text-align: right;
font-style: normal;
text-transform: none;
}
.newsItem > img {
width: 10rem;
height: 6.67rem;
border-radius: 0.33rem 0.33rem 0.33rem 0.33rem;
margin-left: 1.67rem;
}
.dialog {
background: rgba(0, 0, 0, 0.5);
border-radius: 0rem 0rem 0rem 0rem;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
/* justify-content: center; */
align-items: center;
display: none;
z-index: 99;
}
.dialogBox {
background: #fff;
background-color: #fff;
margin: 0 1.5rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 2.5rem;
border-radius: 15px;
position: relative;
}
.dialogBox > .dialog_bg {
width: 100%;
height: 100%;
background: url("../img/dialog_bg.png") no-repeat;
background-size: cover;
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
.dialogBox > .title {
display: flex;
justify-content: center;
align-items: center;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 1.42rem;
color: #0f194d;
line-height: 2.33rem;
letter-spacing: 2px;
text-align: center;
font-style: normal;
text-transform: none;
}
.icon_dots {
background: url("../img/icon_dots.png") no-repeat;
background-size: 100%;
width: 0.92rem;
height: 0.92rem;
display: inline-block;
}
.icon_alert {
width: 5.33rem;
height: 5.33rem;
display: inline-block;
margin-top: 2.5rem;
}
.content {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 1.25rem;
color: #333333;
line-height: 2.25rem;
letter-spacing: 2px;
text-align: justify;
font-style: normal;
text-transform: none;
margin-top: 1.5rem;
margin-bottom: 2.08rem;
}
.mr142 {
margin-right: 1.42rem;
}
.ml142 {
margin-left: 1.42rem;
}
.btn_ok {
width: 23.33rem;
height: 3.33rem;
border: none;
background: linear-gradient(270deg, #4876ff 0%, #388dff 100%);
box-shadow: 0rem 0.75rem 0.75rem 0rem rgba(72, 118, 255, 0.2);
border-radius: 0.67rem 0.67rem 0.67rem 0.67rem;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 1.33rem;
color: #ffffff;
line-height: 2rem;
letter-spacing: 1px;
text-align: center;
font-style: normal;
text-transform: none;
margin-bottom: 2.17rem;
}
.tips {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 1.17rem;
color: rgba(15, 25, 77, 0.5);
line-height: 1.83rem;
text-align: center;
font-style: normal;
text-transform: none;
margin-bottom: 2.17rem;
}
.mapLayer {
/* width: 31.25rem;
height: 16.67rem; */
width: 31.25rem;
height: 37.5rem;
}
.map {
/* width: 31.25rem; */
width: 100%;
height: 16.67rem;
}
.markList {
/* width: 31.25rem; */
width: 100%;
height: 20.58rem;
background: #ffffff;
border-radius: 15px 15px 0 0;
display: flex;
flex-direction: column;
padding: 0 1rem;
}
.markItem {
display: flex;
justify-content: space-between;
padding: 1.67rem 0 0.92rem 0;
border-bottom: 0.08rem solid #eeeeee;
}
.markTitle {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 1.33rem;
color: #333333;
line-height: 2.08rem;
text-align: left;
font-style: normal;
text-transform: none;
}
.markInfo {
display: flex;
flex-direction: column;
}
.ssInfo {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 1.08rem;
color: #333;
line-height: 1rem;
text-align: left;
font-style: normal;
text-transform: none;
margin-top: 1rem;
margin-bottom: 1.5rem;
}
.spanTag {
background: rgba(72, 118, 255, 0.1);
border-radius: 0.33rem 0.33rem 0.33rem 0.33rem;
padding: 0.33rem 0.58rem;
color: #4876ff;
margin-right: 1rem;
}
.ssrsText {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 1.08rem;
color: #999999;
line-height: 1rem;
text-align: left;
font-style: normal;
text-transform: none;
}
.icon_guide {
background: url("../img/icon_guide.png") no-repeat;
background-size: cover;
display: inline-block;
width: 3rem;
height: 3rem;
}
.markGuide {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.btn_qksb {
border-radius: 4rem;
width: 4rem;
height: 4rem;
background: #eee;
display: flex;
align-items: center;
justify-content: center;
/* position: fixed;
right: 1.67rem;
bottom: 3.33rem; */
position: absolute;
right: 0;
bottom: 0;
z-index: 3;
}
.icon_plus {
background: url("../img/btn_qksb.png");
background-size: cover;
display: inline-block;
width: 2rem;
height: 2rem;
}
@keyframes show {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes hide {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.toast_box {
/* width: 100%; */
position: absolute;
bottom: 50%;
left: 50%;
/* justify-content: center; */
z-index: 10;
transform: translate(-50%, -50%);
display: none;
}
.toast_box p {
box-sizing: border-box;
padding: 10px 20px;
width: max-content;
/* 提示框的背景色 */
background: #707070;
color: #fff;
font-size: 16px;
text-align: center;
border-radius: 6px;
opacity: 0.8;
}
.toliet {
margin: 0 auto;
}
#loader {
width: 25px;
height: 25px;
border: 3px solid #ddd;
border-radius: 50%;
border-bottom: 3px solid #717171;
transform: rotate(0deg);
}
#loader {
animation: loading 1s linear infinite;
}
@keyframes loading {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
#hotal {
position: fixed;
top: 50%;
left: 50%;
}
.current {
width: 100%;
background: #ffffff;
border-radius: 15px 15px 0 0;
display: flex;
flex-direction: column;
padding: 0 1rem;
border: 1px solid orange;
}
img[src=""],
img:not([src]) {
visibility: hidden;
}
.icon_fullScreen {
background: url("../img/fullscreen.png");
width: 32px;
height: 32px;
z-index: 1;
position: absolute;
right: 10px;
bottom: 10px;
}
.icon_fullScreen_exit {
background: url("../img/fullscreen_exit.png");
width: 32px;
height: 32px;
z-index: 1;
position: absolute;
right: 10px;
bottom: 10px;
display: none;
}
.mapFullScreen {
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.toolBar {
position: fixed;
right: 1.67rem;
bottom: 3.33rem;
width: 90%;
height: 48px;
/* background: #fff; */
border-radius: 4rem;
/* padding: 0 0 0 29px ; */
}
.menus_qksb {
width: 100%;
/* display: flex; */
border-radius: 4rem;
padding-right: 48px;
/* justify-content: space-between; */
transition: all ease 1s;
height: 100%;
align-items: center;
justify-content: space-around;
display: none;
z-index: 1;
position: relative;
}
.toolBarBox {
background: linear-gradient(180deg, #336eff 0%, rgba(51, 110, 255, 1) 100%);
opacity: 0.1;
width: 100%;
height: 100%;
position: absolute;
border-radius: 4rem;
display: none;
z-index: 0;
}
.menuIcon {
display: inline-block;
width: 24px;
height: 24px;
background-size: cover !important;
}
.ico_jcmd {
background: url("../img/ico_jcmd.png");
}
.ico_xsyy {
background: url("../img/ico_xsyy.png");
}
.ico_yjjy {
background: url("../img/ico_yjjy.png");
}
.ico_xcsb {
background: url("../img/ico_xcsb.png");
}
.menuItem_qksb {
display: flex;
flex-direction: column;
align-items: center;
}
.toggled {
display: flex;
}