This commit is contained in:
2025-04-08 23:04:03 +08:00
parent a25738817f
commit a1f55df191
18 changed files with 4874 additions and 38 deletions
@@ -20,6 +20,19 @@
<EquipmentIcon :equipment="stones(detail[part].fusion)" />
</div>
</template>
<div
v-if="props.withSubWeapon"
class="pos-absolute text-white/50 w-26px h-26px border-1px border-solid border-#7a7a7a/50 flex items-center justify-center"
style="left:150px;top:5px;z-index:8;"
@click="choosePart('副武器')"
>
<template v-if="detail?.['副武器']?.id">
<EquipmentIcon :equipment="equ(detail['副武器'].id)" />
</template>
<template v-else>
副武
</template>
</div>
</div>
</template>
@@ -45,6 +58,10 @@ const props = defineProps({
detail: {
type: Object as PropType<Record<string, IConfigEquip>>,
},
withSubWeapon:{
type: Boolean,
default: false,
}
})
const partModelValue = useVModel(props, 'part')
const infoStore = useInfoStore()