Обратная связь

This commit is contained in:
iriska-gri committed 2024-02-19 11:03:04 +03:00
1 parent 35f5d96d88
commit 1542b1e28f
3 files changed
+43 -9

No files matched your search

@@ -15,10 +15,38 @@
<thead> <thead>
<tr > <tr >
<th class="text-center text-caption font-weight-medium"> <th class="text-center text-caption font-weight-medium">
<v-icon icon="$vuetify"></v-icon> <v-tooltip location="top">
<template v-slot:activator="{ props }">
<span v-bind="props">
<v-icon
class="cursor-help"
icon="mdi-comment-text-outline"
color='cyan-darken-4'
size="x-large"
/>
</span>
</template>
<v-card max-width='400' density="compact" class="bg-transparent">
<v-card-title>Оставлено комментариев</v-card-title>
<v-card-subtitle>Последний комментарий оставлен {{top.comment.data}}</v-card-subtitle>
<v-card-text>{{top.comment.text}}</v-card-text>
</v-card>
</v-tooltip>
</th> </th>
<th class="text-center text-caption font-weight-medium"> <th class="text-center text-caption font-weight-medium">
<v-icon icon="$vuetify"></v-icon> <v-tooltip location="top">
<template v-slot:activator="{ props }">
<span v-bind="props">
<v-icon
class="cursor-help"
icon="mdi-star"
color="orange"
size="x-large"
/>
</span>
</template>
Поставлено оценок
</v-tooltip>
</th> </th>
</tr> </tr>
</thead> </thead>
@@ -29,7 +57,7 @@
</tr> </tr>
</tbody> </tbody>
</v-table> </v-table>
<!-- <my-helper :pretext="top"/> -->
</v-col> </v-col>
</v-row> </v-row>
@@ -40,11 +68,13 @@
<script> <script>
import PatternCardFeed from '@/components/UI/aboutportal/pattern-card-feed.vue' import PatternCardFeed from '@/components/UI/aboutportal/pattern-card-feed.vue'
import ListUser from '@/components/UI/fiousercard/listUser.vue' import ListUser from '@/components/UI/fiousercard/listUser.vue'
import TooltipText from '@/components/UI/tooltip-text.vue'
// import CardFeedback from '@/components/UI/aboutportal/card-feedback.vue' // import CardFeedback from '@/components/UI/aboutportal/card-feedback.vue'
export default { export default {
components: { components: {
PatternCardFeed, PatternCardFeed,
ListUser ListUser,
TooltipText
}, },
props: props:
@@ -8,8 +8,8 @@
<template v-slot:filling> <template v-slot:filling>
<v-row no-gutters class="flex-column gap"> <v-row no-gutters class="flex-column gap">
<v-col lg=1 class="w100"> <v-col lg=1 class="w100">
<v-card > <v-card variant="flat" class="text-caption">
Последний комментарий оставлен <span class="font-weight-bold">{{formaComaTime(feedback.last_comment.time_create)}}</span> Последний комментарий оставлен <span class="text-body-1 font-weight-bold">{{formaComaTime(feedback.last_comment.time_create)}}</span>
</v-card> </v-card>
</v-col> </v-col>
<v-col lg=3 class="w100"> <v-col lg=3 class="w100">
@@ -1,8 +1,12 @@
<template> <template>
<v-card class="h-100 d-flex"> <v-card class="h-100 d-flex" variant="flat">
<v-row no-gutters class="flex-column gap"> <v-row no-gutters class="flex-column gap">
<v-col lg=1 class=" bg-blue-grey-darken-1 text-caption font-weight-medium w100"> <v-col lg=1 class="bg-teal-lighten-5 w100">
{{title}} <span class="font-weight-medium text-teal-darken-4">
{{title}}
</span>
</v-col> </v-col>
<v-col class="d-flex flex-column"> <v-col class="d-flex flex-column">
<slot name="filling_feedback"></slot> <slot name="filling_feedback"></slot>