fix: 伤害计算显示

This commit is contained in:
bietiaop 2024-07-27 12:07:30 +08:00
parent e76a9ed7ed
commit 2f83ea81a4
5 changed files with 12 additions and 7 deletions

View file

@ -19,7 +19,7 @@
}
.no-zzz-font {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-family: "tttgbnumber", "HYWenHei-55W", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.rank-icon {

View file

@ -26,8 +26,9 @@
}
.no-zzz-font {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: 'tttgbnumber', 'HYWenHei-55W', system-ui, -apple-system,
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
'Open Sans', 'Helvetica Neue', sans-serif;
}
.rank-icon {

View file

@ -626,7 +626,7 @@
}
.card .damagelist .dmg-tr {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-columns: 1.5fr 1fr 1fr;
border-bottom: 0.1em solid rgba(255, 255, 255, 0.2);
}
.card .damagelist .dmg-tr:first-child {
@ -635,6 +635,7 @@
font-size: 1.1em;
background: rgba(0, 0, 0, 0.2);
text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.6);
color: rgb(206, 190, 149);
}
.card .damagelist .dmg-tr:first-child .dmg-td {
text-align: center !important;
@ -648,6 +649,7 @@
.card .damagelist .dmg-td:first-child {
text-align: left;
background: rgba(0, 0, 0, 0.2);
color: rgb(206, 190, 149);
}
.card .damagelist .dmg-td:last-child {
border-right: none;

View file

@ -182,14 +182,14 @@
<% include(sys.specialTitle, {en: 'DAMAGE' , cn: '伤害统计' }) %>
</div>
<div class="damagelist">
<div class="dmg-tr titlebar">
<div class="dmg-tr titlebar no-zzz-font">
<div class="dmg-td">类型</div>
<div class="dmg-td">暴击伤害</div>
<div class="dmg-td">期望伤害</div>
</div>
{{each charData.damages damage}}
<div class="dmg-tr">
<div class="dmg-td">{{damage.title}}</div>
<div class="dmg-td no-zzz-font">{{damage.title}}</div>
<div class="dmg-td">{{damage.value.cd.toFixed(0)}}</div>
<div class="dmg-td">{{damage.value.qw.toFixed(0)}}</div>
</div>

View file

@ -552,7 +552,7 @@
.dmg-tr {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-columns: 1.5fr 1fr 1fr;
border-bottom: 0.1em solid rgba(255, 255, 255, 0.2);
&:first-child {
@ -561,6 +561,7 @@
font-size: 1.1em;
background: rgba(0, 0, 0, 0.2);
text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.6);
color: rgb(206, 190, 149);
.dmg-td {
text-align: center !important;
background: none !important;
@ -575,6 +576,7 @@
&:first-child {
text-align: left;
background: rgba(0, 0, 0, 0.2);
color: rgb(206, 190, 149);
}
&:last-child {
border-right: none;