582 lines
10 KiB
CSS
582 lines
10 KiB
CSS
/*清除元素默认的内外边距 */
|
|
* {
|
|
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: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: #e33333;
|
|
}
|
|
|
|
/* // 实现rem适配 */
|
|
@media screen and (min-width: 1024px) {
|
|
html {
|
|
font-size: 42.66px !important;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1920px) {
|
|
html {
|
|
font-size: 80px !important;
|
|
}
|
|
}
|
|
|
|
h4 {
|
|
position: absolute;
|
|
top: 1%;
|
|
left: 1%;
|
|
/* height: .325rem; */
|
|
/* line-height: .325rem; */
|
|
font-size: .225rem;
|
|
color: #fff;
|
|
/* font-weight: normal; */
|
|
}
|
|
|
|
html,
|
|
body {
|
|
overflow: hidden;
|
|
background-color: #34588C;
|
|
}
|
|
|
|
.viewport4 {
|
|
display: flex;
|
|
height: 100%;
|
|
}
|
|
|
|
.left_div {
|
|
display: flex;
|
|
flex: 1 0 calc(66%);
|
|
flex-direction: column;
|
|
/*border: 1px solid black;*/
|
|
height: 100vh;
|
|
padding: 10px 10px;
|
|
/* background-color: pink; */
|
|
}
|
|
|
|
.right_div {
|
|
display: flex;
|
|
flex: 1 0 calc(34%);
|
|
flex-direction: column;
|
|
/* border: 1px solid black;*/
|
|
height: 100vh;
|
|
padding: 10px 10px;
|
|
/* background-color: skyblue; */
|
|
}
|
|
|
|
.sub_div {
|
|
display: flex;
|
|
flex: 1 0 auto;
|
|
/*border: 1px solid black;*/
|
|
box-sizing: border-box;
|
|
margin-bottom: 10px;
|
|
/* padding-right: 10px; */
|
|
/* background-color: skyblue; */
|
|
}
|
|
|
|
.div_flex_1 {
|
|
flex: 1.3;
|
|
/* background-color: #fff; */
|
|
}
|
|
|
|
.div_flex_2 {
|
|
flex: 8.7;
|
|
|
|
}
|
|
|
|
/* 小区模块 */
|
|
.cell_box {
|
|
flex: 6.5;
|
|
position: relative;
|
|
/* margin: .1875rem 0 0 .3rem; */
|
|
/* background-color: #EDF3FC; */
|
|
/* overflow-x: overlay; */
|
|
/* overflow-y: overlay; */
|
|
}
|
|
|
|
.cell_box .top_box {
|
|
display: flex;
|
|
position: absolute;
|
|
/* position: relative; */
|
|
width: 100%;
|
|
/* flex: 1.2; */
|
|
height: 12%;
|
|
/* background-color: pink; */
|
|
/* background-color: rgba(0, 0, 0, .2); */
|
|
background-color: rgba(255, 255, 255, .2);
|
|
}
|
|
|
|
.top_box span {
|
|
/* display: flex; */
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
/* left: 40%; */
|
|
/* width: 100%; */
|
|
/* height: 100%; */
|
|
/* line-height: 100%; */
|
|
text-align: center;
|
|
/* align-content: center; */
|
|
font-size: .25rem;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
|
|
/* 小区楼宇数据 */
|
|
.down_box {
|
|
position: absolute;
|
|
top: 12%;
|
|
height: 88%;
|
|
width: 100%;
|
|
}
|
|
|
|
.table-a {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
justify-content: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.table-a::-webkit-scrollbar {
|
|
width: .2rem;
|
|
height: .2rem;
|
|
}
|
|
|
|
|
|
.table-a::-webkit-scrollbar-thumb {
|
|
border-radius: .1rem;
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
|
|
background: rgba(255, 255, 255, .2);
|
|
}
|
|
|
|
.table-a::-webkit-scrollbar-track {
|
|
border-radius: 0;
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
|
|
background: rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
.table-a::-webkit-scrollbar-corner {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.table-a .table-box {
|
|
/* flex: none;
|
|
justify-content: flex-start;*/
|
|
/* display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
overflow: auto;*/
|
|
/* height: 100%;*/
|
|
}
|
|
|
|
.table-a .table-box table {
|
|
margin-top: auto;
|
|
border-spacing: 0.07rem;
|
|
}
|
|
|
|
.table-box td {
|
|
width: 0.3rem;
|
|
/* height: 0.15rem; */
|
|
height: .3rem;
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
.blue-td {
|
|
background-color: #478dd3 !important;
|
|
}
|
|
|
|
|
|
/* 基本信息模块 */
|
|
.message {
|
|
flex: 3.5;
|
|
position: relative;
|
|
/* width: 100%; */
|
|
/* height: 3.325rem;
|
|
margin: .1625rem 0 0 .3rem; */
|
|
/* background-color: skyblue; */
|
|
background-color: rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
.message .chart_pie {
|
|
position: absolute;
|
|
left: .175rem;
|
|
width: 40%;
|
|
height: 100%;
|
|
/* background-color: gray; */
|
|
}
|
|
|
|
.message .basic_information {
|
|
position: absolute;
|
|
top: 5%;
|
|
right: 2%;
|
|
width: 55%;
|
|
height: 90%;
|
|
/* background-color: pink; */
|
|
}
|
|
|
|
.message .basic_information h4 {
|
|
position: absolute;
|
|
/* top: .4rem; */
|
|
top: 15%;
|
|
/* left: .3rem; */
|
|
left: 5%;
|
|
}
|
|
|
|
.message .basic_information ul {
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
/* top: 1rem; */
|
|
top: 40%;
|
|
right: 5%;
|
|
width: 92%;
|
|
height: 30%;
|
|
/* background-color: gray; */
|
|
}
|
|
|
|
.message .basic_information ul li {
|
|
display: inline-block;
|
|
width: 22%;
|
|
text-align: center;
|
|
/* background-color: green; */
|
|
}
|
|
|
|
.message .basic_information ul li em {
|
|
font-size: .175rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.message .basic_information ul li i {
|
|
font-size: .35rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* 右侧 ------------------------------------------*/
|
|
.grid_inspector {
|
|
/* display: flex; */
|
|
/* position: relative; */
|
|
width: 100%;
|
|
height: 100%;
|
|
/* background-color: #fff; */
|
|
}
|
|
|
|
.grid_inspector .span_1 {
|
|
display: flex;
|
|
position: relative;
|
|
width: 100%;
|
|
height: 35%;
|
|
}
|
|
|
|
.grid_inspector .span_2 {
|
|
display: flex;
|
|
position: relative;
|
|
/* top: 35%; */
|
|
width: 100%;
|
|
height: 65%;
|
|
/* background-color: pink; */
|
|
overflow-y: scroll;
|
|
/* justify-content: flex-start; */
|
|
align-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.span_2::-webkit-scrollbar {
|
|
width: .2rem;
|
|
height: .2rem;
|
|
}
|
|
|
|
|
|
.span_2::-webkit-scrollbar-thumb {
|
|
border-radius: .1rem;
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
|
|
background: rgba(255, 255, 255, .2);
|
|
}
|
|
|
|
.span_2::-webkit-scrollbar-track {
|
|
border-radius: 0;
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
|
|
/* background: transparent; */
|
|
background: rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
|
|
.grid_inspector .span_2 .module {
|
|
display: flex;
|
|
position: relative;
|
|
width: 48%;
|
|
margin-right: 2%;
|
|
margin-bottom: 2%;
|
|
height: 100%;
|
|
/* background-color: skyblue; */
|
|
}
|
|
|
|
|
|
|
|
.grid_inspector .span_2 .module .head_portrait {
|
|
position: absolute;
|
|
/* left: 1%; */
|
|
/* bottom: 0; */
|
|
width: 25%;
|
|
height: 100%;
|
|
/* background-color: pink; */
|
|
/* background: url(../images/head1.png) no-repeat; */
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .head_portrait img {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-size: contain;
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 25%;
|
|
width: 75%;
|
|
height: 100%;
|
|
/* background-color: gray; */
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box .row1 {
|
|
/* float: left; */
|
|
position: absolute;
|
|
top: 0;
|
|
left: 3%;
|
|
height: 33%;
|
|
width: 70%;
|
|
/* width: 90px; */
|
|
/* line-height: .225rem; */
|
|
/* background-color: skyblue; */
|
|
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box .row1 .icon {
|
|
position: absolute;
|
|
left: 0;
|
|
width: .1875rem;
|
|
height: .1875rem;
|
|
/* line-height: .1875rem; */
|
|
background: url(../images/icon1.png) no-repeat;
|
|
background-size: contain;
|
|
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box .row1 em {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 15%;
|
|
font-size: .15rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box .row2 {
|
|
/* float: left; */
|
|
position: absolute;
|
|
top: 33%;
|
|
left: 3%;
|
|
height: 33%;
|
|
width: 70%;
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box .row2 .icon {
|
|
position: absolute;
|
|
left: 0;
|
|
width: .1875rem;
|
|
height: .1875rem;
|
|
/* line-height: .1875rem; */
|
|
background: url(../images/icon2.png) no-repeat;
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box .row2 em {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 15%;
|
|
font-size: .15rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box .row3 {
|
|
/* float: left; */
|
|
position: absolute;
|
|
top: 66%;
|
|
left: 3%;
|
|
height: 33%;
|
|
width: 70%;
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box .row3 .icon {
|
|
position: absolute;
|
|
left: 0;
|
|
width: .1875rem;
|
|
height: .1875rem;
|
|
background: url(../images/icon3.png) no-repeat;
|
|
}
|
|
|
|
.grid_inspector .span_2 .module .box .row3 em {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 15%;
|
|
font-size: .15rem;
|
|
color: #fff;
|
|
}
|
|
|
|
|
|
|
|
/* 人员信息 */
|
|
.personal_information {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
/* width: 4.95rem; */
|
|
/* height: 8.325rem;
|
|
margin: .2rem 0 0 .2375rem; */
|
|
/* background-color: skyblue; */
|
|
}
|
|
|
|
.personal_information .box {
|
|
position: relative;
|
|
display: flex;
|
|
top: 6%;
|
|
width: 100%;
|
|
height: 94%;
|
|
overflow-y: scroll;
|
|
align-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.box::-webkit-scrollbar {
|
|
width: .2rem;
|
|
height: .2rem;
|
|
}
|
|
|
|
|
|
.box::-webkit-scrollbar-thumb {
|
|
border-radius: .1rem;
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
|
|
background: rgba(255, 255, 255, .2);
|
|
}
|
|
|
|
.box::-webkit-scrollbar-track {
|
|
border-radius: 0;
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
|
|
/* background: transparent; */
|
|
background: rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
.personal_information .box1 {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 30%;
|
|
margin-bottom: .2rem;
|
|
background-color: rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
.personal_information .box1 .box2 {
|
|
position: absolute;
|
|
top: 10%;
|
|
left: 5%;
|
|
width: 60%;
|
|
height: 62%;
|
|
/* background-color: skyblue; */
|
|
}
|
|
|
|
.personal_information .box1 .box2 span {
|
|
display: block;
|
|
height: 20%;
|
|
/* line-height: .25rem; */
|
|
font-size: .15rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.personal_information .box1 .box2 img {
|
|
width: 5%;
|
|
height: 70%;
|
|
/* background-color: #fff; */
|
|
}
|
|
|
|
.personal_information .box1 .box3 {
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
top: 75%;
|
|
left: 5%;
|
|
width: 60%;
|
|
height: 15%;
|
|
/* background-color: gray; */
|
|
|
|
}
|
|
|
|
.personal_information .box1 .box3 span {
|
|
display: inline-block;
|
|
width: 31%;
|
|
font-size: .15rem;
|
|
color: #fff;
|
|
line-height: .3125rem;
|
|
text-align: center;
|
|
border-radius: .0625rem;
|
|
/* background-color: skyblue; */
|
|
}
|
|
|
|
.personal_information .box1 .box3 .box3_1 {
|
|
background-color: #4095E5;
|
|
}
|
|
|
|
.personal_information .box1 .box3 .box3_2 {
|
|
background-color: #81B337;
|
|
}
|
|
|
|
.personal_information .box1 .box3 .box3_3 {
|
|
background-color: #FFBF6B;
|
|
}
|
|
|
|
.personal_information .box1 .box4 {
|
|
position: absolute;
|
|
top: 5%;
|
|
right: 0;
|
|
width: 14%;
|
|
height: 15%;
|
|
line-height: .3rem;
|
|
text-align: center;
|
|
font-size: .15rem;
|
|
color: #fff;
|
|
border-top-left-radius: .2rem;
|
|
border-bottom-left-radius: .2rem;
|
|
background-color: #4095E5;
|
|
}
|