mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 09:27:34 +00:00
修正#角色面板
的角色等级展示异常
This commit is contained in:
parent
5f47e19789
commit
ce358f5b4b
@ -45,7 +45,7 @@ let EnkaData = {
|
||||
lodash.forEach({
|
||||
name: 'nickname',
|
||||
avatar: 'profilePicture.avatarId',
|
||||
lv: 'level'
|
||||
level: 'level'
|
||||
}, (src, key) => {
|
||||
ret[key] = lodash.get(data.playerInfo, src, '')
|
||||
})
|
||||
|
@ -17,7 +17,7 @@ let Miao = {
|
||||
lodash.forEach({
|
||||
name: 'nickname',
|
||||
avatar: 'profilePicture.avatarID',
|
||||
lv: 'level',
|
||||
level: 'level',
|
||||
signature: 'signature'
|
||||
}, (src, key) => {
|
||||
ret[key] = lodash.get(data, src, '')
|
||||
@ -41,7 +41,7 @@ let Miao = {
|
||||
name: char ? char.name : '',
|
||||
dataSource: 'miao',
|
||||
updateTime: now.format('YYYY-MM-DD HH:mm:ss'),
|
||||
lv: ds.level
|
||||
level: ds.level
|
||||
}
|
||||
},
|
||||
getAvatarDetail (ds) {
|
||||
@ -52,7 +52,7 @@ let Miao = {
|
||||
name: char ? char.name : '',
|
||||
dataSource: 'miao',
|
||||
updateTime: now.format('YYYY-MM-DD HH:mm:ss'),
|
||||
lv: ds.level,
|
||||
level: ds.level,
|
||||
fetter: ds.fetterLevel,
|
||||
attr: Miao.getAttr(ds.combatValue),
|
||||
weapon: Miao.getWeapon(ds.weapon),
|
||||
|
@ -72,7 +72,7 @@ let Data = {
|
||||
lodash.forEach({
|
||||
name: '角色名称',
|
||||
avatar: '头像ID',
|
||||
lv: '冒险等阶'
|
||||
level: '冒险等阶'
|
||||
}, (title, key) => {
|
||||
ret[key] = data[title] || ''
|
||||
})
|
||||
@ -89,7 +89,7 @@ let Data = {
|
||||
return {
|
||||
id: data['英雄Id'],
|
||||
name: char ? char.name : '',
|
||||
lv: data['等级'],
|
||||
level: data['等级'],
|
||||
attr: Data.getAttr(data),
|
||||
// weapon: Data.getWeapon(data),
|
||||
artis: Data.getArtifact(data)
|
||||
@ -146,7 +146,7 @@ let Data = {
|
||||
getWeapon (data) {
|
||||
return {
|
||||
name: data['武器名称'],
|
||||
lv: data['武器等级'],
|
||||
level: data['武器等级'],
|
||||
refine: data['武器精炼']
|
||||
}
|
||||
},
|
||||
|
@ -16,7 +16,7 @@
|
||||
style="background-image:url({{_res_path}}/meta/character/{{data.name}}/gacha_splash.png)"></div>
|
||||
<div class="detail">
|
||||
<div class="char-name">{{data.name}}</div>
|
||||
<div class="char-lv">UID {{uid}} - Lv.{{data.lv}}
|
||||
<div class="char-lv">UID {{uid}} - Lv.{{data.level}}
|
||||
<span class="cons cons-{{data.cons}}">{{data.cons}}命</span></div>
|
||||
<div class="cont">
|
||||
<div class="item arti-stat">
|
||||
|
@ -14,7 +14,7 @@
|
||||
style="background-image:url({{_res_path}}/meta/character/{{name}}/gacha_splash.png)"></div>
|
||||
<div class="detail">
|
||||
<div class="char-name">{{name}}</div>
|
||||
<div class="char-lv">UID {{uid}} - Lv.{{data.lv}}
|
||||
<div class="char-lv">UID {{uid}} - Lv.{{data.level}}
|
||||
<span class="cons cons-{{data.cons}}">{{data.cons}}命</span></div>
|
||||
<div class="char-talents">
|
||||
{{each talentMap tName key}}
|
||||
|
@ -9,7 +9,7 @@
|
||||
<div class="char-name">{{ds.name}}</div>
|
||||
<div class="char-lv">
|
||||
{{if uid}}UID {{uid}} - {{/if}}
|
||||
<span class="cons cons-{{ds.cons}}">{{ds.cons}}命</span> {{if ds.lv}} Lv.{{ds.lv}}{{/if}}
|
||||
<span class="cons cons-{{ds.cons}}">{{ds.cons}}命</span> {{if ds.level}} Lv.{{ds.level}}{{/if}}
|
||||
</div>
|
||||
<div class="char-talents">
|
||||
{{each ds.talentMap tName key}}
|
||||
|
Loading…
Reference in New Issue
Block a user