.footer {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    max-width: 420px;
    color: #666;
    background-color: #fff;
    border-top: 1px solid #eee;
    z-index: 999;
    box-shadow: 0 10px 15px 5px rgba(45, 56, 66, 0.12);
  }
  .footer ul {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }
  .footer ul li {
    position: relative;
    flex: 1;
    height: 40px;
    box-sizing: border-box;
    border-right: 1px solid #ddd;
    cursor: pointer;
  }
  .footer ul li:nth-last-child(1) {
    border-right: none;
  }
  .footer ul li span {
    /* position: relative; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-weight: 400;
  }
  .footer ul li.span-active {
    color: #fff;
    background-color: #4dd0e1;
  }
  .footer ul li.span-active::after {
    content: "";
    width: 60%;
    height: 4px;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  @supports (bottom: env(safe-area-inset-bottom)) {
  .footer {
      padding-bottom: constant(safe-area-inset-bottom);
      padding-bottom: env(safe-area-inset-bottom);
  }
  }
  
  