<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
    <link rel="shortcut icon" href="#"/>
    <link rel="stylesheet" type="text/css" href="{{_res_path}}/character/card.css?v=1.0"/>
  </head>
  <body class="{{bg.mode}}_mode" {{cfgScale}}>
    <div class="container" id="container">
      <div class="char_name">
        <div class="uid">ID:{{uid}}</div>
        <span>{{ds.name}}</span>
        <span
            class="cons cons_{{actived_constellation_num}}">{{actived_constellation_num}}命</span>
      </div>
      <div class="info">
        <div class="detail"> Lv.{{level}} ❤{{fetter}}
          <span class="crown crown_{{crownNum}}"></span>
        </div>

        <div class="weapon">
          <div class="weapon_cont">
            <img title="{{weapon.name}}" src="{{_sys_res_path}}/genshin/logo/weapon/{{weapon.name}}.png"/>

            <p class="weapon_lv">Lv.{{weapon.level}}</p>
            <p class="weapon_affix">{{weapon.affix_level}}</p>
          </div>
          <p class="weapon_name">

            <span class="for_left">Lv.{{weapon.level}} 精{{weapon.affix_level}}</span>
            <span class="for_bottom">精{{weapon.affix_level}} </span>
            {{weapon.name}}
          </p>
        </div>

        {{ if talent.a }}
        <div class="talent">
          {{each talentMap name key}}
          <div class="talent_{{key}}">{{name}}: <span>{{ talent[key].level_current}}</span></div>
          {{/each}}
        </div>
        {{else}}
        <div class="talent">
          <div class="talent_{{key}}">请绑定Cookie以查询天赋信息</div>
        </div>
        {{/if}}
        <div class="equiv_info">
          <div class="text">{{text1|| "-"}}</div>
          <div class="text">{{text2 || "-"}}</div>
        </div>
      </div>
      <div class="copyright">Created By Yunzai-Bot & Miao-Plugin</div>
      <div>
        <img src="{{_res_path}}{{bg.img}}" title="{{name}}" class="bg"></div>
    </div>
  </body>
  <script type="text/javascript"></script>
</html>