mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
更新 SiteStatisticsDialog.vue
This commit is contained in:
@@ -184,7 +184,7 @@ onMounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<DialogWrapper max-width="50rem" :fullscreen="display.smAndDown.value">
|
<DialogWrapper max-width="50rem" :fullscreen="display.smAndDown.value" scrollable>
|
||||||
<VCard>
|
<VCard>
|
||||||
<!-- 标题栏 -->
|
<!-- 标题栏 -->
|
||||||
<VCardItem class="py-3">
|
<VCardItem class="py-3">
|
||||||
@@ -293,7 +293,7 @@ onMounted(() => {
|
|||||||
</VCard>
|
</VCard>
|
||||||
|
|
||||||
<!-- 详情弹窗 -->
|
<!-- 详情弹窗 -->
|
||||||
<DialogWrapper v-model="detailDialog" :max-width="display.mdAndUp.value ? 600 : '95%'">
|
<DialogWrapper v-model="detailDialog" :max-width="display.mdAndUp.value ? 600 : '95%'" scrollable>
|
||||||
<VCard v-if="selectedSite">
|
<VCard v-if="selectedSite">
|
||||||
<VCardItem class="py-3">
|
<VCardItem class="py-3">
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
@@ -303,7 +303,7 @@ onMounted(() => {
|
|||||||
<VDialogCloseBtn @click="detailDialog = false" />
|
<VDialogCloseBtn @click="detailDialog = false" />
|
||||||
</VCardItem>
|
</VCardItem>
|
||||||
<VDivider />
|
<VDivider />
|
||||||
<VCardText class="pa-4">
|
<VCardText>
|
||||||
<div v-if="getSiteStats(selectedSite.domain)">
|
<div v-if="getSiteStats(selectedSite.domain)">
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<h5 class="text-h6 mb-2">{{ t('site.statistics') }}</h5>
|
<h5 class="text-h6 mb-2">{{ t('site.statistics') }}</h5>
|
||||||
@@ -375,11 +375,6 @@ onMounted(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.site-statistics-content {
|
|
||||||
max-block-size: 70vh;
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.statistics-overview {
|
.statistics-overview {
|
||||||
background: linear-gradient(135deg, var(--v-theme-surface) 0%, var(--v-theme-surface-variant) 100%);
|
background: linear-gradient(135deg, var(--v-theme-surface) 0%, var(--v-theme-surface-variant) 100%);
|
||||||
border-block-end: 1px solid var(--v-border-color);
|
border-block-end: 1px solid var(--v-border-color);
|
||||||
@@ -471,9 +466,4 @@ onMounted(() => {
|
|||||||
.time-record-item {
|
.time-record-item {
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time-record-item:hover {
|
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 10%);
|
|
||||||
transform: translateY(-1px);
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user