微调#角色详情 界面样式及提示文案

This commit is contained in:
yoimiya-kokomi 2022-04-17 04:23:19 +08:00
parent 664186696c
commit fe4b92abde
3 changed files with 10 additions and 8 deletions

View File

@ -543,7 +543,7 @@ export async function renderProfile(e, char, render) {
auth: "cookie", auth: "cookie",
targetType: "self", targetType: "self",
cookieType: "self", cookieType: "self",
actionName: "查询角色详情" actionName: "查询角色天赋命座等信息"
}); });
let selfUser = e.selfUser, let selfUser = e.selfUser,
@ -551,8 +551,8 @@ export async function renderProfile(e, char, render) {
let profile = Profile.get(uid, char.id); let profile = Profile.get(uid, char.id);
if (!profile) { if (!profile) {
e.reply(`尚无${char.name}属性信息。请在游戏内将角色展示在“角色展柜”中并打开“显示角色详情”。设置完成5分钟后请使用 #获取游戏角色详情 命令获取角色详情数据~`) e.reply(`尚无${char.name}面板详情。请在将角色展示在【游戏内】的“角色展柜”中并打开“显示角色详情”。设置完成5分钟后使用 #获取游戏角色详情 命令进行数据获取。`)
return renderAvatar(e, char.name, render) return true;
} }
let a = profile.attr; let a = profile.attr;

View File

@ -97,10 +97,10 @@ let Data = {
name: char ? char.name : "", name: char ? char.name : "",
lv: data['等级'], lv: data['等级'],
attr: Data.getAttr(data), attr: Data.getAttr(data),
weapon: Data.getWeapon(data), // weapon: Data.getWeapon(data),
artis: Data.getArtifact(data), artis: Data.getArtifact(data),
cons: data["命之座数量"] * 1 || 0, //cons: data["命之座数量"] * 1 || 0,
talent: Data.getTalent(data) //talent: Data.getTalent(data)
}; };
}, },
getAttr(data) { getAttr(data) {

View File

@ -71,6 +71,7 @@ body {
position: relative; position: relative;
font-family: YS; font-family: YS;
font-weight: 400; font-weight: 400;
text-shadow: 0 0 1px rgba(0, 0, 0, .5);
} }
.attr li i { .attr li i {
@ -206,7 +207,7 @@ body {
background-size: contain; background-size: contain;
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 0px; top: 0;
margin-left: -14px; margin-left: -14px;
} }
@ -361,7 +362,7 @@ body {
} }
.artis .head .mark { .artis .head .mark {
font-family: YS; font-family: Number, YS;
} }
.artis .head span.high-lvl { .artis .head span.high-lvl {
@ -416,6 +417,7 @@ body {
.artis ul.detail li span.val { .artis ul.detail li span.val {
text-align: right; text-align: right;
padding-right: 10px; padding-right: 10px;
font-family: Number;
} }