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

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 }) => { export const getProfileServ = ({ uid, serv, diyCfg }) => {
let { Miao, Enka } = serv let { Miao, Enka } = serv
let token = diyCfg?.miaoApi?.token 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 Miao
} }
return Enka return Enka

View File

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

View File

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