Новости домашняя страница
This commit is contained in:
1 parent
f4da4b8fa3
commit
78b1c830ed
2 files changed
+22
-24
No files matched your search
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<v-card
|
||||
class="rounded-0 h-100 flex-column d-flex"
|
||||
min-height="416"
|
||||
max-height="416"
|
||||
min-height="410"
|
||||
max-height="410"
|
||||
>
|
||||
<v-card-title class="pb-1">
|
||||
{{news.title}}
|
||||
|
||||
@@ -1,34 +1,32 @@
|
||||
<template>
|
||||
<v-row>
|
||||
<v-col class="flex-column d-flex">
|
||||
<v-row class="flex-grow-0 ma-3 mb-0">
|
||||
<v-col class="flex-column d-flex pa-0 flex-wrap">
|
||||
Всего новостей: {{countetnews}}
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="mt-0 h-0 overflow-auto">
|
||||
<v-col
|
||||
v-for="(x, key) in newsAll"
|
||||
:key="key"
|
||||
class="pb-1 pt-0">
|
||||
<news-card :news="x"/>
|
||||
v-for="(x, key) in newsAll"
|
||||
:key="key"
|
||||
class="pb-1 pt-0"
|
||||
>
|
||||
<news-card :news="x"/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-divider class="mt-3"/>
|
||||
<v-row class="flex-grow-0 ma-0 align-items-center">
|
||||
<v-col class="flex-column d-flex pa-0 align-end">
|
||||
<v-btn
|
||||
size="small"
|
||||
variant="text"
|
||||
icon="mdi-newspaper"
|
||||
color="blue-darken-4"
|
||||
:to='`/news`'
|
||||
/>
|
||||
</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}}
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<!-- <div>
|
||||
<div class= "pa-3">
|
||||
Всего новостей: {{countetnews}}
|
||||
</div>
|
||||
<div
|
||||
v-for="(x, key) in newsAll"
|
||||
:key="key"
|
||||
class="pb-2"
|
||||
>
|
||||
<news-card :news="x"/>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in new issue
Block a user