mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-28 19:47:49 +08:00
更新背景图片API路径
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ function updateHtmlThemeAttribute(themeName: string) {
|
|||||||
// 获取背景图片
|
// 获取背景图片
|
||||||
async function fetchBackgroundImages() {
|
async function fetchBackgroundImages() {
|
||||||
try {
|
try {
|
||||||
backgroundImages.value = await api.get(`/login/${t('login.wallpapers')}`)
|
backgroundImages.value = await api.get(`/login/wallpapers`)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e)
|
console.error(e)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -561,7 +561,7 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<div class="option-icon-wrapper d-flex align-center justify-center">
|
<div class="option-icon-wrapper d-flex align-center justify-center">
|
||||||
<VIcon icon="mdi-puzzle" :color="hover.isHovering ? 'primary' : 'medium-emphasis'" size="small" />
|
<VIcon icon="mdi-apps" :color="hover.isHovering ? 'primary' : 'medium-emphasis'" size="small" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<VListItemTitle class="font-weight-medium">
|
<VListItemTitle class="font-weight-medium">
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ onMounted(() => {
|
|||||||
<!-- Menu Activator -->
|
<!-- Menu Activator -->
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<IconBtn class="ms-2" v-bind="props">
|
<IconBtn class="ms-2" v-bind="props">
|
||||||
<VIcon icon="mdi-apps" />
|
<VIcon icon="mdi-card-multiple-outline" />
|
||||||
</IconBtn>
|
</IconBtn>
|
||||||
</template>
|
</template>
|
||||||
<!-- Menu Content -->
|
<!-- Menu Content -->
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useConfirm } from 'vuetify-use-dialog'
|
|
||||||
import { useToast } from 'vue-toast-notification'
|
import { useToast } from 'vue-toast-notification'
|
||||||
import router from '@/router'
|
import router from '@/router'
|
||||||
import avatar1 from '@images/avatars/avatar-1.png'
|
import avatar1 from '@images/avatars/avatar-1.png'
|
||||||
@@ -24,9 +23,6 @@ const { t } = useI18n()
|
|||||||
// 显示器
|
// 显示器
|
||||||
const display = useDisplay()
|
const display = useDisplay()
|
||||||
|
|
||||||
// 确认框
|
|
||||||
const createConfirm = useConfirm()
|
|
||||||
|
|
||||||
// 提示框
|
// 提示框
|
||||||
const $toast = useToast()
|
const $toast = useToast()
|
||||||
|
|
||||||
@@ -256,7 +252,7 @@ onMounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VAvatar class="cursor-pointer ms-3" color="primary" variant="tonal">
|
<VAvatar class="cursor-pointer ms-3 border" color="primary" variant="tonal">
|
||||||
<VImg :src="avatar" />
|
<VImg :src="avatar" />
|
||||||
|
|
||||||
<VMenu
|
<VMenu
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ onMounted(() => {
|
|||||||
<div class="sidebar-header">
|
<div class="sidebar-header">
|
||||||
<div class="header-content">
|
<div class="header-content">
|
||||||
<VAvatar size="36" class="workflow-logo">
|
<VAvatar size="36" class="workflow-logo">
|
||||||
<VIcon icon="mdi-puzzle" />
|
<VIcon icon="mdi-apps" />
|
||||||
</VAvatar>
|
</VAvatar>
|
||||||
<span v-if="!isSidebarCollapsed || display.smAndDown.value" class="header-title">{{
|
<span v-if="!isSidebarCollapsed || display.smAndDown.value" class="header-title">{{
|
||||||
t('workflow.components')
|
t('workflow.components')
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ export function getNavMenus() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('navItems.pluginManager'),
|
title: t('navItems.pluginManager'),
|
||||||
icon: 'mdi-puzzle-outline',
|
icon: 'mdi-apps',
|
||||||
to: '/plugins',
|
to: '/plugins',
|
||||||
header: t('menu.system'),
|
header: t('menu.system'),
|
||||||
admin: true,
|
admin: true,
|
||||||
@@ -240,7 +240,7 @@ export function getPluginTabs() {
|
|||||||
{
|
{
|
||||||
title: t('pluginTabs.installed'),
|
title: t('pluginTabs.installed'),
|
||||||
tab: 'installed',
|
tab: 'installed',
|
||||||
icon: 'mdi-puzzle',
|
icon: 'mdi-apps',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('pluginTabs.market'),
|
title: t('pluginTabs.market'),
|
||||||
|
|||||||
Reference in New Issue
Block a user