.yw-tag {
  display: inline-block;
  :global {
    .ant-tag {
      font-family: PingFangSC-Regular;
      font-size: 12px;
      font-weight: normal;
      line-height: 12px;
      letter-spacing: 0px;
      color: #fff;
      border-radius: 2px;
      text-align: center;
      display: inline-block;
      margin-right: 4px;
    }
    .ant-tag-error {
      color: #f15a5a;
      background: #ffeded;
      border-color: transparent;
      line-height: 20px !important;
    }
    .ant-tag-warning {
      color: #ed6a0c;
      background: #fff5e2;
      border-color: transparent;
      line-height: 20px !important;
    }
    .ant-tag-processing {
      color: #0077ff;
      background: rgba(0, 119, 255, 0.1);
      border-color: transparent;
      line-height: 20px !important;
    }
    .ant-tag-success {
      color: #07c160;
      border-color: transparent;
      background: #dcfffb;
      line-height: 20px !important;
    }
    .ant-tag-default {
      color: #333;
      border-color: transparent;
      background: #f2f2f2;
      line-height: 20px !important;
    }
  }
  &-default {
    :global {
      .ant-tag {
        padding: 2px 4px;
      }
    }
  }
  &-s {
    :global {
      .ant-tag {
        border-radius: 2px;
        font-size: 10px;
        padding: 2px;
        line-height: 10px;
      }
    }
  }
  &-hollow {
    :global {
      .ant-tag {
        background: #fff !important;
        border-radius: 2px;
        line-height: 16px !important;
        padding: 0 2px;
        margin-right: 4px;
        border-color: rgba(0, 119, 255, 0.6);
        color: #0077ff;
      }
      .ant-tag-error {
        color: #f15a5a;
        border-color: rgba(241, 90, 90, 0.6);
      }
      .ant-tag-success {
        color: #07c160;
        border-color: rgba(7, 193, 96, 0.6);
      }
      .ant-tag-warning {
        color: #ed6a0c;
        border-color: rgba(237, 106, 12, 0.6);
      }
      .ant-tag-processing {
        border-color: rgba(0, 119, 255, 0.6);
        color: #0077ff;
      }
      .ant-tag-default {
        color: #999999 !important;
      }
    }
  }
  &-level {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(135deg, #ffde9b 0%, #ed8b00 100%);
    -webkit-clip-path: polygon(
      45% 1.33975%,
      46.5798% 0.60307%,
      48.26352% 0.15192%,
      50% 0%,
      51.73648% 0.15192%,
      53.4202% 0.60307%,
      55% 1.33975%,
      89.64102% 21.33975%,
      91.06889% 22.33956%,
      92.30146% 23.57212%,
      93.30127% 25%,
      94.03794% 26.5798%,
      94.48909% 28.26352%,
      94.64102% 30%,
      94.64102% 70%,
      94.48909% 71.73648%,
      94.03794% 73.4202%,
      93.30127% 75%,
      92.30146% 76.42788%,
      91.06889% 77.66044%,
      89.64102% 78.66025%,
      55% 98.66025%,
      53.4202% 99.39693%,
      51.73648% 99.84808%,
      50% 100%,
      48.26352% 99.84808%,
      46.5798% 99.39693%,
      45% 98.66025%,
      10.35898% 78.66025%,
      8.93111% 77.66044%,
      7.69854% 76.42788%,
      6.69873% 75%,
      5.96206% 73.4202%,
      5.51091% 71.73648%,
      5.35898% 70%,
      5.35898% 30%,
      5.51091% 28.26352%,
      5.96206% 26.5798%,
      6.69873% 25%,
      7.69854% 23.57212%,
      8.93111% 22.33956%,
      10.35898% 21.33975%
    );
    color: #e28500;
    &-inner {
      position: absolute;
      left: 1px;
      top: 1px;
      width: 18px;
      height: 18px;
      border-radius: 2px;
      font-family: PingFang SC;
      transform: scale(0.86, 0.86);
      font-size: 12px;
      line-height: 18px;
      text-align: center;
      display: block;
      background: linear-gradient(180deg, #fdf5d8 0%, #ffd834 100%);
      -webkit-clip-path: polygon(
        45% 1.33975%,
        46.5798% 0.60307%,
        48.26352% 0.15192%,
        50% 0%,
        51.73648% 0.15192%,
        53.4202% 0.60307%,
        55% 1.33975%,
        89.64102% 21.33975%,
        91.06889% 22.33956%,
        92.30146% 23.57212%,
        93.30127% 25%,
        94.03794% 26.5798%,
        94.48909% 28.26352%,
        94.64102% 30%,
        94.64102% 70%,
        94.48909% 71.73648%,
        94.03794% 73.4202%,
        93.30127% 75%,
        92.30146% 76.42788%,
        91.06889% 77.66044%,
        89.64102% 78.66025%,
        55% 98.66025%,
        53.4202% 99.39693%,
        51.73648% 99.84808%,
        50% 100%,
        48.26352% 99.84808%,
        46.5798% 99.39693%,
        45% 98.66025%,
        10.35898% 78.66025%,
        8.93111% 77.66044%,
        7.69854% 76.42788%,
        6.69873% 75%,
        5.96206% 73.4202%,
        5.51091% 71.73648%,
        5.35898% 70%,
        5.35898% 30%,
        5.51091% 28.26352%,
        5.96206% 26.5798%,
        6.69873% 25%,
        7.69854% 23.57212%,
        8.93111% 22.33956%,
        10.35898% 21.33975%
      );
    }
  }
}
