.headLayer {
  display: flex;
  position: relative;
}

.headLayer > span {
  padding: 0 20px;
  height: 40px;
  box-sizing: border-box;
  line-height: 40px;
  display: inline-block;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: #303133;
  position: relative;
  cursor: pointer;
}

.headLayer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #e4e7ed;
  z-index: 1;
}

.headLayer > span.active {
  color: #409eff;
  position: relative;
  z-index: 2;
}

.headLayer > span.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: #409eff;
  z-index: 1;
  list-style: none;
  width: 100%;
}

.hidelayer {
  display: none;
}