2024-09-29 15:18:00 +08:00
|
|
|
import asyncLoader from '@/utils/asyncLoader'
|
2024-09-26 11:47:16 +08:00
|
|
|
import type { Widget } from '..'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'calendar',
|
|
|
|
label: '日历',
|
|
|
|
description: '日历信息',
|
|
|
|
icon: '/icons/calendarIcon.png',
|
2024-09-29 15:18:00 +08:00
|
|
|
modal: asyncLoader(() => import('./Modal')),
|
2024-09-26 11:47:16 +08:00
|
|
|
list: [
|
|
|
|
{
|
|
|
|
w: 2,
|
|
|
|
h: 1,
|
|
|
|
label: '小',
|
2024-09-29 15:18:00 +08:00
|
|
|
component: asyncLoader(() => import('./Small'))
|
2024-09-26 11:47:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
w: 2,
|
|
|
|
h: 2,
|
|
|
|
label: '中',
|
2024-09-29 15:18:00 +08:00
|
|
|
component: asyncLoader(() => import('./Middle'))
|
2024-09-26 11:47:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
w: 4,
|
|
|
|
h: 2,
|
|
|
|
label: '大',
|
2024-09-29 15:18:00 +08:00
|
|
|
component: asyncLoader(() => import('./Large'))
|
2024-09-26 11:47:16 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
} as Widget
|