mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-23 01:32:15 +00:00
upload request prototype UI
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
<template>
|
||||
<div class="relative block cursor-pointer lg:mr-2 lg:w-2 2xl:w-3" :style="{ height: bar.percentage + '%' }" @mouseover="isVisible = true" @mouseleave="isVisible = false">
|
||||
<div v-if="isVisible" class="absolute -top-4 z-10 ml-1.5 -translate-y-full -translate-x-1/2 transform rounded-lg bg-gray-800 py-2 px-3 shadow-lg dark:bg-white">
|
||||
<div
|
||||
class="relative block cursor-pointer lg:mr-2 lg:w-2 2xl:w-3"
|
||||
:style="{ height: bar.percentage + '%' }"
|
||||
@mouseover="isVisible = true"
|
||||
@mouseleave="isVisible = false"
|
||||
>
|
||||
<div
|
||||
v-if="isVisible"
|
||||
class="absolute -top-4 z-10 ml-1.5 -translate-y-full -translate-x-1/2 transform rounded-lg bg-gray-800 py-2 px-3 shadow-lg dark:bg-white"
|
||||
>
|
||||
<b class="mb-2 block whitespace-nowrap text-xs text-white dark:text-gray-800">
|
||||
{{ bar.created_at }}
|
||||
</b>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<div class="grid h-20 grid-flow-col items-end gap-1 sm:h-28 sm:gap-2 lg:flex lg:items-end lg:justify-between lg:gap-0">
|
||||
<div
|
||||
class="grid h-20 grid-flow-col items-end gap-1 sm:h-28 sm:gap-2 lg:flex lg:items-end lg:justify-between lg:gap-0"
|
||||
>
|
||||
<!--Data bar-->
|
||||
<Bar v-for="(item, i) in data" :key="i" :bar="item" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user