feat: hit property

This commit is contained in:
bietiaop 2024-07-28 23:46:21 +08:00
parent 394bea4c87
commit 2c02be9e68

View file

@ -179,7 +179,14 @@
{{each equip.properties prop}}
<div class="properties">
<div class="prop-icon {{prop.classname}}"></div>
<div class="label yellow">{{prop.property_name}}</div>
{{if prop.score !== false}}
<div class="label yellow hit{{prop.base_score * 100}}">
{{else}}
<div class="label yellow">
{{/if}}
{{prop.property_name}}
</div>
{{if prop.count}}
<div class="count">
<% for(let i=1 ; i <=prop.count ; i++) { %>
@ -221,5 +228,5 @@
</div>
{{/if}}
</div>
</div>
{{/block}}
</div>
{{/block}}