Левая панель закончена
This commit is contained in:
1 parent
1d35459ede
commit
1036339312
4 files changed
+39
-14
No files matched your search
@@ -33,7 +33,7 @@
|
||||
|
||||
</v-col>
|
||||
|
||||
<v-col class="align-self-center text-center px-0">
|
||||
<v-col class="align-self-center text-center px-0 ml-n5">
|
||||
|
||||
<span class="subheading text-h6">
|
||||
{{users.count}}
|
||||
|
||||
@@ -1,31 +1,43 @@
|
||||
<template>
|
||||
|
||||
<v-row class="h-100">
|
||||
<v-col class="d-flex flex-column">
|
||||
<v-row class="h-100 ">
|
||||
<v-divider/>
|
||||
<v-col class="d-flex flex-column align-self-center">
|
||||
|
||||
<v-row
|
||||
v-for="(x, key) in criteria"
|
||||
:key = key
|
||||
class="align-center"
|
||||
>
|
||||
<v-col class="flex-grow-0 pb-0">
|
||||
<v-icon
|
||||
|
||||
<v-col class="flex-grow-0">
|
||||
|
||||
</v-col>
|
||||
<v-col class=""
|
||||
|
||||
lg=5
|
||||
>
|
||||
<v-icon
|
||||
size="large"
|
||||
:color="x.color"
|
||||
:icon="x.ico"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col class="pb-0" lg=4>
|
||||
|
||||
{{x.name}}
|
||||
</v-col>
|
||||
<v-col class="py-0" lg=3>
|
||||
<v-col
|
||||
|
||||
lg=6
|
||||
>
|
||||
<v-rating
|
||||
v-model="message[key].rating"
|
||||
:hover="typeof(key) == 'number'"
|
||||
half-increments
|
||||
:readonly="how==''?true:false"
|
||||
color="yellow"
|
||||
:density="how==''?'compact':'comfortable'"
|
||||
/>
|
||||
</v-col>
|
||||
<v-divider/>
|
||||
<v-divider v-show="how=='modal'"/>
|
||||
</v-row >
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -36,6 +48,8 @@
|
||||
|
||||
<script>
|
||||
import { computed } from 'vue'
|
||||
|
||||
|
||||
export default {
|
||||
|
||||
props: {
|
||||
@@ -47,17 +61,25 @@ export default {
|
||||
rating: {
|
||||
type: Object,
|
||||
default: {}
|
||||
},
|
||||
|
||||
how: {
|
||||
type: Text,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
|
||||
setup(props, { emit }) {
|
||||
|
||||
|
||||
// console.log(useDebugValue(getCurrentComponent().proxy.$options.name) , 'route.path');
|
||||
const message = computed({
|
||||
get: () => props.rating,
|
||||
set: (value) => emit('update:rating', value)
|
||||
})
|
||||
|
||||
return {
|
||||
message,
|
||||
message
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -10,11 +10,12 @@
|
||||
Оцените сайт
|
||||
|
||||
</v-col>
|
||||
<v-divider/>
|
||||
|
||||
</v-row>
|
||||
<star-like
|
||||
:criteria=feedbackdata.basecrit
|
||||
:rating=feedbackdata.nowrating
|
||||
how="modal"
|
||||
@update:rating="feedbackdata.nowrating = $event"
|
||||
/>
|
||||
<v-row class="mt-6">
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
class="text-center"
|
||||
height="200px"
|
||||
>
|
||||
<v-card-title class="pb-0">
|
||||
<v-card-title class="pb-0 pt-2">
|
||||
Количество Посетителей
|
||||
</v-card-title>
|
||||
<v-card-subtitle>
|
||||
@@ -207,8 +207,10 @@ setup(){
|
||||
const weekday = ref('')
|
||||
const year = ref('')
|
||||
const modelrating = ref(false)
|
||||
|
||||
|
||||
const arrlines = {}
|
||||
|
||||
|
||||
const data = computed({
|
||||
get() {
|
||||
arrlines.value = {
|
||||
|
||||
Reference in new issue
Block a user