mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 06:58:24 +00:00
#面板
会展示角色名命座信息
This commit is contained in:
parent
ac27075276
commit
c2fa40dcf5
@ -1,6 +1,7 @@
|
||||
# 2.0.4
|
||||
|
||||
* 增加妮露的伤害计算及圣遗物权重设置
|
||||
* `#面板`会展示角色名命座信息
|
||||
* 一些已知问题修复及优化
|
||||
|
||||
# 2.0.1~2.0.3
|
||||
|
@ -29,6 +29,7 @@ export async function profileList (e) {
|
||||
tmp.face = char.getImgs(profile.costume).face
|
||||
tmp.source = profile.dataSource
|
||||
tmp.level = profile.level || 1
|
||||
tmp.cons = profile.cons
|
||||
tmp.isNew = 0
|
||||
if (newChar[char.name]) {
|
||||
tmp.isNew = 1
|
||||
|
@ -27,6 +27,14 @@ body,
|
||||
text-align: center;
|
||||
text-shadow: 0 0 1px #000;
|
||||
}
|
||||
.char-item .name .cons {
|
||||
padding: 1px 4px;
|
||||
font-size: 12px;
|
||||
transform: scale(0.8);
|
||||
margin: -2px 0 0 1px;
|
||||
vertical-align: middle;
|
||||
opacity: 0.9;
|
||||
}
|
||||
.char-item.new-char .name:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
|
@ -23,7 +23,7 @@
|
||||
<span class="img"
|
||||
style="background-image:url({{_res_path}}{{char.face}})"></span>
|
||||
</div>
|
||||
<span class="name">{{char.abbr}}</span>
|
||||
<span class="name">{{char.abbr}}<span class="cons cons-{{char.cons}}">{{char.cons}}</span></span>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
@ -30,6 +30,15 @@ body, .container {
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
text-shadow: 0 0 1px #000;
|
||||
|
||||
.cons {
|
||||
padding: 1px 4px;
|
||||
font-size: 12px;
|
||||
transform: scale(.8);
|
||||
margin: -2px 0 0 1px;
|
||||
vertical-align: middle;
|
||||
opacity: .9;
|
||||
}
|
||||
}
|
||||
|
||||
&.new-char {
|
||||
|
@ -96,5 +96,6 @@ export const usefulAttr = {
|
||||
荧: { hp: 0, atk: 75, def: 0, cp: 100, cd: 100, mastery: 75, dmg: 100, phy: 0, recharge: 55, heal: 0 },
|
||||
赛诺: { hp: 0, atk: 75, def: 0, cp: 100, cd: 100, mastery: 75, dmg: 100, phy: 0, recharge: 55, heal: 0 },
|
||||
坎蒂丝: { hp: 75, atk: 75, def: 0, cp: 100, cd: 100, mastery: 0, dmg: 100, phy: 0, recharge: 55, heal: 0 },
|
||||
妮露: { hp: 80, atk: 0, def: 0, cp: 100, cd: 100, mastery: 75, dmg: 80, phy: 0, recharge: 30, heal: 0 }
|
||||
妮露: { hp: 80, atk: 0, def: 0, cp: 100, cd: 100, mastery: 75, dmg: 80, phy: 0, recharge: 30, heal: 0 },
|
||||
纳西妲: { hp: 0, atk: 55, def: 0, cp: 100, cd: 100, mastery: 100, dmg: 100, phy: 0, recharge: 55, heal: 0 },
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user