/*菜单*/
.scrollx {
  height: 0.95rem;
  overflow: hidden;
  border-bottom: 1px solid #e6e2e2;
  background-color: #fff;
}
.scrollx-content {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}
.nav {
  padding: 0 0.16rem 0 0.1rem;
  border-bottom: 1px solid red;
}
.nav li {
  font-size: 0.28rem;
  display: inline-block;
  padding: 0.24rem 0.1rem 0.06rem 0.1rem;
  margin-bottom: 0.3rem;
  /*把水平滚动条撑到外面,达到隐藏的目的*/
  vertical-align: middle;
  font-size: 0.3rem;
  margin-right: 12px;
}
.nav .active {
  color: #000;
  font-weight: 600;
  position: relative;
}
.nav .active::after {
  content: "";
  width: 40%;
  position: absolute;
  left: 30%;
  bottom: 0;
  height: 3px;
  background-color: #098ee7;
  border-radius: 0.05rem;
}
.search {
  padding: 0.2rem 0.32rem 0.2rem;
  overflow: hidden;
  position: fixed;
  top: 0.96rem;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 11;
  background-color: #fff;
  border-radius: 0;
}
.search input {
  width: 100%;
  display: block;
  padding: 0.24rem 0.04rem 0.24rem 0.9rem;
  border-radius: 0.2rem;
  border: 0;
  background: rgba(245, 245, 245, 0.8) url("../images/ss.png") no-repeat 0.35rem center / 0.32rem 0.3rem;
  font-size: 0.28rem;
  color: #000;
}
.search input::placeholder {
  color: #b3b3b3;
}
/*列表*/
.swiper-container {
  position: fixed;
  top: 2.2rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  max-height: 85vh;
  padding-bottom: 1rem;
}
.swiper-container ul {
  padding: 0rem 0.32rem 0.1rem;
}
.swiper-container ul > a {
  display: block;
  margin-bottom: 0.4rem;
}
.swiper-container ul li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.swiper-container ul li .l-img {
  width: 2.2rem;
  min-width: 2.2rem;
  height: 1.55rem;
  margin-right: 0.24rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.1rem;
  overflow: hidden;
  position: relative;
}
.swiper-container ul li .l-img img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.swiper-container ul li .l-img .readed {
  position: absolute;
  right: 0;
  top: 0;
  background-color: #2291f8;
  color: #fff;
  padding: 0.02rem 0.06rem;
  border-radius: 0 0 0 0.12rem;
  font-size: 0.2rem;
}
.swiper-container ul li .r-info h2 {
  height: 0.8rem;
  font-size: 0.3rem;
  color: #2f2f2f;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-bottom: 0.1rem;
}
.swiper-container ul li .r-info time {
  font-size: 0.22rem;
  color: #b4b4b4;
}
.swiper-container ul li .r-info address {
  font-size: 0.22rem;
  color: #283038;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  color: #132f5d;
}
/*隐藏*/
.hide {
  display: none;
}
