mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +00:00
微调#角色详情 界面样式及提示文案
This commit is contained in:
parent
664186696c
commit
fe4b92abde
@ -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;
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user