# ak-level 关卡

  • --level-label-text: 头部标签文本
  • --level-label-bgcolor: 头部标签背景色
  • --level-prefix-icon-color: 前缀图标颜色

示例(尘)

S4-1

<template>
  <div>
    <div class="ak-level" style="--label-text:'color'">
      <div class="label"></div>
      <div class="content">S4-1</div>
      <div class="prefix-icon">
        <svg class="ak-icon " aria-hidden="true">
          <use xlink:href="#icon-vip-diamond-fill"></use>
        </svg>
      </div>
      <div class="suffix-icon">
        <img src="/img/game/primary-combat-record.webp" />
      </div>
    </div>
  </div>
</template>