mirror of
https://github.com/logos-storage/ethcc-demo.git
synced 2026-01-14 02:53:07 +00:00
On the requests page, only show details relating to the StorageRequested event On the request details page, load more detailed information, including slot info. If already fetched, do not re-fetch
21 lines
555 B
Vue
21 lines
555 B
Vue
<script setup>
|
|
import { onMounted } from 'vue'
|
|
onMounted(() => {
|
|
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<p :data-tooltip-target="$id('tooltip')" class="cursor-help">
|
|
<slot name="text"></slot>
|
|
</p>
|
|
<div
|
|
:id="$id('tooltip')"
|
|
role="tooltip"
|
|
class="absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-sm opacity-0 tooltip dark:bg-gray-700"
|
|
>
|
|
<slot name="tooltip-content"></slot>
|
|
<div class="tooltip-arrow" data-popper-arrow></div>
|
|
</div>
|
|
</template>
|