Add edit for nano (#276)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
f88d056f9d
commit
0b9cc15364
44 files changed
+423
-112
No files matched your search
@@ -1,17 +1,20 @@
|
||||
<template>
|
||||
<div class="image w-[50px] h-[50px] relative rounded-[var(--el-border-radius-base)] overflow-hidden">
|
||||
<div
|
||||
class="image w-[50px] h-[50px] relative rounded-[var(--el-border-radius-base)] overflow-hidden border border-[var(--el-border-color)] bg-[var(--el-fill-color-lighter)]"
|
||||
>
|
||||
<img class="w-full h-full object-cover" :src="url" :alt="name" />
|
||||
<div v-show="percentage && percentage < 100" class="overlay absolute inset-0 bg-white/50 backdrop-blur-[1px]"></div>
|
||||
<el-progress
|
||||
v-show="percentage && percentage < 100"
|
||||
type="circle"
|
||||
:stroke-width="3"
|
||||
:stroke-width="4"
|
||||
:percentage="percentage"
|
||||
:width="30"
|
||||
class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[30px] h-[30px] z-[10] m-auto"
|
||||
:width="34"
|
||||
class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[34px] h-[34px] z-[10] m-auto text-[12px]"
|
||||
/>
|
||||
<div
|
||||
v-if="closable"
|
||||
class="close absolute cursor-pointer top-[5px] right-[5px] bg-[rgba(0,0,0,0.7)] text-white w-[15px] h-[15px] rounded-full flex text-[10px] text-center items-center justify-center"
|
||||
class="close absolute cursor-pointer top-[4px] right-[4px] bg-[rgba(0,0,0,0.65)] text-white w-[16px] h-[16px] rounded-full flex text-[10px] text-center items-center justify-center hover:bg-[rgba(0,0,0,0.8)]"
|
||||
>
|
||||
<font-awesome-icon icon="fa-solid fa-xmark" class="icon icon-close" @click.stop="$emit('remove')" />
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user