mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🐛 fix /weapon
type icon
This commit is contained in:
parent
1b8184117e
commit
4b26982b3a
@ -72,7 +72,7 @@ class WeaponPlugin(Plugin):
|
||||
_template_data = {
|
||||
"weapon_name": _weapon_data.name,
|
||||
"weapon_rarity": _weapon_data.rarity,
|
||||
"weapon_info_type_img": await self.download_resource(_weapon_data.weapon_type.icon_url()),
|
||||
"weapon_info_type_img": _weapon_data.weapon_type.name,
|
||||
"progression_secondary_stat_value": bonus,
|
||||
"progression_secondary_stat_name": _weapon_data.attribute.type.value,
|
||||
"weapon_info_source_img": (
|
||||
@ -92,7 +92,7 @@ class WeaponPlugin(Plugin):
|
||||
_template_data = {
|
||||
"weapon_name": _weapon_data.name,
|
||||
"weapon_rarity": _weapon_data.rarity,
|
||||
"weapon_info_type_img": await self.download_resource(_weapon_data.weapon_type.icon_url()),
|
||||
"weapon_info_type_img": _weapon_data.weapon_type.name,
|
||||
"progression_secondary_stat_value": " ",
|
||||
"progression_secondary_stat_name": "无其它属性加成",
|
||||
"weapon_info_source_img": (
|
||||
|
@ -27,7 +27,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="base-weapon-info-type m-2 mr-8 flex-shrink h-16 w-16">
|
||||
<img src="./../../img/example/256x256.png">
|
||||
<img src="img/Polearm.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="stat-progression-1 rounded-xl flex mb-4">
|
||||
|
BIN
resources/genshin/weapon/img/Bow.png
Normal file
BIN
resources/genshin/weapon/img/Bow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
resources/genshin/weapon/img/Catalyst.png
Normal file
BIN
resources/genshin/weapon/img/Catalyst.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
BIN
resources/genshin/weapon/img/Claymore.png
Normal file
BIN
resources/genshin/weapon/img/Claymore.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
resources/genshin/weapon/img/Polearm.png
Normal file
BIN
resources/genshin/weapon/img/Polearm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
resources/genshin/weapon/img/Sword.png
Normal file
BIN
resources/genshin/weapon/img/Sword.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
@ -28,7 +28,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="base-weapon-info-type-img m-2 mr-8 flex-shrink h-16 w-16">
|
||||
<img src="{{weapon_info_type_img}}">
|
||||
<img src="img/{{weapon_info_type_img}}.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="stat-progression-1 flex py-2">
|
||||
|
Loading…
Reference in New Issue
Block a user