diff --git a/config/system/profile_system.js b/config/system/profile_system.js index 4e8410e5..9a4c0ca5 100644 --- a/config/system/profile_system.js +++ b/config/system/profile_system.js @@ -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 diff --git a/resources/character/rank-profile-list.css b/resources/character/rank-profile-list.css index 0d46bb3c..f9e4ce49 100644 --- a/resources/character/rank-profile-list.css +++ b/resources/character/rank-profile-list.css @@ -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; } diff --git a/resources/character/rank-profile-list.less b/resources/character/rank-profile-list.less index 655cd324..ef0b2f91 100644 --- a/resources/character/rank-profile-list.less +++ b/resources/character/rank-profile-list.less @@ -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 }