Дату на новость

This commit is contained in:
iriska-gri committed 2023-12-27 10:28:32 +03:00
1 parent abdb0b6c82
commit a388bd37a6
6 files changed
+17 -77

No files matched your search

+3 -67
View File
@@ -17,72 +17,7 @@
cover
@click="openOneImg(news.link)"
/>
<!-- <v-list-item class="d-flex flex-column w-100 "> -->
<!-- <v-row class="bg-red ma-0 d-flex">
<v-col>
<v-icon size="x-small" class="me-1" icon="mdi-account"/>
<span class="text-caption me-2">
{{splitname(news.author)}}
</span>
</v-col>
<v-col>1</v-col>
</v-row> -->
<!-- <div class="justify-self-start mt-1">
<v-icon size="x-small" class="me-1" icon="mdi-account"/>
<span class="text-caption me-2">
{{splitname(news.author)}}
</span>
</div>
<template v-slot:append>
<div class="justify-self-end">
<v-icon
size="x-small"
class="me-1"
:icon="news.scores.filter(e=> e.user==accountStore.user.login && e.score == true).length>0?'mdi-thumb-up':'mdi-thumb-up-outline'"
@click="toggleIncrementLike(news.id, true)"
/>
<span class="subheading me-2">
{{news.scores.filter(e=> e.score==true).length}}
</span>
<span class="me-1">
·
</span>
<v-icon
size="x-small"
class="me-1"
:icon="news.scores.filter(e=> e.user==accountStore.user.login && e.score == false).length>0?'mdi-thumb-down':'mdi-thumb-down-outline'"
@click="toggleIncrementLike(news.id, false)"
/>
<span class="subheading me-2">
{{news.scores.filter(e=> e.score==false).length}}
</span>
<span class="me-1">
·
</span>
<v-icon
size="x-small"
class="me-1"
icon="mdi-message-text-outline"
/>
<span class="subheading">
{{ news.comment.length }}
</span>
<span class="me-1">
·
</span>
<v-icon
size="x-small"
class="me-1 mb-1"
icon="mdi-image"
/>
<span class="subheading">
{{ news.gallery.length }}
</span>
</div>
</template> -->
<!-- </v-list-item> -->
</v-col>
</v-row>
<v-divider/>
@@ -174,8 +109,9 @@
size="small"
append-icon="mdi-step-forward-2"
>
Подробнее
Подробнее
</v-btn>
{{news.cdate}}
</v-col>
</v-row>
</v-card>
+1 -1
View File
@@ -14,7 +14,7 @@
class="d-flex pa-1 flex-column "
>
<news-card :news="x"/>
</v-col>
</v-row>
<v-row class="flex-grow-0 ">
+2 -1
View File
@@ -61,7 +61,8 @@
/>
</v-col>
<v-col class="py-0 pl-0 flex-grow-0 text-end align-self-center text-caption font-weight-bold text-no-wrap">
Всего новостей: {{countetnews}}
Всего новостей: {{countetnews}}
</v-col>
</v-row>
</v-col>
@@ -18,6 +18,7 @@
{{x.title}}
</v-card-title>
<!-- :to='`/news?id=${x.id}`' -->
<v-btn
color="more_details_btn"
@@ -29,6 +30,7 @@
>
Подробнее
</v-btn>
<v-img
:src="`${burl}${x.link}`"
height="350px"
+7 -7
View File
@@ -5,7 +5,7 @@
lg=4
>
<v-row class="flex-grow-0">
<v-col>
<v-col class="bg-orange">
<!-- {{ countvis() }} -->
<v-card
class="d-flex flex-column my-2 ml-3 text-center"
@@ -36,15 +36,15 @@
</v-col>
</v-row>
<v-row>
<v-col >
<v-col class="bg-red">
1
</v-col>
</v-row>
</v-col>
<v-col class="d-flex flex-column ">
<v-row class="flex-grow-0">
<v-col class="pa-0 pb-2">
<v-col class="bg-blue">
<!-- <Line :data="data" :options="options" /> -->
</v-col>
</v-row>
<v-row>
@@ -85,13 +85,13 @@
</div> -->
</v-col>
<!-- <v-col class="bg-black">
<v-col class="bg-black">
<div v-for="(val, key) in activuser()" :key = key>
{{key}} : {{ val.count }} {{ val.login }}
</div>
</v-col> -->
</v-col>
</v-row>
</v-col>
</v-row>