changes: bump deps
This commit is contained in:
@@ -1,16 +1,28 @@
|
||||
<template>
|
||||
<nuxt-img
|
||||
<NuxtImg
|
||||
loading="lazy"
|
||||
:alt="alt"
|
||||
:class="`svg-${type || 'findata'}`"
|
||||
:style="`width: ${size || 26}px;`"
|
||||
:src="`/icon/${name || 'check.svg'}`"
|
||||
:src="`/icon/${name}`"
|
||||
/>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: ["name", "size", "type", "alt"],
|
||||
};
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
name: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
size: {
|
||||
type: Number,
|
||||
default: 26,
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: "findata",
|
||||
},
|
||||
alt: String,
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
/* primary: $blue-dianne (#204853) */
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
@click="open()"
|
||||
>
|
||||
<figure class="image is-4by3 has-background-black">
|
||||
<nuxt-img
|
||||
<NuxtImg
|
||||
:src="image"
|
||||
loading="lazy"
|
||||
alt="Hình ảnh"
|
||||
|
||||
@@ -143,7 +143,7 @@ async function openDeleteImageConfirm(image) {
|
||||
@click="props.viewImage(index)"
|
||||
>
|
||||
<figure class="image is-4by3 has-background-black">
|
||||
<nuxt-img
|
||||
<NuxtImg
|
||||
:src="url"
|
||||
loading="lazy"
|
||||
:alt="image.file__caption || image.file__name || 'Hình ảnh'"
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
class="has-background-black"
|
||||
style="flex: 0 0 100%; display: flex; justify-content: center; align-items: center"
|
||||
>
|
||||
<nuxt-img
|
||||
<NuxtImg
|
||||
loading="lazy"
|
||||
:src="`${$getpath()}static/files/${image.file__file}`"
|
||||
:alt="image.file__name"
|
||||
|
||||
@@ -114,10 +114,10 @@
|
||||
class="image px-2 pb-2"
|
||||
v-if="k.file && type === 'image'"
|
||||
>
|
||||
<nuxt-img
|
||||
<NuxtImg
|
||||
:src="`${path}download?name=${k.file}`"
|
||||
:id="'commentImage' + k.id"
|
||||
></nuxt-img>
|
||||
/>
|
||||
<div
|
||||
class="text-image"
|
||||
v-if="focus === k"
|
||||
|
||||
Reference in New Issue
Block a user