更新群排行圣遗物样式错误

This commit is contained in:
Kokomi 2022-11-12 22:05:40 +08:00
parent 3feb7369ab
commit 089b8dbefe
3 changed files with 39 additions and 23 deletions

View File

@ -6,7 +6,8 @@
export const getProfileServ = ({ uid, serv, diyCfg }) => {
let { Miao, Enka } = serv
let token = diyCfg?.miaoApi?.token
if (token && token.length === 32) {
let qq = diyCfg?.miaoApi?.qq
if (qq && token && token.length === 32 && !/^test/.test(token)) {
return Miao
}
return Enka

View File

@ -222,7 +222,6 @@ body {
.char-weapon .name {
height: 20px;
line-height: 20px;
margin-bottom: 3px;
}
.char-weapon .name strong {
font-size: 13px;
@ -275,17 +274,24 @@ body {
background: url(../common/item/artifact-icon.webp) center no-repeat;
background-size: auto 88%;
}
.char-artis.artis2 .img {
.char-artis .char-info .name {
height: 20px;
line-height: 20px;
}
.char-artis .artis2 {
position: relative;
}
.char-artis .artis2 .img {
position: absolute;
transform: scale(0.7);
width: 92%;
height: 92%;
margin: 4%;
width: 100%;
height: 100%;
margin: 0;
}
.char-artis.artis2 .img:first-child {
.char-artis .artis2 .img:first-child {
transform-origin: left top;
}
.char-artis.artis2 .img:last-child {
.char-artis .artis2 .img:last-child {
transform-origin: right bottom;
}
.char-artis .artis-title {
@ -299,15 +305,15 @@ body {
width: 120px;
}
.char-dmg .dmg-value {
height: 30px;
line-height: 30px;
height: 28px;
line-height: 28px;
font-size: 18px;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}
.char-dmg .dmg-title {
height: 15px;
line-height: 15px;
margin-top: 5px;
height: 16px;
line-height: 16px;
margin-top: 6px;
font-size: 12px;
color: #aaa;
}

View File

@ -252,7 +252,6 @@ body {
.name {
height: 20px;
line-height: 20px;
margin-bottom: 3px;
strong {
font-size: 13px;
@ -324,14 +323,23 @@ body {
background-size: auto 88%;
}
.char-info {
.name {
height: 20px;
line-height: 20px;
}
}
.artis2 {
position: relative;
&.artis2 {
.img {
position: absolute;
transform: scale(.7);
width: 92%;
height: 92%;
margin: 4%;
width: 100%;
height: 100%;
margin: 0;
&:first-child {
transform-origin: left top;
@ -351,22 +359,23 @@ body {
.artis-mark {
height: 23px;
}
}
.char-dmg {
width: 120px;
.dmg-value {
height: 30px;
line-height: 30px;
height: 28px;
line-height: 28px;
font-size: 18px;
text-shadow: 1px 1px 1px rgba(0, 0, 0, .8);
}
.dmg-title {
height: 15px;
line-height: 15px;
margin-top: 5px;
height: 16px;
line-height: 16px;
margin-top: 6px;
font-size: 12px;
color: #aaa
}