findCar.wxss 4.64 KB
.map-wrap{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.icon-wrap{
  position: fixed;
}
.icon-wrap cover-image{
  display: inline-block;
  width: 100%;
  height: 100%;
}
.icon-wrap cover-image.active{
  display: none;
}
.icon-wrap.hover cover-image{
  display: none;
}
.icon-wrap.hover cover-image.active{
  display: inline-block;
}
.findcar-icon-wrap{
  left: 50%;
  bottom: 20rpx;
  margin-left: -66rpx;
  width: 132rpx;
  height: 132rpx;
}
.locate-icon-wrap{
  left: 30rpx;
  bottom: 40rpx;
  width: 98rpx;
  height: 98rpx;
}
.refresh-icon-wrap{
  left: 30rpx;
  bottom: 160rpx;
  width: 98rpx;
  height: 98rpx;
}
.car-info-modal{
  position: fixed;
  top: 150rpx;
  left: 50%;
  width: 580rpx;
  margin-left: -290rpx;
  background: #fff;
  border-radius: 10rpx;
  border: 2rpx solid #eee;
}
.car-info-modal .main{
  padding: 30rpx 30rpx 0;
}

.car-info-modal .title{
  font-size: 34rpx;
  padding-bottom: 30rpx;
  border-bottom: 2rpx solid #eee;
}
.car-info-modal .info{
  display: flex;
  color: #666;
  margin: 10rpx 0rpx;
  font-size: 28rpx;
}
.car-info-modal .info cover-image{
  width: 42rpx;
  height: 42rpx;
  margin-right: 10rpx;
}
.car-info-modal .info .text{
  word-break: break-all; 
  word-wrap: break-word; 
  white-space: pre-line;
  flex: 1;
  line-height: 46rpx;
}
.car-info-modal .info .label{

}
.car-info-modal .nav{
  display: flex;
  color: #333;
  font-size: 28rpx;
  border-top: 1rpx solid #eee;
}
.car-info-modal .nav cover-view{
  flex: 1;
  padding: 20rpx 0;
  text-align: center;
  border-right: 1rpx solid #eee;
}
.car-info-modal .nav cover-view:last-child{
  border-right: none;
}
.battery-icon{
  position: absolute;
  top: 80rpx;
  right: 20rpx;
}
.battery-icon-bar{
  margin-top: 20px;
  display: inline-block;
  width: 70rpx;
  height: 38rpx;
  border: 2rpx solid #37c060;
  border-radius: 8rpx;
  padding: 2rpx;
  overflow:visible;
  position: relative;
  background-color:#fff;
  z-index:100;
}
.battery-icon-out{
  content: '';
  display: inline-block;
  width: 5rpx;
  height: 24rpx;
  border: 2rpx solid #37c060;
  border-radius: 6rpx;
  position: relative;
  left: -2rpx;
  top: -4rpx;
}
.battery-icon-bar-inn{
  content: '';
  display: inline-block;
  width: 10%;
  height: 100%;
  border-radius: 8rpx 0 0 8rpx;
  background-color: #d4f1dc;
  
}
.battery-icon-bar-num{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 24rpx;
  text-align: center;
  line-height: 42rpx;
  color: #37c060;
}
.battery-icon.full .battery-icon-inn{
  border-radius: 8rpx;
}
.battery-icon.not-enough{
  border-color: #df2222;
}
.battery-icon.not-enough .battery-icon-out{
  border: 2rpx solid #df2222;
}
.battery-icon.not-enough .battery-icon-inn{
  background-color: #f0d0d0;
}

.radio{
  display: flex;
  margin-right: 10px;
}
.radio cover-image{
  flex: 1;
}
.radio cover-view{
  line-height: 42rpx;
}

.sidebar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  animation: sidebarShow 1s;
  -webkit-animation:sidebarShow 1s; /* Safari 和 Chrome */
}
.sidebar.hidden{
  left: -100%;
  background: none;
  animation: sidebarHide 1s;
  -webkit-animation:sidebarHide 1s; /* Safari 和 Chrome */
}

.sidebar-nav{
  width: 70%;
  height: 100%;
  background-color:#fff;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-nav .cell{
  display: flex;
  padding: 24rpx;
  align-items:center;
}
.sidebar-nav .left{
  flex: 1;
}
.sidebar-nav .left cover-image{
  display: inline-block;
  width: 30rpx;
  height: 30rpx;
  margin-right: 10rpx;
  vertical-align: middle;
}
.sidebar-nav .left cover-view{
  display: inline-block;
}
.sidebar-nav .weui-cell__ft_in-access{
  overflow: visible;

}
.sidebar-nav .longline{
  display: inline-block;
  width: 100%;
  height: 2rpx;
  background-color: #eee;
  line-height: 2rpx;
}
.sidebar-nav .line{
  display: inline-block;
  width: 100%;
  margin-left: 24rpx;
  height: 2rpx;
  background-color: #eee;
  line-height: 2rpx;
}
.arrow-right{
  display: inline-block;
  width: 16rpx;
  height: 25rpx;
  margin-right: 10rpx;

}
@keyframes sidebarHide
{
    from {
      left: 0;
    }
    to {
      left: -100%;
    }
}
 
@-webkit-keyframes sidebarHide /* Safari 与 Chrome */
{
    from {
      left: 0;
    }
    to {
      left: -100%;
    }
}
@keyframes sidebarShow
{
    0% {
      left: -100%;
      background: none;
    }
    25% {
      left: 0;
      background: none;
    }
    100%{
      background: rgba(0,0,0,0.5);
    }
}
 
@-webkit-keyframes sidebarShow /* Safari 与 Chrome */
{
    0% {
      left: -100%;
      background: none;
    }
    25% {
      left: 0;
      background: none;
    }
    100%{
      background: rgba(0,0,0,0.5);
    }
}