角色图鉴页面样式修改

This commit is contained in:
yoimiya-kokomi 2022-09-08 04:04:32 +08:00
parent 35ddc89bfc
commit 5910e0c2aa
6 changed files with 32 additions and 10 deletions

View File

@ -441,11 +441,11 @@ ul.cont-msg li strong,
position: absolute;
display: block;
left: 0;
bottom: 0;
top: 0;
background: rgba(0, 0, 0, 0.6);
font-size: 12px;
color: #fff;
padding: 4px 5px 3px;
border-radius: 0 6px 0 0;
border-radius: 0 0 6px 0;
}
/*# sourceMappingURL=common.css.map */

View File

@ -372,11 +372,11 @@ ul.cont-msg, .cont-footer ul {
position: absolute;
display: block;
left: 0;
bottom: 0;
top: 0;
background: rgba(0, 0, 0, 0.6);
font-size: 12px;
color: #fff;
padding: 4px 5px 3px;
border-radius: 0 6px 0 0;
border-radius: 0 0 6px 0;
}
}

View File

@ -194,6 +194,17 @@ body {
font-size: 16px;
text-shadow: 0 0 1px #000, 1px 1px 3px #000;
}
.item-value {
color: #000;
text-align: center;
line-height: 20px;
font-size: 15px;
}
.item-title {
font-size: 12px;
transform: scale(0.9);
margin-top: -3px;
}
.artis-list .artis-count2 {
position: relative;
}

View File

@ -86,14 +86,14 @@
{{if weapons.length >0}}
<div class="cont">
<div class="cont-title border-less">常用武器 <span>持有率、武器、圣遗物统计来自胡桃API未经允许请勿使用此数据</span></div>
<div class="cont-title border-less">常用武器</div>
<div class="item-list weapon-list">
{{each weapons weapon}}
<div class="item item-card">
<div class="item-icon star{{weapon.star}}">
<div class="item-bg" style="background-image:url({{_res_path}}{{weapon.img}})"></div>
<div class="item-badge">{{weapon.value}}</div>
</div>
<div class="item-value">{{weapon.value}}</div>
<div class="item-title">{{weapon.abbr}}</div>
</div>
{{/each}}
@ -103,7 +103,7 @@
{{if artis.length >0}}
<div class="cont">
<div class="cont-title border-less">常用圣遗物</div>
<div class="cont-title border-less">常用圣遗物<span>持有率、武器、圣遗物统计来自胡桃API未经允许请勿使用此数据</span></div>
<div class="item-list weapon-list artis-list">
{{each artis arti}}
<div class="item item-card">
@ -112,8 +112,8 @@
<div class="item-bg artis{{idx+1}}"
style="background-image:url({{_res_path}}/meta/reliquaries/icon/{{sn}}.png)"></div>
{{/each}}
<div class="item-badge">{{arti.value}}</div>
</div>
<div class="item-value">{{arti.value}}</div>
<div class="item-title">{{arti.title}}</div>
</div>
{{/each}}

View File

@ -246,9 +246,20 @@ body {
}
}
.item-value {
color: #000;
text-align: center;
line-height: 20px;
font-size: 15px;
}
.item-title {
font-size: 12px;
transform: scale(.9);
margin-top: -3px;
}
.artis-list {
.artis-count2 {
position: relative;

View File

@ -251,4 +251,4 @@ const charData = {
71: { key: 'cyno', name: '赛诺' },
72: { key: 'candace', name: '坎蒂丝' }
}
await down('北斗', true)
await down('妮露,赛诺,坎蒂丝', true)