23
This commit is contained in:
1 parent
d1d0f0d7db
commit
1a71c120f7
3 files changed
+17
-16
No files matched your search
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "front",
|
"name": "front",
|
||||||
"version": "0.0.37",
|
"version": "0.0.38",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "front",
|
"name": "front",
|
||||||
"version": "0.0.37",
|
"version": "0.0.38",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mdi/font": "7.0.96",
|
"@mdi/font": "7.0.96",
|
||||||
"@vuelidate/core": "^2.0.3",
|
"@vuelidate/core": "^2.0.3",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "front",
|
"name": "front",
|
||||||
"version": "0.0.37",
|
"version": "0.0.38",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
|||||||
@@ -254,22 +254,23 @@
|
|||||||
<v-col class="d-flex flex-column">
|
<v-col class="d-flex flex-column">
|
||||||
<v-card
|
<v-card
|
||||||
class="h-100 flex-column d-flex overflow-auto overflow-x-hidden"
|
class="h-100 flex-column d-flex overflow-auto overflow-x-hidden"
|
||||||
>mnbmnbm
|
>
|
||||||
<div
|
<div
|
||||||
class="flex-column d-flex ma-3"
|
class="flex-column d-flex ma-3"
|
||||||
v-for="n in Math.ceil(x.gallery.length/19)"
|
|
||||||
:key=n
|
|
||||||
>
|
>
|
||||||
|
|
||||||
<v-row style="height:250px" v-if="((5-1)+(n-1)*19)<x.gallery.length" class="justify-space-between ">
|
<v-row style="height:250px" class="justify-space-between ">
|
||||||
|
|
||||||
<v-col
|
<v-col
|
||||||
v-for="e in x.gallery.length" :key=e
|
v-for="e in x.gallery" :key=e
|
||||||
:lg="Math.floor(Math.random() * (Math.floor(5) - Math.ceil(3)) + Math.ceil(2))"
|
:lg="Math.floor(Math.random() * (Math.floor(5) - Math.ceil(3)) + Math.ceil(2))"
|
||||||
class="flex-column d-flex pa-0 pb-3"
|
class="flex-column d-flex pa-0 pb-3"
|
||||||
:class="x.gallery[(e-1)+(n-1)*19]['bg']">
|
>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="((e-1)+(n-1)*19)<x.gallery.length"
|
|
||||||
class='h-100 w-100 flex-column d-flex'
|
class='h-100 w-100 flex-column d-flex'
|
||||||
>
|
>
|
||||||
<v-row>
|
<v-row>
|
||||||
@@ -278,8 +279,8 @@
|
|||||||
cover
|
cover
|
||||||
|
|
||||||
class=" pointer"
|
class=" pointer"
|
||||||
:src="`${burl}${x.gallery[(e-1)+(n-1)*19].img}`"
|
:src="`${burl}${e.img}`"
|
||||||
@click="openImg(x.gallery[(e-1)+(n-1)*19].id)"
|
@click="openImg(e.id)"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@@ -289,13 +290,13 @@
|
|||||||
density="compact"
|
density="compact"
|
||||||
variant="text"
|
variant="text"
|
||||||
size="small"
|
size="small"
|
||||||
:color="heartIcoAll(x.gallery[(e-1)+(n-1)*19])?'red':'black'"
|
:color="heartIcoAll(e)?'red':'black'"
|
||||||
:icon= "heartIcoAll(x.gallery[(e-1)+(n-1)*19])?'mdi-heart':'mdi-heart-outline'"
|
:icon= "heartIcoAll(e)?'mdi-heart':'mdi-heart-outline'"
|
||||||
@click = toggleLikeAll(x.gallery[(e-1)+(n-1)*19].id)
|
@click = toggleLikeAll(e.id)
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="pa-0 pl-1" >
|
<v-col class="pa-0 pl-1" >
|
||||||
{{x.gallery[(e-1)+(n-1)*19].likes.length}}
|
{{e.likes.length}}
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user