лайки подсчет
This commit is contained in:
1 parent
f53451b6e3
commit
afaaf5137a
5 files changed
+35
-21
No files matched your search
@@ -305,23 +305,15 @@
|
||||
|
||||
|
||||
<v-card
|
||||
|
||||
class="ma-auto d-flex flex-column w-100 elevation-0 flex-wrap"
|
||||
|
||||
min-width="200"
|
||||
|
||||
class="ma-auto d-flex flex-column w-100 elevation-0 flex-wrap"
|
||||
min-width="200"
|
||||
height="250"
|
||||
|
||||
>
|
||||
<v-img
|
||||
|
||||
class="w-100 h-100"
|
||||
<v-img
|
||||
class="w-100 h-100 pointer"
|
||||
:src="`${burl}${n.img}`"
|
||||
@click="openImg(n.id)"
|
||||
>
|
||||
|
||||
</v-img>
|
||||
|
||||
/>
|
||||
|
||||
<v-card-text class="pt-6">
|
||||
<!-- <div class="font-weight-light text-grey text-h6 mb-2">
|
||||
@@ -513,6 +505,7 @@
|
||||
variant="text"
|
||||
icon="mdi-close"
|
||||
@click="dialogfoto = false"
|
||||
|
||||
|
||||
/>
|
||||
</v-col>
|
||||
@@ -548,22 +541,31 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="flex-grow-0 align-self-center">
|
||||
|
||||
|
||||
<v-col class="pa-0 flex-grow-0">
|
||||
<v-btn
|
||||
density="compact"
|
||||
variant="text"
|
||||
icon="mdi-heart-outline"
|
||||
|
||||
:color="galleryimges.likes.length>0?'red':'black'"
|
||||
:icon="galleryimges.likes.length>0?galleryimges.likes[0].user==accountStore.user.login?'mdi-heart':'mdi-heart-outline':'mdi-heart-outline'"
|
||||
|
||||
|
||||
/>
|
||||
|
||||
</v-col>
|
||||
<span class="text-overline pa-0"> {{galleryimges.likes.length}}</span>
|
||||
<!-- <span class="pa-0">·</span> -->
|
||||
<!-- <v-col class="pa-0 flex-grow-0 text-overline">
|
||||
|
||||
</v-col> -->
|
||||
|
||||
</v-row>
|
||||
|
||||
|
||||
<!-- <my-helper :pretext="galleryimges.likes.length"/> -->
|
||||
<!-- -->
|
||||
<!-- <v-btn color="primary" block @click="dialogfoto = false">Close Dialog</v-btn> -->
|
||||
|
||||
<!-- :icon="galleryimges.filter(e=> e.user==accountStore.user.login).length>0?'mdi-heart-outline':'mdi-thumb-down-outline'" -->
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
|
||||
@@ -821,7 +823,7 @@ export default {
|
||||
|
||||
.h_cards {
|
||||
|
||||
height: 87vh;
|
||||
height: 86vh;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in new issue
Block a user