diff options
Diffstat (limited to 'web/html/xui/component/aCustomStatistic.html')
| -rw-r--r-- | web/html/xui/component/aCustomStatistic.html | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/web/html/xui/component/aCustomStatistic.html b/web/html/xui/component/aCustomStatistic.html deleted file mode 100644 index 0bff128d..00000000 --- a/web/html/xui/component/aCustomStatistic.html +++ /dev/null @@ -1,42 +0,0 @@ -{{define "component/customStatistic"}} -<template> - <a-statistic :title="title" :value="value"> - <template #prefix> - <slot name="prefix"></slot> - </template> - <template #suffix> - <slot name="suffix"></slot> - </template> - </a-statistic> -</template> -{{end}} - -{{define "component/aCustomStatistic"}} -<style> - .dark .ant-statistic-content { - color: var(--dark-color-text-primary) - } - .dark .ant-statistic-title { - color: rgba(255, 255, 255, 0.55) - } - .ant-statistic-content { - font-size: 16px; - } -</style> - -<script> - Vue.component('a-custom-statistic', { - props: { - 'title': { - type: String, - required: false, - }, - 'value': { - type: String, - required: false - } - }, - template: `{{template "component/customStatistic"}}`, - }); -</script> -{{end}}
\ No newline at end of file |
