feat:添加装备改版

This commit is contained in:
2025-07-26 16:32:06 +08:00
parent 0340b3d920
commit 19046f7b23
15 changed files with 812 additions and 557 deletions
@@ -117,7 +117,7 @@ export default defineComponent({
{renderList(skills(index).value, (item) => (
<>
<CalcOption value={item.id.toString()}>
<img src={getImageURL(item.icon)} alt={item.name} />
<img class="mt-2px" src={getImageURL(item.icon)} alt={item.name} />
</CalcOption>
</>
))}
@@ -133,7 +133,7 @@ export default defineComponent({
{renderList(skills(index).value, (item) => (
<>
<CalcOption value={item.id.toString()}>
<img src={getImageURL(item.icon)} alt={item.name} />
<img class="mt-2px" src={getImageURL(item.icon)} alt={item.name} />
</CalcOption>
</>
))}
@@ -26,6 +26,7 @@ export default defineComponent({
const currentUsedVP = computed(() => {
return Object.keys(lvInfo.value)
.filter((a) => skills.value.find((skill) => skill.id.toString() === a))
.map((a) => lvInfo.value[a].vp)
.filter((a) => !!a && a > 0).length
})
+2 -2
View File
@@ -28,7 +28,7 @@
></SkillTree>
</div>
<div v-if="tab === 1" class="flex flex-col overflow-y-hidden h-full">
<div class="item-head" 角色等级>技能进化</div>
<div class="item-head" 角色等级>技能突破</div>
<SkillUP
class="flex-1"
:skills="infoStore.skills"
@@ -36,7 +36,7 @@
v-model:bindAwake="configStore.config.bindAwake"
:buffer="infoStore.infos?.buffer"
></SkillUP>
<div class="item-head" 角色等级>技能突破</div>
<div class="item-head" 角色等级>技能进化</div>
<div class="flex-1 overflow-y-auto w-full">
<SkillVP
:skills="infoStore.skills"