F
This commit is contained in:
1 parent
370db2745c
commit
3d8bc25a2c
4 files changed
+234
-64
No files matched your search
@@ -1,9 +1,6 @@
|
||||
<template>
|
||||
<v-container class="py-0 newsVH px-0 bg-transparent overflow-auto">
|
||||
<!-- <v-btn v-scroll-to="{element:'#g'}">
|
||||
j
|
||||
</v-btn> -->
|
||||
<!-- <my-helper :pretext = 'newss.result'/> -->
|
||||
|
||||
<v-card
|
||||
v-show="route.path=='/'"
|
||||
:ref="i"
|
||||
@@ -12,13 +9,7 @@
|
||||
v-for="(x, i) in newss.result" :key= i
|
||||
>
|
||||
|
||||
<!-- <v-list-item class="w-100 pl-4 py-2 pt-3">
|
||||
|
||||
|
||||
<v-list-item-title class="text-body-2">{{x.author.fio}}</v-list-item-title>
|
||||
|
||||
|
||||
</v-list-item> -->
|
||||
<v-card-title class="py-1">
|
||||
{{x.title}}
|
||||
</v-card-title>
|
||||
@@ -34,8 +25,7 @@
|
||||
<v-icon size="x-small" class="me-1" icon="mdi-account" ></v-icon>
|
||||
<span class="text-caption me-2">{{splitname(x.author)}}</span>
|
||||
</div>
|
||||
<!-- <v-list-item-title class="text-caption">{{splitname(x.author)}}</v-list-item-title> -->
|
||||
|
||||
|
||||
<template v-slot:append>
|
||||
<div class="justify-self-end">
|
||||
<v-icon size="x-small" class="me-1" :icon="x.scores.filter(e=> e.user==accountStore.user.login && e.score == true).length>0?'mdi-thumb-up':'mdi-thumb-up-outline'" @click="toggleIncrementLike(x.id, true)"></v-icon>
|
||||
@@ -53,8 +43,7 @@
|
||||
<v-card-text class="pb-0">
|
||||
{{limitText(x.text)}}
|
||||
</v-card-text>
|
||||
<!-- <v-card-actions class="py-0"> -->
|
||||
<!-- :to="'/news'" -->
|
||||
|
||||
<div class="pt-1 pl-1 pb-2">
|
||||
<v-btn
|
||||
color="light-blue-darken-4"
|
||||
@@ -69,7 +58,7 @@
|
||||
</v-btn>
|
||||
</div>
|
||||
|
||||
<!-- </v-card-actions> -->
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -147,8 +136,6 @@
|
||||
class="d-flex flex-column pa-3"
|
||||
>
|
||||
|
||||
|
||||
<!-- :class="accountStore.user.login==y.author.login?'text-end mr-6':''" -->
|
||||
|
||||
<v-row
|
||||
class="justify-space-between ma-0 align-center bgchat mr-7"
|
||||
@@ -219,24 +206,6 @@
|
||||
|
||||
</v-card>
|
||||
|
||||
<!-- <div class="d-flex" v-show="route.path=='/news'">
|
||||
<v-pagination
|
||||
class="flex-grow-1"
|
||||
v-model="page"
|
||||
:length="newss.allnews"
|
||||
prev-icon="mdi-menu-left"
|
||||
next-icon="mdi-menu-right"
|
||||
@click="pagelistNews"
|
||||
></v-pagination>
|
||||
|
||||
<v-select
|
||||
class="flex-grow-0 pt-2"
|
||||
density="compact"
|
||||
v-model="selecnews"
|
||||
variant="outlined"
|
||||
:items="['1', '2', '3', '4', '5', '6']"
|
||||
></v-select>
|
||||
</div> -->
|
||||
|
||||
</div>
|
||||
<v-row justify="center">
|
||||
@@ -279,28 +248,7 @@
|
||||
</v-dialog>
|
||||
</v-row>
|
||||
</v-container>
|
||||
<v-container>
|
||||
<div class="pagination" v-show="route.path=='/news'">
|
||||
<v-pagination
|
||||
class="flex-grow-1"
|
||||
v-model="page"
|
||||
:length="newss.allnews"
|
||||
prev-icon="mdi-menu-left"
|
||||
next-icon="mdi-menu-right"
|
||||
@click="pagelistNews"
|
||||
></v-pagination>
|
||||
|
||||
<v-select
|
||||
class="flex-grow-0 pt-2"
|
||||
density="compact"
|
||||
v-model="selecnews"
|
||||
variant="outlined"
|
||||
:items="['1', '2', '3', '4', '5', '6']"
|
||||
>
|
||||
</v-select>
|
||||
|
||||
</div>
|
||||
</v-container>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -440,7 +388,7 @@ export default {
|
||||
display: flex;
|
||||
}
|
||||
.newsVH {
|
||||
height: 93vh;
|
||||
height: 92vh;
|
||||
}
|
||||
|
||||
.bgchat {
|
||||
|
||||
Reference in new issue
Block a user