import promoteHome from '@/view/promote'
import main1 from "@/view/promote/main/1.vue";
import main2 from "@/view/promote/main/2.vue";
import main3 from "@/view/promote/main/3.vue";
let lan = '(zh-CN|zh-TW|en)'
export default [
  {
    path: '/:locale' + lan + '?/promote',
    component: promoteHome,
    name: 'promoteHome',
    redirect: '/promote/1',
    children: [
      {
        path: '1',
        component: main1,
        name: 'promote1',
      },
      {
        path: '2',
        component: main2,
        name: 'promote2',
      },
      {
        path: '3',
        component: main3,
        name: 'promote3',
      }
    ]
  },
]
