mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 18:04:10 +00:00
91a133b694
1. 使用 `pydantic` 重写了 wiki 模块所使用的 model 2. 添加了 weapon_level.json 用于后续计算武器升级所需的经验 3. 修改了 wiki 插件,以适应新的 model
65 lines
2.6 KiB
HTML
65 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>weapon</title>
|
|
<link type="text/css" href="../../styles/tailwind.min.css" rel="stylesheet">
|
|
<link type="text/css" href="./weapon.css" rel="stylesheet">
|
|
<link type="text/css" href="../../styles/public.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div class="page-container container mx-auto my-6 rounded-xl px-6 py-6 max-w-lg flex flex-col divide-y-2 divide-inherit" id="container">
|
|
<div class="base-weapon-info flex py-2">
|
|
<div class="base-weapon-info-name flex-grow m-5 ml-2 font-thin text-4xl">
|
|
<h1>{{weapon_name}}</h1>
|
|
</div>
|
|
<div class="base-weapon-info-type-img m-2 mr-8 flex-shrink h-16 w-16">
|
|
<img src="{{weapon_info_type_img}}">
|
|
</div>
|
|
</div>
|
|
<div class="stat-progression-1 flex py-2">
|
|
<div class="flex-grow m-2">
|
|
<div class="stat-progression-secondary-stat-value mt-2 font-thin text-4xl">
|
|
<h1>{{progression_secondary_stat_value}}</h1>
|
|
</div>
|
|
<div class="stat-progression-secondary-stat-name mt-2 text-1xl">
|
|
<h2>{{progression_secondary_stat_name}}</h2>
|
|
</div>
|
|
</div>
|
|
<div class="base-weapon-info-source mr-4 my-1 rounded-full h-24 w-24 flex-shrink">
|
|
<img class="base-weapon-info-source-img object-contain w-full h-full" src="{{weapon_info_source_img}}">
|
|
</div>
|
|
</div>
|
|
<div class="stat-progression-2 flex py-2">
|
|
<div class="flex-grow m-2">
|
|
<div class="stat-progression-level text-base font-semibold">
|
|
<h1>Lv.{{ weapon_info_max_level }}</h1>
|
|
</div>
|
|
<div class="stat-progression-base-atk text-base">
|
|
<h2>攻击力 {{progression_base_atk}}</h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ascension-materials py-2">
|
|
<div class="flex">
|
|
{% for weapon_info_source in weapon_info_source_list %}
|
|
<div class="ascension-materials-info m-2 p-1 rounded-full flex-shrink w-16 h-16">
|
|
<img class="base-weapon-info-source-img object-contain w-full h-full" src="{{weapon_info_source}}">
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="special-ability flex py-2">
|
|
<div class="special-ability-box flex-grow m-2">
|
|
<div class="special-ability-name pb-2 text-base font-semibold text-gray-700">
|
|
<h1>{{special_ability_name}}</h1>
|
|
</div>
|
|
<div class="special-ability-info text-base">
|
|
<samp>{{special_ability_info}}</samp>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|