Работа над интерактивным обучением для дежурного и мед. сестры

This commit is contained in:
brusnitsyn
2026-07-15 16:53:38 +09:00
parent e48d38f3a2
commit d9cb1aca28
12 changed files with 377 additions and 209 deletions

View File

@@ -135,7 +135,11 @@ function delay(ms) {
<template>
<Teleport to="body">
<TourOverlay
v-if="onboarding.active && target"
v-if="onboarding.active &&
target &&
onboarding.currentStep?.highlight !== false &&
rect"
:allow-interaction="onboarding.currentStep?.allowInteraction ?? true"
:rect="rect"
:padding="onboarding.currentStep.padding"
/>
@@ -148,7 +152,7 @@ function delay(ms) {
:visible="onboarding.active"
:is-first="onboarding.stepIndex === 0"
:is-last="onboarding.stepIndex === onboarding.tour.steps.length - 1"
:is-last="onboarding.stepIndex === onboarding.tour?.steps.length - 1"
@next="onboarding.next"
@previous="onboarding.previous"
@@ -156,4 +160,4 @@ function delay(ms) {
@close="onboarding.finish"
/>
</Teleport>
</template>
</template>