banner.wxss 1.23 KB
.detail-banner {
  position: relative;
  width: 100%;
  height: 800rpx;
  background-color: #f4f4f4;
}

.detail-banner .swiper-wrapper {
  height: 800rpx;
}

.detail-banner .slide-image {
  width: 100%;
  height: 100%;
}

.detail-banner .dots {
  position: absolute;
  left: 50%;
  bottom: 100rpx;
  display: flex;
  padding: 5rpx 6rpx;
  height: 20rpx;
  box-sizing: border-box;
  border-radius: 10rpx;
  justify-content: center;
  transform: translateX(-50%);
}

.detail-banner .dots .bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.2;
  background-color: #fff;
  border-radius: 10rpx;
}

.detail-banner .dots .dot {
  margin: 0 4rpx;
  width: 10rpx;
  height: 10rpx;
  opacity: 0.2;
  background: #fff;
  border-radius: 100%;
}

.detail-banner .dots .dot.active {
  opacity: 1;
}

.detail-banner .product-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80rpx;
  padding: 0 30rpx;
  font-family: PingFang-SC-Regular, sans-serif;
  color: #fff;
  font-size: 28rpx;
  font-weight: bold;
  line-height: 80rpx;
  letter-spacing: -0.39rpx;
  opacity: 0.8;
  background-color: #000;
}

.product-name .name {
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}