#carousel-icon {
  position: fixed;
  bottom: 100px;
  right: 10px;
  height: 50px;
  width: 50px;
  background-color: #FFF;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0px 0px 10px #b4b3b3;
}
#carousel-icon img {
  width: 55%;
  display: block;
  cursor: pointer;
}
#carousel-icon2 {
  position: fixed;
  bottom: 100px;
  right: 10px;
  height: 50px;
  width: 150px;
  background-color: #FFF;
  border-radius: 10px 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  z-index: 5;
}
#carousel-icon2 img {
  width: 55%;
  display: block;
  cursor: pointer;
}
#carousel {
  width: 250px;
  height: 350px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  padding: 5px 10px 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  z-index: 3;
  animation: scaleShowAnimation 0.5s ease 1 forwards;
}
#carousel .carousel-title {
  font-size: 0.16rem;
  padding-bottom: 5px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#carousel .carousel-title img {
  width: 20px;
  vertical-align: text-bottom;
}
#carousel .carousel-title .close {
  font-size: 0.1rem;
  color: #0099ff;
  cursor: pointer;
}
#carousel .carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 100%;
  /* 根据需要调整高度 */
}
#carousel .carousel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* 确保有足够的空间进行无缝滚动 */
}
#carousel .carousel-list li {
  line-height: 36px;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  width: 100%;
  box-sizing: border-box;
  /* border-radius: 5px; */
  font-size: 0.13rem;
  padding: 0px 5px;
}
/* 使用关键帧定义动画 */
@keyframes scaleShowAnimation {
  0% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes scaleHideAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(120%);
  }
}
