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

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

View File

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

View File

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