body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", "微软雅黑", "宋体", "Arial", "sans-serif";
}
body,
button,
input,
select,
textarea {
  font: 12px/1 system-ui, "Microsoft YaHei", "微软雅黑", "arial", "tahoma", "MicrosoftJhengHei", "sans-serif";
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased !important;
  /* 用 ascii 字符表示，使得在任何编码下都无问题 */
}
a {
  text-decoration: none;
}
a:link,
a:visited,
a:hover {
  color: inherit;
  text-decoration: none;
}
input {
  all: unset;
  /* 移除所有默认样式 */
  box-sizing: border-box;
  /* 让 padding 和 border 计算在 width 内 */
  font-family: inherit;
  /* 继承父级字体 */
  font-size: inherit;
  /* 继承字体大小 */
  appearance: none;
  /* 移除默认外观（对部分浏览器有效） */
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  padding: 0;
  margin: 0;
}
input:focus {
  outline: none;
}
button {
  all: unset;
  /* 移除所有默认样式 */
  background: transparent;
  /* 背景透明 */
  border: none;
  /* 移除默认边框 */
  font-family: inherit;
  /* 继承父元素字体 */
  font-size: inherit;
  /* 继承字体大小 */
  padding: 0;
  /* 去除内边距 */
  margin: 0;
  /* 去除外边距 */
  cursor: pointer;
  /* 使按钮可点击 */
  outline: none;
  /* 去除焦点框 */
  appearance: none;
  /* 去除系统样式 */
}
* {
  box-sizing: border-box;
}
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.swiper-base {
  margin: 40px auto;
}
.swiper-base {
  width: 500px;
  height: 300px;
  position: relative;
  overflow: hidden;
}
.swiper-base .swiper-base__slick .slick-item {
  display: block;
}
.swiper-base .swiper-base__slick .slick-item img {
  width: 500px;
  height: 300px;
  object-fit: cover;
}
.swiper-base .swiper-base-prev {
  width: 34px;
  height: 58px;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.2);
  background-image: url("./icon/left.png");
  background-size: 24px 24px;
  background-position: center center;
  background-repeat: no-repeat;
}
.swiper-base .swiper-base-next {
  width: 34px;
  height: 58px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.2);
  background-image: url("./icon/right.png");
  background-size: 24px 24px;
  background-position: center center;
  background-repeat: no-repeat;
}
.swiper-base-dots {
  position: absolute;
  bottom: 24px;
  width: 100%;
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: center;
  -ms-flex-align: center;
}
.swiper-base-dots li {
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  cursor: pointer;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.5s linear;
  margin-left: 8px;
}
.swiper-base-dots .slick-active {
  background-color: #cc0000;
}
