mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix calendar title
This commit is contained in:
@@ -16,17 +16,22 @@ const calendarOptions = {
|
|||||||
list: '列表'
|
list: '列表'
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
dayGridPlugin,
|
dayGridPlugin,
|
||||||
timeGridPlugin,
|
timeGridPlugin,
|
||||||
interactionPlugin // needed for dateClick
|
interactionPlugin // needed for dateClick
|
||||||
],
|
],
|
||||||
initialView: 'dayGridMonth',
|
initialView: 'dayGridMonth',
|
||||||
weekends: false,
|
weekends: false,
|
||||||
headerToolbar: {
|
headerToolbar: {
|
||||||
left: 'prev,next',
|
left: 'prev,next',
|
||||||
center: 'title',
|
center: 'title',
|
||||||
right: 'dayGridMonth,timeGridWeek,timeGridDay'
|
right: 'dayGridMonth,timeGridWeek,timeGridDay'
|
||||||
},
|
},
|
||||||
|
views: {
|
||||||
|
week: {
|
||||||
|
titleFormat: { day: 'numeric' }
|
||||||
|
}
|
||||||
|
},
|
||||||
events: [
|
events: [
|
||||||
{ title: 'Meeting', start: new Date() }
|
{ title: 'Meeting', start: new Date() }
|
||||||
],
|
],
|
||||||
@@ -34,7 +39,7 @@ const calendarOptions = {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<FullCalendar :options='calendarOptions' locale="zh-cn"/>
|
<FullCalendar :options='calendarOptions' locale="zh-cn" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@@ -203,7 +208,7 @@ const calendarOptions = {
|
|||||||
padding-inline: 0.25rem;
|
padding-inline: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-application .fc tbody[role="rowgroup"] > tr > td[role="presentation"] {
|
.v-application .fc tbody[role="rowgroup"]>tr>td[role="presentation"] {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -300,5 +305,4 @@ const calendarOptions = {
|
|||||||
.v-layout .v-card[data-v-85990893] {
|
.v-layout .v-card[data-v-85990893] {
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user