Вставка фотографий
This commit is contained in:
1 parent
e147d4b5e5
commit
0ce19e81a8
1 file changed
+34
-4
@@ -250,11 +250,41 @@
|
|||||||
>
|
>
|
||||||
<v-col class="d-flex flex-column bg-red">
|
<v-col class="d-flex flex-column bg-red">
|
||||||
<div class="flex-column d-flex"
|
<div class="flex-column d-flex"
|
||||||
v-for="x in 2"
|
v-for="n in 2"
|
||||||
|
:key=n
|
||||||
>
|
>
|
||||||
<v-row style="height:150px">
|
<v-row style="height:150px">
|
||||||
<v-col class="bg-yellow">1</v-col>
|
<v-col class="bg-yellow flex-column d-flex ">
|
||||||
<v-col class="bg-grey">2</v-col>
|
<v-row>
|
||||||
|
<v-col class="pa-1 pb-0">
|
||||||
|
<v-img
|
||||||
|
class="w-100 h-100 pointer"
|
||||||
|
:src="`${burl}${x.gallery[0].img}`"
|
||||||
|
@click="openImg(x.gallery[0].id)"
|
||||||
|
/>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
<v-row class="flex-grow-0">
|
||||||
|
<v-col class="pa-0 flex-grow-0">
|
||||||
|
|
||||||
|
<v-btn
|
||||||
|
density="compact"
|
||||||
|
variant="text"
|
||||||
|
size="small"
|
||||||
|
:color="heartIcoAll(x.gallery[0])?'red':'black'"
|
||||||
|
:icon= "heartIcoAll(x.gallery[0])?'mdi-heart':'mdi-heart-outline'"
|
||||||
|
@click = toggleLikeAll(x.gallery[0].id)
|
||||||
|
/>
|
||||||
|
</v-col>
|
||||||
|
<v-col class="pa-0 pl-1">
|
||||||
|
{{x.gallery[0].likes.length}}
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
|
||||||
|
</v-col>
|
||||||
|
<v-col class="bg-grey">
|
||||||
|
|
||||||
|
</v-col>
|
||||||
<v-col class="bg-blue">3</v-col>
|
<v-col class="bg-blue">3</v-col>
|
||||||
<v-col class="bg-black">4</v-col>
|
<v-col class="bg-black">4</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@@ -262,7 +292,7 @@
|
|||||||
<v-col class="bg-black d-flex flex-column">
|
<v-col class="bg-black d-flex flex-column">
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>
|
<v-col>
|
||||||
5
|
<my-helper :pretext="x.gallery"/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row>
|
<v-row>
|
||||||
|
|||||||
Reference in new issue
Block a user