7658-devToTest_2428 #508
|
@ -44,7 +44,13 @@ onMounted(() => {});
|
||||||
<template>
|
<template>
|
||||||
<QImg :src="url" v-bind="$attrs" @click="show = !show" spinner-color="primary" />
|
<QImg :src="url" v-bind="$attrs" @click="show = !show" spinner-color="primary" />
|
||||||
<QDialog v-model="show" v-if="$props.zoomSize">
|
<QDialog v-model="show" v-if="$props.zoomSize">
|
||||||
<QImg :src="url" class="img_zoom" v-bind="$attrs" spinner-color="primary" />
|
<QImg
|
||||||
|
:src="url"
|
||||||
|
size="full"
|
||||||
|
class="img_zoom"
|
||||||
|
v-bind="$attrs"
|
||||||
|
spinner-color="primary"
|
||||||
|
/>
|
||||||
</QDialog>
|
</QDialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -56,8 +62,6 @@ onMounted(() => {});
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
.img_zoom {
|
.img_zoom {
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
border-radius: 0%;
|
border-radius: 0%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue