Обновлен стартовый экран
Переписаны запросы для статистики, отчетов Добавлена интеграция отчета сестры
This commit is contained in:
@@ -3,6 +3,7 @@ import {NButton, NP, NFlex, NTag, NIcon} from "naive-ui";
|
||||
import {TbLock} from "vue-icons-plus/tb"
|
||||
import {Link} from "@inertiajs/vue3";
|
||||
import {computed, h} from "vue";
|
||||
import { useThemeVars } from "naive-ui";
|
||||
|
||||
const props = defineProps({
|
||||
title: {
|
||||
@@ -49,6 +50,7 @@ const pThemeOverride = {
|
||||
pLineHeight: '1.4'
|
||||
}
|
||||
|
||||
const themeVars = useThemeVars()
|
||||
const hasIcon = computed(() => props.icon !== null)
|
||||
|
||||
const isLink = computed(() => props.tag === 'link')
|
||||
@@ -66,7 +68,7 @@ const lockTag = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="relative overflow-hidden w-full rounded-md" style="background-color: rgb(18, 18, 22);">
|
||||
<div class="relative overflow-hidden w-full rounded-md" :style="`background: ${themeVars.cardColor};`">
|
||||
<NButton :tag="lockTag"
|
||||
:href="href"
|
||||
:theme-overrides="buttonThemeOverride"
|
||||
|
||||
Reference in New Issue
Block a user