* {
  padding: 0;
  margin: 0;
}
/* 弹性布局开始 */
/* 容器变成flex布局 */
.dis-flex {
  display: flex !important;
}

/* 主轴为水平方向，起点在左端 */
.flex-dir-row {
  flex-direction: row;
}

/* 主轴为水平方向，起点在右端 */
.flex-dir-rrow {
  flex-direction: row-reverse;
}

/* 主轴为垂直方向，起点在上沿 */
.flex-dir-column {
  flex-direction: column;
}

/* 主轴为垂直方向，起点在下沿 */
.flex-dir-dcolumn {
  flex-direction: column-reverse;
}

/* 不换行 */
.flex-wrap {
  flex-wrap: nowrap;
}

/* 换行，第一行在上方 */
.flex-uwrap {
  flex-wrap: wrap;
}

/* 换行，第一行在下方 */
.flex-dwrap {
  flex-wrap: wrap-reverse;
}

/* 在主轴上居中对齐 */
.flex-x-center {
  justify-content: center;
}

/* 在主轴上两端对齐，项目之间的间隔都相等 */
.flex-x-between {
  justify-content: space-between;
}

/* 在主轴上每个项目两侧的间隔相等。所以，项目之间的间隔比项目与边框的间隔大一倍 */
.flex-x-around {
  justify-content: space-around;
}

/* 剧中对其 */
.flex-x-center {
  justify-content: center;
}

/* 在主轴上右对齐 */
.flex-x-end {
  justify-content: flex-end;
}

/* 从行尾开始排列 */
.flex-x-end2 {
  justify-content: end;
}

/* 交叉轴上起点对齐 */
.flex-y-start {
  align-items: flex-start;
}

/* 交叉轴上终点对齐 */
.flex-y-end {
  align-items: flex-end;
}

/* 交叉轴上中点对齐 */
.flex-y-center {
  align-items: center;
}

/* 交叉轴上第一行文字的基线对齐 */
.flex-y-baseline {
  align-items: baseline;
}

/* 项目的放大比例，默认为0，即如果存在剩余空间，也不放大 */
.flex-grow {
  flex-grow: 0;
}

/* 项目的缩小比例，默认为1，即如果空间不足，该项目将缩小,设置为0则不缩小 */
.flex-shrink {
  flex-shrink: 0;
}
/* 弹性布局结束 */

/* 设置为块级元素 */
.dis-block {
  display: block;
}

/* 设置为行内块元素 */
.dis-iblock {
  display: inline-block;
}

/* 文字左对齐 */
.t-l {
  text-align: left;
}

/* 文字居中对齐 */
.t-c {
  text-align: center;
}

/* 文字右对齐 */
.t-r {
  text-align: right;
}

/* 溢出隐藏 */
.oh {
  overflow: hidden;
}

/* 一行溢出省略 */
.onelist-hidden {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 两行溢出省略 */
.twolist-hidden {
  display: -webkit-box;
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 字体加粗 */
.fw {
  font-weight: bold;
}

/* 20字体 */
.f-20 {
  font-size: 20rpx;
}

/* 22字体 */
.f-22 {
  font-size: 22rpx;
}

/* 24字体 */
.f-24 {
  font-size: 24rpx;
}

/* 26字体 */
.f-26 {
  font-size: 26rpx;
}

/* 28字体 */
.f-28 {
  font-size: 28rpx;
}

/* 30字体 */
.f-30 {
  font-size: 30rpx;
}

/* 32字体 */
.f-32 {
  font-size: 32rpx;
}

/* 上下边距为0,左右居中 */
.m0auto {
  margin: 0 auto;
}

/* 上下边距为20rpx,左右居中 */
.m20auto {
  margin: 20rpx auto;
}

/* 内边距20rpx */
.pad-20 {
  padding: 20rpx;
}

/* 外边距20rpx */
.mar-20 {
  margin: 20rpx;
}

/* 右外边距20rpx */
.mar-r-20 {
  margin-right: 20rpx;
}

/* 左外边距20rpx */
.mar-l-20 {
  margin-left: 20rpx;
}

/* 上外边距20rpx */
.mar-u-20 {
  margin-top: 20rpx;
}

/* 下外边距20rpx */
.mar-d-20 {
  margin-bottom: 20rpx;
}

/* IE盒子模型 */
.bs {
  box-sizing: border-box;
}
.cs {
  box-sizing: content-box;
}
/* 无法被选中 */
.inevitable {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* 吸顶 */
.sticky {
  position: sticky;
  top: 0;
  z-index: 99 !important;
}
/* 必填项 */
.required::before {
  position: absolute;
  content: "*";
  color: red;
  left: 5rpx;
}
