Merge branch 'I' into razrab
This commit is contained in:
commit
4b34149a00
20 files changed
+69
-52
No files matched your search
@@ -67,7 +67,8 @@
|
||||
:text="feedbackdata.nowcomment.id==null?'Отправить':'Обновить'"
|
||||
@click="feedSend"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
@@ -124,7 +124,8 @@ export default {
|
||||
function menusCloses() {
|
||||
context.emit('menusClose')
|
||||
}
|
||||
|
||||
|
||||
|
||||
onMounted(() => {
|
||||
loadlinksUser()
|
||||
})
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
eager
|
||||
>
|
||||
|
||||
|
||||
<!-- <my-helper :pretext = 'x'/> -->
|
||||
<v-container
|
||||
fill-height
|
||||
|
||||
@@ -62,6 +62,7 @@ import { baseURL } from '@/utils/axios-api'
|
||||
export default {
|
||||
|
||||
|
||||
|
||||
props: {
|
||||
digitalData: {
|
||||
type: Object,
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
width="92%"
|
||||
class="mx-auto"
|
||||
/>
|
||||
|
||||
<v-list-item class="w-100">
|
||||
<div class="justify-self-start mt-1">
|
||||
<v-icon size="x-small" class="me-1" icon="mdi-account" ></v-icon>
|
||||
|
||||
@@ -3,21 +3,24 @@
|
||||
<div class="d-flex flex-column py-3">
|
||||
<v-row>
|
||||
<v-col class="bg-red overflow-auto pa-0">
|
||||
<v-card
|
||||
class=" rounded-0"
|
||||
v-for="(x, i) in newss.result" :key=i>
|
||||
|
||||
<v-card
|
||||
class=" rounded-0"
|
||||
|
||||
|
||||
v-for="(x, i) in newss.result" :key=i
|
||||
>
|
||||
<v-list-item class="w-100 pl-4 py-2 pt-3">
|
||||
<template v-slot:prepend>
|
||||
<v-avatar
|
||||
color="loading_avatar"
|
||||
:image=accountStore.user.photo>
|
||||
</v-avatar>
|
||||
</template>
|
||||
<template v-slot:prepend>
|
||||
<v-avatar
|
||||
|
||||
color="grey-darken-3"
|
||||
:image=accountStore.user.photo></v-avatar>
|
||||
</template>
|
||||
|
||||
<v-list-item-title>{{x.author.fio}}</v-list-item-title>
|
||||
<v-list-item-subtitle>Участник {{route.path}} {{route.query}}</v-list-item-subtitle>
|
||||
<v-list-item-title>{{x.author.fio}}</v-list-item-title>
|
||||
|
||||
|
||||
<v-list-item-subtitle>Участник {{route.path}} {{route.query}}</v-list-item-subtitle>
|
||||
</v-list-item>
|
||||
|
||||
<v-card-title class="pt-0 pb-1">
|
||||
@@ -89,18 +92,24 @@
|
||||
</v-row>
|
||||
|
||||
<div class="text-subtitle-2">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<v-row>
|
||||
<v-col class="pr-0">
|
||||
<v-alert
|
||||
color="bg_comments"
|
||||
rounded=0
|
||||
:border="accountStore.user.login==y.author.login?'end':'start'"
|
||||
:border-color="accountStore.user.login==y.author.login?'success':'deep-purple accent-4'"
|
||||
elevation=0>
|
||||
{{ y.text }}
|
||||
</v-alert>
|
||||
|
||||
|
||||
color="white"
|
||||
rounded=0
|
||||
:border="accountStore.user.login==y.author.login?'end':'start'"
|
||||
:border-color="accountStore.user.login==y.author.login?'success':'deep-purple accent-4'"
|
||||
elevation=0
|
||||
>
|
||||
|
||||
{{ y.text }}
|
||||
|
||||
</v-alert>
|
||||
</v-col>
|
||||
<v-col class="flex-grow-0 d-flex pa-0 align-center"
|
||||
:class="accountStore.user.login==y.author.login?'pa-0':'pa-5'"
|
||||
@@ -110,15 +119,21 @@
|
||||
variant="text"
|
||||
size="small"
|
||||
icon='mdi-delete'
|
||||
color="delete_btn"
|
||||
color="blue-grey-darken-1"
|
||||
@click="deletComment(y.id, x.id)"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</v-expand-transition>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -146,14 +161,14 @@
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn
|
||||
color="modal_btn"
|
||||
color="blue-darken-1"
|
||||
variant="text"
|
||||
@click="dialogCommentShow = false"
|
||||
>
|
||||
Отмена
|
||||
</v-btn>
|
||||
<v-btn
|
||||
color="modal_btn"
|
||||
color="blue-darken-1"
|
||||
variant="text"
|
||||
@click="addComment"
|
||||
>
|
||||
@@ -165,8 +180,8 @@
|
||||
</v-row>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<!-- <v-row class="d-flex flex-grow-0 mt-6" v-show="route.path=='/news' && !('id' in route.query)">
|
||||
<v-col class="py-0">
|
||||
<v-row class="flex-grow-0" v-show="route.path=='/news' && !('id' in route.query)">
|
||||
<v-col class="py-0 text-center ">
|
||||
<v-pagination
|
||||
class="flex-grow-1"
|
||||
v-model="page"
|
||||
@@ -176,36 +191,17 @@
|
||||
@click="pagelistNews"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col class="pr-0 py-0">
|
||||
<v-col class="flex-grow-0 pr-0 py-0" lg=1>
|
||||
<v-select
|
||||
|
||||
class="flex-grow-2"
|
||||
class=" pt-2"
|
||||
density="compact"
|
||||
v-model="selecnews"
|
||||
variant="outlined"
|
||||
:items="['1', '2', '3', '4', '5', '6']"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row> -->
|
||||
<v-container>
|
||||
<v-row class="d-flex mt-6" v-show="route.path=='/news' && !('id' in route.query)">
|
||||
<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>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</v-row>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -555,6 +551,9 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.pagination {
|
||||
display: flex;
|
||||
}
|
||||
.newsVH {
|
||||
height: 92vh;
|
||||
}
|
||||
|
||||
@@ -74,6 +74,7 @@ export default {
|
||||
|
||||
|
||||
|
||||
|
||||
return {loging, menuGetUserDialog, onlineuser, checkremote,spravURL, whatuser, accountStore}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user