import { lazy } from 'react' import { RouteObject } from 'react-router-dom' import { ResidenceLayout } from '@/components/layout' const HomePage = lazy(() => import('@/pages/chenyun/home')) const ChenyunPlace1 = lazy(() => import('@/pages/chenyun/place/place1')) const ChenyunPlace2 = lazy(() => import('@/pages/chenyun/place/place2')) const ChenyunPlace3 = lazy(() => import('@/pages/chenyun/place/place3')) const ChenyunPlace4 = lazy(() => import('@/pages/chenyun/place/place4')) const ChenyunPlace5 = lazy(() => import('@/pages/chenyun/place/place5')) const ChenyunPlace6 = lazy(() => import('@/pages/chenyun/place/place6')) const ChenyunPlace7 = lazy(() => import('@/pages/chenyun/place/place7')) const ChenyunPlace8 = lazy(() => import('@/pages/chenyun/place/place8')) const ChenyunPlace9 = lazy(() => import('@/pages/chenyun/place/place9')) const ChenyunReflection = lazy(() => import('@/pages/chenyun/reflection')) const ChenyunInternalization = lazy(() => import('@/pages/chenyun/internalization')) //陈云 router // 路径格式:/:moduleName/chenyun/:page export const ChenyunRoutes: RouteObject[] = [ { path: '/:moduleName/chenyun', element: , children: [ { index: true, element: , handle: { videoSrc: 'video/chenyun/chenyun_lukou.mp4', }, }, { path: 'home', element: , handle: { videoSrc: 'video/chenyun/chenyun_lukou.mp4', }, }, { path: 'place1', element: , handle: { videoSrc: 'video/chenyun/chenyun_01.mp4', }, }, { path: 'place2', element: , handle: { videoSrc: 'video/chenyun/chenyun_02.mp4', }, }, { path: 'place3', element: , handle: { videoSrc: 'video/chenyun/chenyun_03.mp4', }, }, { path: 'place4', element: , handle: { videoSrc: 'video/chenyun/chenyun_05.mp4', }, }, { path: 'place5', element: , handle: { videoSrc: 'video/chenyun/chenyun_06.mp4', }, }, { path: 'place6', element: , handle: { videoSrc: 'video/chenyun/chenyun_08.mp4', }, }, { path: 'place7', element: , handle: { videoSrc: 'video/chenyun/chenyun_09.mp4', }, }, { path: 'place8', element: , handle: { videoSrc: 'video/chenyun/chenyun_12.mp4', }, }, { path: 'place9', element: , handle: { videoSrc: 'video/chenyun/chenyun_13.mp4', }, }, { path: 'reflection', element: , }, { path: 'internalization', element: , // handle: { // videoSrc: "video/chenyun/chenyun_neihua.mp4", // }, }, ], }, ]