.page-swiper {
  overflow: hidden;
  position: relative;
}
.page-swiper:hover .swiper-switch-btn.left {
  left: 20px;
}
.page-swiper:hover .swiper-switch-btn.right {
  right: 20px;
}

.page-swiper.mode-A .swiper-indicator {
  margin-top: -15px;
}
.page-swiper.mode-A .swiper-item-title-placeholder,
.page-swiper.mode-C .swiper-item-title-placeholder {
  z-index: -10;
  height: 20px;
}
.page-swiper.mode-A .swiper-item-title,
.page-swiper.mode-C .swiper-item-title {
  bottom: -20px;
  background-color: #fff;
  color: #000;
  text-align: center;
}

.page-swiper.mode-B .swiper-item-title,
.page-swiper.mode-D .swiper-item-title {
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.page-swiper.mode-C .swiper-indicator,
.page-swiper.mode-D .swiper-indicator {
  display: none;
}

.page-swiper.mode-E .swiper-indicator .indicator-block {
  display: none;
}
.page-swiper.mode-E .swiper-switch-btn {
  display: none;
}
.page-swiper.mode-E .gallery-indicator {
  position: fixed;
  top: 40px;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  font-size: 16px;
  color: #fff;
}

.swiper-content {
  display: flex;
  align-items: flex-start;
}
.swiper-content.transition {
  transition: transform 0.5s;
}
.swiper-item {
  position: relative;
  flex-shrink: 0;
}
.swiper-item-img {
  object-fit: cover;
  width: 100%;
  display: block;
}
.swiper-item-title {
  position: absolute;
  width: 100%;
  line-height: 1;
  font-size: 14px;
  padding: 3px 5px;
  overflow: hidden;
  /*文本不会换行*/
  white-space: nowrap;
  /*当文本溢出包含元素时，以省略号表示超出的文本*/
  text-overflow: ellipsis;
}
.swiper-indicator {
  position: relative;
  z-index: 10;
  height: 10px;
  max-width: 70%;
  margin: 0 auto;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.indicator-block {
  cursor: pointer;
  max-width: 20px;
  width: 10%;
  height: 5px;
  background-color: #fff;
  border: 1px solid #f5f5f5;
  border-radius: 2px;
}
.indicator-block + .indicator-block {
  margin-left: 3px;
}
.swiper-switch-btn {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  font-size: 20px;
  cursor: pointer;
  top: 50%;
  transition: all 0.2s;
}
.swiper-switch-btn.left {
  left: -20px;
}
.swiper-switch-btn.left .arrow {
  transform: rotate(135deg);
}
.swiper-switch-btn.right {
  right: -20px;
}
.swiper-switch-btn.right .arrow {
  transform: rotate(-45deg);
}

.swiper-switch-btn .arrow {
  border: solid #fff;
  border-width: 0 1px 1px 0;
  padding: 3px;
}
