/**
 * @description: 清除浮动
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 响应式图片
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 横向排列，垂直居中布局
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 单行文本超出隐藏
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 多行文本超出隐藏
 * @Author:
 * @param {Number} num 最多要显示几行
 * @return:
 */
/**
 * @description: flex 垂直居中布局
 * @Author:
 * @param {String} cposition 水平排列方式
 * @return:
 */
/**
 * @description: 设置元素尺寸
 * @Author:
 * @param {Number} w 宽度
 * @param {Number} h 高度
 * @return:
 */
/**
 * @description: 2x的雪碧图缩放
 * @Author:
 * @param {Number} spriteW 雪碧图原始宽度
 * @param {Number} spriteH 雪碧图原始高度
 * @param {Number} bgOffsetX 背景定位原始X轴偏移量
 * @param {Number} bgOffsetY 背景定位原始Y轴偏移量
 * @return:
 */
/**
 * @description: 设置字体
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 修改滚动条样式
 * @Author:
 * @param {String} scrollW 滚动条宽度
 * @param {String} scrollC 滚动条背景色
 * @param {String} trackP 滑块背景色
 * @return:
 */
/**
 * @description: 设置背景图
 * @Author:
 * @param {String} url 图片路径
 * @return:
 */
/**
 * @description: 修改输入框占位符的字体颜色
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 禁止选中内容
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 鼠标移入图片放大效果
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 铺满整个容器的绝对定位
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 绝对定位水平垂直居中
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 统一容器,视项目不同,数值有所不同
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 替代flex的inline-block
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 首页栏目标题样式
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 两端对齐辅助元素
 * @Author: 
 * @param {type} 
 * @return: 
 */
div.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  div.banner {
    margin-top: -0.23rem;
  }
}
div.banner div.banner-pagination {
  position: absolute;
  bottom: -0.04rem;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  text-align: center;
  z-index: 98;
}
@media screen and (max-width: 1024px) {
  div.banner div.banner-pagination {
    width: auto;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    display: none;
  }
}
div.banner div.banner-pagination span.swiper-pagination-switch {
  display: inline-block;
  width: 1.4rem;
  height: 0.08rem;
  background: #ffffff;
}
div.banner div.banner-pagination span.swiper-pagination-switch.swiper-active-switch {
  background: #043695;
}
div.banner div.swiper-container {
  height: calc(100vh - calc((100vh * 160) / 1080));
}
@media screen and (max-width: 1024px) {
  div.banner div.swiper-container {
    max-height: auto;
    height: 8.7rem;
  }
}
div.banner div.swiper-container div.swiper-wrapper {
  height: 100% !important;
}
div.banner div.swiper-container div.swiper-slide {
  height: 100% !important;
}
div.banner div.swiper-container a {
  display: block;
  width: 100%;
  height: 100%;
}
div.banner div.swiper-container img {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 1024px) {
  div.banner div.swiper-container img {
    height: 8.7rem;
  }
}
div.banner .banner-product {
  width: 100%;
  height: 1.4rem;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
}
div.banner .banner-product ul {
  overflow-x: auto;
  white-space: nowrap;
  border-left: 1px solid #FFFFFF;
  border-right: 1px solid #FFFFFF;
}
div.banner .banner-product ul li {
  display: inline-block;
  width: 3.5rem;
  border-right: 1px solid #FFFFFF;
}
div.banner .banner-product ul li a {
  display: block;
  padding: 0.3rem 0.3rem 0.3rem 0.4rem;
}
div.banner .banner-product ul li a .img {
  width: 0.8rem;
  height: 0.8rem;
  float: left;
}
div.banner .banner-product ul li a .img img {
  width: auto;
  height: 100%;
}
div.banner .banner-product ul li a .test {
  float: right;
  width: calc(100% - 1rem);
  padding-top: 0.1rem;
}
div.banner .banner-product ul li a .test .title {
  font-size: 0.24rem;
  color: #FFFFFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
div.banner .banner-product ul li a .test .desc {
  margin-top: 0.08rem;
  font-size: 0.18rem;
  color: #FFFFFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
div.banner .banner-product ul li:last-child {
  border-right: 0;
}
div.banner .banner-product ul li:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
@media screen and (max-width: 1024px) {
  div.banner .banner-product ul {
    padding: 0;
  }
  div.banner .banner-product ul li {
    width: 50%;
  }
  div.banner .banner-product ul li a {
    padding: 0.3rem 0.1rem;
  }
  div.banner .banner-product ul li a .img {
    width: 0.7rem;
  }
  div.banner .banner-product ul li a .test {
    padding-top: 0;
  }
  div.banner .banner-product ul li a .test .title {
    font-size: 0.3rem;
  }
  div.banner .banner-product ul li a .test .desc {
    font-size: 0.28rem;
  }
}
@media screen and (max-width: 1024px) {
  div.pc-banner {
    display: none;
  }
}
div.phone-banner {
  display: none;
}
@media screen and (max-width: 1024px) {
  div.phone-banner {
    display: block;
  }
}
