diff --git a/apps/character.js b/apps/character.js index 2656d393..bce8712f 100644 --- a/apps/character.js +++ b/apps/character.js @@ -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; diff --git a/components/Profile.js b/components/Profile.js index 6effd048..e5eb9f55 100644 --- a/components/Profile.js +++ b/components/Profile.js @@ -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) { diff --git a/resources/character/detail.css b/resources/character/detail.css index 48bcddd9..5577ea17 100644 --- a/resources/character/detail.css +++ b/resources/character/detail.css @@ -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; }