Add helper to Interactive360 #62

This commit is contained in:
Timothée Goguely 2024-12-16 18:19:39 +01:00
parent f99e33f80e
commit 7ab8812b4c
2 changed files with 31 additions and 4 deletions

View file

@ -1,8 +1,12 @@
<template>
<figure>
<div @mousedown="enableDragToRotate" class="drag-zone"></div>
<div @mousedown="enableDragToRotate" class="drag-zone" :class="{ 'grabbing': isDragToRotateEnabled }"></div>
<img :src="currentFile.url" alt="" width="500" height="500" />
</figure>
<div hidden id="helper" class="flex flex-col | bg-black-50">
<p class="rounded-lg | text-white bg-grey-800 | p-16">Vous pouvez visualiser léchantillon sous différents angles en cliquant et en déplaçant la souris de gauche à droite ou de bas en haut.</p>
<button class="btn">Jai compris</button>
</div>
</template>
<script setup>