.s-layer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  color: #fff;
}
.s-layer .s-layer-tips {
  display: inline-block;
  position: absolute;
  left: 50%;
  bottom: 35vh;
  padding: 10px 15px;
  line-height: 20px;
  border-radius: 5px;
  background-color: rgba(101, 101, 101, 0.5);
  text-align: center;
  font-size: 14px;
  color: #fff;
  word-break: break-all;
  animation: confirmanimation 0.3s;
  transform: translate(-50%, -50%);
}

@keyframes alertanimation {
  from {
    bottom: 0;
  }
  to {
    bottom: 35vh;
  }
}
.s-layer .s-layer-confirm {
  position: fixed;
  background-color: rgba(101, 101, 101, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.s-layer .s-layer-confirm .s-layer-box {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0 20px;
  width: 280px;
  height: 180px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
  transform: translate(-50%, -50%) scale(1);
  animation: confirmanimation 0.3s linear;
}
.s-layer .s-layer-confirm .s-layer-title {
  height: 50px;
  line-height: 50px;
  border-bottom: 1px solid #f5f5f5;
  text-align: center;
  color: #1a2636;
  font-size: 18px;
}
.s-layer .s-layer-confirm .s-layer-msg {
  height: 85px;
  line-height: 85px;
  overflow: auto;
  text-align: center;
  color: #929297;
  font-size: 18px;
}
.s-layer .s-layer-confirm .s-layer-msg span {
  display: inline-block;
  line-height: 20px;
  font-size: 15px;
  vertical-align: middle;
  word-break: break-all;
}
.s-layer .s-layer-confirm .s-layer-btn {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  height: 45px;
  line-height: 45px;
  width: 100%;
  text-align: center;
  font-size: 15px;
}
.s-layer .s-layer-confirm .s-layer-close {
  flex: 1;
  background-color: #e9e9e9;
  color: #1a2636;
}
.s-layer .s-layer-confirm .s-layer-sub {
  flex: 1;
  background-color: #f14936;
  color: #ffffff;
}
@keyframes confirmanimation {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
