a {
  text-decoration: none;
}

.nav-tab {
  z-index: 1000;
  position: fixed;
  right: -240px;
  bottom: 100px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.nav-tab .nav-box {
  width: 45px;
  height: 45px;
  background: #000;
  opacity: 0.7;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.nav-tab .nav-box .pic {
  box-sizing: border-box;
  display: inline-block;
  padding-left: 16px;
  width: 10px;
  height: 10px;
  background: url("i/left_arrow.png") center center no-repeat;
  background-size: 10px 10px;
}

.nav-tab .nav-box .right_pic {
  background: url("i/right_arrow.png") center center no-repeat;
  background-size: 10px 10px;
}

.nav-tab .nav-box .nav_text {
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.hidden {
  display: none;
}

.nav-tab .nav-list {
  display: -ms-flexbox;
  display: flex;
  width: 240px;
  height: 120px;
  background: #eee;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.nav-tab .nav-list .nav-li {
  display: -ms-flexbox;
  display: flex;
  width: 60px;
  height: 60px;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-direction: column;
  flex-direction: column;
}

.nav-tab .nav-list .nav-li .icon {
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
}

.nav-tab .nav-list .nav-li .icon_index {
  background-image: url("i/icon_index.png");
}

.nav-tab .nav-list .nav-li .icon_search {
  background-image: url("i/icon_search.png");
}

.nav-tab .nav-list .nav-li .icon_people {
  background-image: url("i/icon_people.png");
}

.nav-tab .nav-list .nav-li .icon_history {
  background-image: url("i/icon_history.png");
}

.nav-tab .nav-list .nav-li .icon_back {
  background-image: url("i/icon_back.png");
}

.nav-tab .nav-list .nav-li .icon_purchase {
  background-image: url("i/icon_purchase.png");
}

.nav-tab .nav-list .nav-li .text {
  margin-top: 7px;
  font-size: 12px;
  color: #999999;
  letter-spacing: 0;
  text-align: center;
  line-height: 18px;
}

.animate-left {
  right: 0;
  animation: changeLeft 0.25s linear;
}

@keyframes changeLeft {
  0% {
    right: -240px;
  }
  50% {
    right: -120px;
  }
  100% {
    right: 0px;
  }
}

.animate-right {
  right: -240px;
  animation: changeRight 0.25s linear;
}

@keyframes changeRight {
  0% {
    right: 0rem;
  }
  50% {
    right: -120px;
  }
  100% {
    right: -240px;
  }
}
