263 lines
4.9 KiB
SCSS
263 lines
4.9 KiB
SCSS
|
|
#app,html,body{
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
color: rgba(221, 255, 253, 1);
|
|
font-family: "Microsoft YaHei";
|
|
}
|
|
p,ul,li{
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.container{
|
|
width: 100%;
|
|
height: 100%;
|
|
//background-image: url('@/assets/images/bg.png');
|
|
//background-size: 100% 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index:99;
|
|
|
|
}
|
|
.unit{
|
|
font-size:.8rem;
|
|
color:rgba(221, 255, 253, 1);
|
|
font-weight: normal;
|
|
}
|
|
.page {
|
|
width: 100%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
//排水
|
|
.page-big-box{
|
|
width: 100%;
|
|
height: vh(892);
|
|
background-size: 100% 100%;
|
|
background-image: url("@/assets/images/page-big-box.png");
|
|
}
|
|
&-right-box, &-left-box {
|
|
height: 100%;
|
|
width: vw(450);
|
|
box-sizing: border-box;
|
|
z-index:3;
|
|
//animation: slide-out 2s ease-in;
|
|
}
|
|
|
|
&-right-box {
|
|
padding-right: 2.375rem;
|
|
//animation: slide-out 2s ease-in-out;
|
|
}
|
|
|
|
&-left-box {
|
|
padding-left: 2.375rem;
|
|
//animation: slide-out 2s ease-in-out;
|
|
//transform: translateX(-100%);
|
|
}
|
|
}
|
|
@keyframes slide-out {
|
|
//0%{
|
|
// transform: translateX(0%);
|
|
//}
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@keyframes slide-in {
|
|
// //0%{
|
|
// // transform: translateX(0%);
|
|
// //}
|
|
from{
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.m100{
|
|
position: relative;
|
|
top:2rem;
|
|
}
|
|
.margin10{
|
|
margin-top: 0.8rem;
|
|
}
|
|
.box-bg{
|
|
width: 100%;
|
|
height: vh(248);
|
|
background-image: url('@/assets/images/box-bg.png');
|
|
background-size: 100% 100%;
|
|
}
|
|
.title{
|
|
font-family: "title";
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
color: #fff;
|
|
padding-left: 2.75rem;
|
|
padding-right:1rem;
|
|
box-sizing: border-box;
|
|
background-image: url('@/assets/images/title.png');
|
|
width: 100%;
|
|
height:vh(38);
|
|
background-size: 100% 100%;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
display: flex;
|
|
span{}
|
|
p{
|
|
display: flex;
|
|
align-items: center;
|
|
span{
|
|
font-size: 14px;
|
|
font-weight: normal;
|
|
font-family: normal;
|
|
}
|
|
.year,.month,.day{
|
|
padding: 0 0.8rem;
|
|
//display: inline-block;
|
|
//background-color: #092624;
|
|
background-image: url('@/assets/images/small-icon.png');
|
|
background-size: 100% 100%;
|
|
cursor: pointer;
|
|
}
|
|
.selectMonth,.selectYear,.selectDay{
|
|
background-image: url('@/assets/images/small-icon-select.png');
|
|
}
|
|
.day{
|
|
margin-left: .5rem;
|
|
}
|
|
.year{
|
|
margin-right: .5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
//table的css
|
|
.tableBoby>span{
|
|
//width: 4rem;
|
|
text-align: center;
|
|
flex-basis: 33%;
|
|
display: block;
|
|
}
|
|
.tableBoby .date{
|
|
font-weight: 600;
|
|
color: rgba(61, 255, 244, 1);
|
|
span{
|
|
font-weight: normal;
|
|
color: rgba(221, 255, 253, 1);
|
|
}
|
|
}
|
|
:deep(.el-switch){
|
|
//width: 4rem;
|
|
flex-basis: 33%;
|
|
justify-content: center;
|
|
}
|
|
.runningState {
|
|
height: 98%;
|
|
width: 100%;
|
|
padding: 2% 2%;
|
|
box-sizing: border-box;
|
|
.tableTitle {
|
|
background: url("@/assets/images/overview/runTime.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
width: 100%;
|
|
height: 15.5%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
font-size: 16px;
|
|
span{
|
|
flex-basis: 33%;
|
|
text-align: center;
|
|
}
|
|
|
|
}
|
|
.tableContent {
|
|
width: 100%;
|
|
height: calc(100% - 4.5%);
|
|
overflow: auto;
|
|
scrollbar-width: none; /* firefox */
|
|
-ms-overflow-style: none; /* IE 10+ */
|
|
.tableBoby {
|
|
background: url("@/assets/images/air-conditioning/table-item.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
width: 100%;
|
|
height: 15.5%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
margin-top: .3rem;
|
|
}
|
|
}
|
|
::-webkit-scrollbar {
|
|
display: none; /* Chrome Safari */
|
|
}
|
|
}
|
|
|
|
//弹窗
|
|
.dialog {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
z-index: 9999; //优先级
|
|
bottom: 0;
|
|
margin: auto;
|
|
width: vw(506);
|
|
height: vh(317);
|
|
background-image: url('@/assets/images/lighting/dialog.png');
|
|
background-size: 100% 100%;
|
|
|
|
&-title {
|
|
padding-left: 2.5rem;
|
|
padding-top: .2rem;
|
|
box-sizing: border-box;
|
|
font-weight: 400;
|
|
color: rgba(255, 255, 255, 1);
|
|
font-size: 1.4rem;
|
|
font-family: title;
|
|
}
|
|
.close-btn {
|
|
background-image: url('@/assets/images/lighting/dialog-close.png');
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
width: 5%;
|
|
height: 8.5%;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 3%;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
.floor{
|
|
z-index:999;
|
|
position: absolute;
|
|
right: 29rem;
|
|
top: 2.8rem;
|
|
div{
|
|
width: 8rem;
|
|
cursor: pointer;
|
|
height: 2rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-bottom: 1.625rem;
|
|
}
|
|
}
|
|
//楼层未选中
|
|
.floor-default{
|
|
background-image: url("@/assets/images/floor-default.png");
|
|
}
|
|
//楼层选中
|
|
.floor-select{
|
|
background-image: url("@/assets/images/floor-select.png");
|
|
} |