/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Microsoft YaHei' -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: #333;
}

#app {
  width: 100%;
  height: 100%;
  overflow: auto;
}

main {
  min-width: 100%;
}

/* 标题 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-weight: normal;
}

/* 列表 */
ul,
ol {
  list-style: none;
}

/* 图片 */
img {
  border: none;
}

/* 表单 */
input,
button,
select,
textarea {
  outline: none;
}

/* 按钮 */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* 链接 */
a {
  text-decoration: none;
  color: inherit;
}

/* 其他标签 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 0;
}

/* 全局样式 */
body {
  /* background-color: #f5f5f5; */
  visibility: hidden;
  cursor: default;
}

/* 轮播图 */
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  cursor: pointer;
}

/* 图片 */
img {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

span,
i,
img {
  display: inline-block;
}

/* 表单 */
input,
button,
select,
textarea {
  outline: none;
}

/* 按钮 */
button {
  background: none;
  border: none;
  cursor: pointer;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cursor {
  cursor: pointer;
}

/* 单行溢出隐藏省略号  */
.ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 多行溢出隐藏省略号 */
.ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 隐藏 */
.hide {
  display: none !important;
}
/* 显示 */
.show {
  display: block;
}
/* 显示flex */
.flex {
  display: flex;
}

/* 透明 */
.transparent {
  opacity: 0;
}

/* 图片加载错误的样式 */
.img-load-error {
  position: relative;
  width: 100%;
  height: 100%;
}
.img-load-error::before {
  /* 在图像位置展示的内容，这里使用空内容来隐藏损坏的图标 */
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url('../assets/logo-green@2x.png') no-repeat center center;
  background-size: auto 30%;
  /* background-color: #c8c8d5; */
}

.my-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 通栏 */
.full-width {
  width: 100%;
}

.bgcf1f5fb {
  background-color: #f1f5fb;
}

header,
footer {
  background-color: #fff;
}

/* 禁用滚动 */
.disable-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
