From ce358f5b4be651a548bea5945c762b51fb03f973 Mon Sep 17 00:00:00 2001 From: yoimiya-kokomi <592981798@qq.com> Date: Fri, 19 Aug 2022 07:16:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3`#=E8=A7=92=E8=89=B2=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF`=E7=9A=84=E8=A7=92=E8=89=B2=E7=AD=89=E7=BA=A7?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/profile-data/enka-data.js | 2 +- components/profile-data/miao.js | 6 +++--- components/profile-data/original.js | 6 +++--- resources/character/artis-mark.html | 2 +- resources/character/detail.html | 2 +- resources/common/tpl/avatar-profile.html | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/profile-data/enka-data.js b/components/profile-data/enka-data.js index 7da8211b..9c67dadc 100644 --- a/components/profile-data/enka-data.js +++ b/components/profile-data/enka-data.js @@ -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, '') }) diff --git a/components/profile-data/miao.js b/components/profile-data/miao.js index e5568a34..0b86b7d0 100644 --- a/components/profile-data/miao.js +++ b/components/profile-data/miao.js @@ -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), diff --git a/components/profile-data/original.js b/components/profile-data/original.js index 8df83f95..b5612471 100644 --- a/components/profile-data/original.js +++ b/components/profile-data/original.js @@ -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['武器精炼'] } }, diff --git a/resources/character/artis-mark.html b/resources/character/artis-mark.html index c817ef17..9e194f2c 100644 --- a/resources/character/artis-mark.html +++ b/resources/character/artis-mark.html @@ -16,7 +16,7 @@ style="background-image:url({{_res_path}}/meta/character/{{data.name}}/gacha_splash.png)">
{{data.name}}
-
UID {{uid}} - Lv.{{data.lv}} +
UID {{uid}} - Lv.{{data.level}} {{data.cons}}命
diff --git a/resources/character/detail.html b/resources/character/detail.html index af0eff62..3c4c836c 100644 --- a/resources/character/detail.html +++ b/resources/character/detail.html @@ -14,7 +14,7 @@ style="background-image:url({{_res_path}}/meta/character/{{name}}/gacha_splash.png)">
{{name}}
-
UID {{uid}} - Lv.{{data.lv}} +
UID {{uid}} - Lv.{{data.level}} {{data.cons}}命
{{each talentMap tName key}} diff --git a/resources/common/tpl/avatar-profile.html b/resources/common/tpl/avatar-profile.html index ae7362ed..95ab6082 100644 --- a/resources/common/tpl/avatar-profile.html +++ b/resources/common/tpl/avatar-profile.html @@ -9,7 +9,7 @@
{{ds.name}}
{{if uid}}UID {{uid}} - {{/if}} - {{ds.cons}}命 {{if ds.lv}} Lv.{{ds.lv}}{{/if}} + {{ds.cons}}命 {{if ds.level}} Lv.{{ds.level}}{{/if}}
{{each ds.talentMap tName key}}