|
- .home {
-
- overflow: hidden;
- .map-con {
- height: calc(100vh - 160px);
- background-color: $background;
- padding: 20px;
- overflow: scroll;
-
- .areaMask {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: 666;
- }
-
- .top {
- width: 100%;
- position: absolute;
- top: 100px;
- left: 0;
- font-size: 16px;
- /* 掉线提示语 */
- .notice-is-online {
- height: 80px;
- position: relative;
- z-index: 11;
- .van-notice-bar {
- height: 100%;
- font-size: 16px;
- .van-notice-bar__content {
- font-size: 16px !important;
- }
- .van-notice-bar__left-icon {
- font-size: 16px;
- }
- .van-notice-bar__wrap {
- height: 80px;
- line-height: 80px;
- padding-left: 5px;
- font-size: 16px;
- }
- .van-notice-bar__right-icon {
- font-size: 16px;
- }
- }
- }
- i.news {
- position: absolute;
- right: 30px;
- top: 30px;
- width: 70px;
- height: 70px;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: #fff;
- border-radius: 50%;
- z-index: 11;
-
- &:before {
- content: '';
- position: absolute;
- left: 10px;
- top: 10px;
- width: 50px;
- height: 50px;
- @include icon;
- @include icon_position(50, 50, 0, 150);
- z-index: 8;
- }
-
- &.on {
- &:after {
- content: '';
- position: absolute;
- right: 2px;
- top: 4px;
- width: 16px;
- height: 16px;
- background: #f35151;
- border-radius: 50%;
-
- }
- }
- }
- .shortcuts-container {
- position: absolute;
- right: 30px;
- top: 15vh;
- width: 110px;
- padding: 20px 0;
- background-color: #FFFFFF;
- border-radius: 55px;
- box-shadow: 0px 8px 25px 0px rgba(117,124,140,0.48);
- opacity: 0.9;
- z-index: 19;
- .shortcuts {
- position: relative;
- border-width: 80%;
- height: 80px;
- @include center();
- flex-direction: column;
- padding: 10px;
- margin: 10px 0;
- /* .van-image {
- height: 40px;
- width: 40px;
- } */
- .layer {
- height: 40px;
- width: 28px;
- }
- .trajectory {
- height: 40px;
- width: 36px;
- }
- .warning {
- height: 35px;
- width: 40px;
- }
- .message {
- height: 38px;
- width: 38px;
- }
- .phone {
- height: 36px;
- width: 38px;
- }
- .spread_right {
- height: 35px;
- width: 34px;
- }
- .shortcuts-title {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 40px;
- p {
- font-size: 24px;
- line-height: 40px;
- color: #666;
- padding-top: 8px;
- }
- }
- }
- .hide {
- @include center();
- }
- // :nth-child(3)告警消息在哪里就给哪里添加样式 first-child
- .shortcuts:nth-child(3) {
- .news {
- &:before {
- }
- &.on {
- &:after {
- content: '';
- position: absolute;
- right: 1px;
- top: 4px;
- width: 16px;
- height: 16px;
- background: #f35151;
- border-radius: 50%;
-
- }
- }
- }
- }
- .shortcuts:last-child {
- border:none;
- }
- .shortcuts::after {
- content: '';
- width: 20px;
- height: 1px;
- display: block;
- margin: 0 auto;
- border-bottom: 1px solid rgba(151, 151, 151, 0.1);
- }
- }
- .shortcuts-hide {
- position: absolute;
- right: 0;
- top: 60vh;
- height: 68px;
- width: 129px;
- background-color: #FFFFFF;
- z-index: 19;
- padding: 19px 0;
- border-top-left-radius: 53px;
- border-bottom-left-radius: 53px;
- box-shadow: 0px 8px 25px 0px rgba(117,124,140,0.48);
- opacity: 0.9;
- p {
- font-size: 24px;
- margin: 0 34px 0 46px;
- }
- i {
- /* @include icon_position(50, 50, 50, 200); */
- background: no-repeat;
- margin: 5px 42px 0 53px;
- @include bgimg(url('../../assets/myself/home/spread_left.png'), 34, 35);
- }
- }
- .noData {
- position: absolute;
- left: 0;
- width: 100%;
- height: 70px;
- @include center();
- @include colorAndFont(#ff9625, 28);
- background-color: #ffe9d2;
- z-index: 12;
- }
- .imgArea {
- position: absolute;
- top: 20px;
- left: 20px;
- padding: 8px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- background: #fff;
- border-radius: 50px;
- z-index: 13;
-
-
- img {
- width: 60px !important;
- height: 60px !important;
- border-radius: 50%;
- object-fit: cover;
- }
-
- span {
- padding: 0 12px;
- @include colorAndFont(#333, 28);
- }
- }
-
- .conArea {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- padding: 12px 0 12px 20px;
- background: #fff;
- box-sizing: border-box;
- display: flex;
- transform: translateX(-100%);
- transition: left .4s ease-in-out;
- z-index: 667;
- overflow: scroll;
-
- &.active {
- transform: translateX(0);
- }
-
- .list {
- @include center();
- flex-flow: column;
- @include colorAndFont(#333, 24);
- margin-right: 28px;
-
- .Myname {
- &.active {
- text-decoration: underline;
- font-weight: bold;
- }
- }
-
- .imgA {
- width: 100px;
- height: 100px;
- background: #c5c5c5;
- border-radius: 50%;
- position: relative;
- @include center();
- margin-bottom: 12px;
-
-
-
- &>img {
- width: 88px;
- height: 88px;
- border-radius: 50%;
- object-fit: cover;
- }
-
- &.active {
- width: 105px;
- height: 105px;
- position: relative;
- background: #c5c5c5;
- box-shadow: 0 0 10px 4px rgba(185, 185, 185, 0.8);
-
- &:after {
- content: '';
- position: absolute;
- bottom: -15px;
- width: 0;
- height: 0;
- border-top: 16px solid #c5c5c5;
- border-left: 8px solid transparent;
- border-right: 8px solid transparent;
- }
- }
-
- &.online {
- background: #5fcc0e;
-
- &.active {
- position: relative;
- background: #5fcc0e;
- box-shadow: 0 0 10px 4px rgba(95, 204, 14, 0.8);
-
- &:after {
- content: '';
- position: absolute;
- bottom: -15px;
- width: 0;
- height: 0;
- border-top: 16px solid #5fcc0e;
- border-left: 8px solid transparent;
- border-right: 8px solid transparent;
- }
- }
- }
- }
-
- }
- }
- }
-
- .bottom {
- width: 100%;
- position: fixed;
- left: 0;
- bottom: 0;
- z-index: 600;
- box-shadow: 0 0 20px rgba(185, 185, 185, 0.4);
-
- .conArea {
- position: relative;
-
- .toggle {
- position: absolute;
- left: 20px;
- // top: px2rem(-238);
- top: -154px;
- width: 84px;
- background: #fff;
- border-radius: 10px;
- @include center();
- flex-flow: column;
-
- span {
- width: 84px;
- height: 92px;
- @include center();
-
- i {
- width: 50px;
- height: 50px;
- @include icon;
- @include icon_position(50, 50, 0, 200);
-
- &.tole {
- @include icon_position(50, 50, 300, 100);
- }
- }
-
- // &:last-child i {
- // @include icon_position(50, 50, 0, 300);
-
- // &.on {
- // -webkit-transform: rotate(360deg);
- // animation: rotation 1s linear infinite;
- // -moz-animation: rotation 1s linear infinite;
- // -webkit-animation: rotation 1s linear infinite;
- // -o-animation: rotation 1s linear infinite;
- // }
- // }
-
- }
- }
- .con {
- margin-bottom: 5px;
- padding: 20px 0 0 28px;
- // min-height: px2rem(184);
- background: #fff;
- border-radius: 24px 24px 0 0;
- // box-shadow: 0 5px 4px palegoldenrod;
-
- .title {
- width: 600px;
- @include colorAndFont(#333, 34);
- margin-bottom: 36px;
- }
-
- .adr {
- // @include colorAndFont(#999, 28);
- // padding-right: px2rem(140);
- // margin-bottom: 36px;
-
- span {
- margin-left: 15px;
- padding: 0 8px;
- height: 30px;
- @include colorAndFont(#999, 20);
- background: #fafafa;
- border: 1px solid #b5b5b5;
- border-radius: 4px;
- }
- }
-
- .states {
- display: flex;
- justify-content: flex-start;
- align-items: center;
-
- span {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- @include colorAndFont(#999, 24);
-
- em {
- position: relative;
- margin-right: 10px;
- padding: 1px;
- width: 34px;
- height: 20px;
- border: 2px solid #5fcc0e;
- border-radius: 4px;
- box-sizing: border-box;
- display: flex;
- align-items: center;
-
- i {
- content: '';
- width: 100%;
- height: 100%;
- background: #5fcc0e;
- }
-
- &:after {
- content: ' ';
- width: 4px;
- height: 8px;
- background: #5fcc0e;
- position: absolute;
- right: -4px;
- }
-
- &.red {
- @include center();
- border-color: #ff4b21;
- background: transparent;
-
- i {
- width: 11px;
- height: 14px;
- @include icon;
- @include icon_position(11, 14, 20, 125);
- }
-
- &:after {
- background: #ff4b21;
- }
- }
-
- &.warn {
- justify-content: flex-start;
- border-color: #ff4b21;
- background: transparent;
-
- i {
- background: #ff4b21;
- }
-
- &:after {
- background: #ff4b21;
- }
- }
- }
-
- &:first-child {
- color: $blue;
- margin-right: 24px;
- // &:before {
- // content: '';
- // margin-right: 10px;
- // display: inline-block;
- // width: 42px;
- // height: px2rem(26);
- // background: #ff8c8c;
- // }
- }
- }
- }
-
- .operate {
- position: absolute;
- right: 40px;
- top: -50px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- flex-flow: column;
-
- span {
- width: 84px;
- height: 84px;
- background: #fff;
- border-radius: 50%;
- margin-top: 4px;
- margin-bottom: 20px;
- box-shadow: 0 0 14px 2px rgba(150, 150, 150, 0.4);
- @include center();
-
- i {
- width: 50px;
- height: 50px;
- @include icon;
- @include icon_position(50, 50, 0, 300);
- }
-
- &.position {
- background: $blue;
- box-shadow: 0 0 14px 2px rgba(37, 153, 255, 0.4);
- i {
- @include icon_position(50, 50, 0, 350);
-
- &.on {
- -webkit-transform: rotate(360deg);
-
- animation: rotation 1s linear infinite;
-
- -moz-animation: rotation 1s linear infinite;
-
- -webkit-animation: rotation 1s linear infinite;
-
- -o-animation: rotation 1s linear infinite;
- }
- }
- .interval-time {
- @include colorAndFont(#eee, 24);
- }
- .icon-loading {
- /* position: absolute;
- top: 0;
- left: 0; */
- height: 40px;
- width: 40px;
- .van-loading__circular {
- background: #3296fa;
- }
- }
- }
- }
-
- em {
- font-style: normal;
- @include colorAndFont(#999, 20);
- }
- }
- }
- }
-
-
-
- .tarbar {
- position: relative;
- }
- }
- }
- }
|