This commit is contained in:
Alex committed 2024-02-02 11:44:57 +03:00
commit ed699c4b71
3 files changed
+46 -24

No files matched your search

@@ -1,6 +1,7 @@
<template>
<v-card class="text-center h-100 d-flex flex-column" >
<v-card-title>
<v-row no-gutters>
<v-col lg=2>
<v-switch
@@ -43,8 +44,23 @@
:tooltip = val.year.unique
/>
</tr>
<tr
v-for="(val, key) in pages_count.data"
:key="key"
>
<td>{{key}}</td>
<td-tooltip
:number = modelrating?val.now.unique.length:val.now.countall
:tooltip = val.now.unique
/>
<td-tooltip
:number = modelrating?val.year.unique.length:val.year.countall
:tooltip = val.year.unique
/>
</tr>
</tbody>
</v-table>
</v-col>
</v-row>
</v-card>
@@ -76,7 +92,7 @@ export default {
</script>
<style>
.v-table {
.v-table {
flex: 1!important;
}
@@ -2,8 +2,9 @@
<v-card
class="mx-auto" height="150px"
>
<my-helper :pretext="name"/>
<!-- <v-card-text class="text-h5 pa-2 pl-5 flex-wrap align-center d-flex justify-space-between">
<my-helper :pretext="users"/>
<v-card-text class="text-h5 pa-2 pl-5 flex-wrap align-center d-flex justify-space-between">
{{name}}
<v-icon
@@ -35,7 +36,7 @@
</v-col>
</v-row>
</v-card-text> -->
</v-card-text>
</v-card>
</template>
+25 -20
View File
@@ -19,29 +19,35 @@
</v-col>
<v-col lg=5 class="bg-red d-flex flex-column">
<rating-page :pages_count=pages_count />
</v-col>
<v-col class="overflow-auto bg-yellow">
<v-card height=550>
2
<div v-for="x in dataActivusers" :key="x" >
{{x}}
<!-- <top-user
:users = x
/> -->
</div>
</v-card>
<!-- :users="val"
:ico="icons[Object.keys(activuser()).indexOf(key)]"
name="Активность" -->
<!-- <div v-for="x in dataActivusers" :key="x" >
<v-col class="d-flex flex-column bg-yellow">
<v-row class=" overflow-auto h-0">
<v-col>
<v-card class="text-center h-100 ">
<div v-for="(x, key) in dataActivusers" :key="key" >
<top-user
:users = x
:name= key
/>
</div>
</v-card>
</v-col>
</v-row>
<!-- -->
<!--
> -->
<!-- <div v-for="(x, key) in dataActivusers" :key="key" >
{{x}}
<top-user
:users = x
:name= key
/>
</div> -->
<!-- {{dataActivusers}} -->
</div> -->
<!-- </v-card> -->
</v-col>
<v-col class="bg-red">4 </v-col>
</v-row>
@@ -318,8 +324,7 @@ setup(){
}
activusers[splitname(item.author)].session[item.visitdate].pages[item.pages].count = item.count
console.log(activusers, item, 'activusers');
//
// Данные для таблицы по страницам
if (!acc[item.pages]) {