export default {
  path: '/plugins',
  name: 'plugins',
  meta: { title: '互动', icon: 'fa fa-cubes' },
  component: 'plugins/index',
  children: [{
    path: '/plugins/imageplayer',
    meta: { title: '图片播放器', icon: 'fa fa-photo' },
    component: 'imageplayer/imageplayer'
  },
  {
    path: '/plugins/imageplayer/:ID',
    component: 'imageplayer/imageListTabs',
    props: true
  },
  // 互动中的微信管理迁移到社交媒体中的微信管理
  // {
  //   path: '/plugins/weixin',
  //   meta: { title: '微信管理', icon: 'fa fa-weixin' },
  //   component: 'weixin/weixin',
  //   props: true
  // },
  // {
  //   path: '/plugins/weixin/:weiXinID/:tabName',
  //   component: 'weixin/weixinTabs',
  //   props: true
  // },
  // {
  //   path: '/plugins/weixin/:weiXinID/media/:ID',
  //   component: 'weixin/mediaForm',
  //   props: true
  // },
  // {
  //   path: '/plugins/weixin/:weiXinID/menu/:ID',
  //   component: 'weixin/menuForm',
  //   props: true
  // },
  // {
  //   path: '/plugins/weixin/:weiXinID/autoReply/:ID',
  //   component: 'weixin/autoReplyForm',
  //   props: true
  // },
  // {
  //   path: '/plugins/weixin/:weiXinID/templateMessageList/:ID',
  //   component: 'weixin/templateMessageForm',
  //   props: true
  // },
  {
    path: '/plugins/vote',
    meta: { title: '调查投票', icon: 'fa fa-bar-chart' },
    component: 'vote/vote'
  },
  {
    path: '/plugins/vote/:ID',
    component: 'vote/voteItem',
    props: true
  },
  {
    path: '/plugins/advertise',
    meta: { title: '广告管理', icon: 'fa fa-tv' },
    component: 'advertise/advertisePosition'
  },
  {
    path: '/plugins/advertise/:ID',
    component: 'advertise/advertiseList',
    props: true
  },
  {
    path: '/plugins/advertise/:ID/list',
    component: 'advertise/advertiseList',
    props: true
  },
  {
    path: '/plugins/advertise/:positionID/list/:adID',
    component: 'advertise/advertiseForm',
    props: true
  },
  {
    path: '/plugins/browsepriv',
    meta: { title: '浏览权限', icon: 'fa fa-key' },
    component: 'browsepriv/privGroup'
  },
  {
    path: '/plugins/browsepriv/new',
    component: 'browsepriv/privGroupForm'
  },
  {
    path: '/plugins/browsepriv/:ID',
    component: 'browsepriv/privGroupDetail',
    props: true
  },
  {
    path: '/plugins/comment',
    meta: { title: '评论管理', icon: 'fa fa-commenting-o' },
    component: 'comment/commentList'
  },
  {
    path: '/plugins/comment/:catalogId',
    component: 'comment/commentList',
    props: true
  },
  {
    path: '/plugins/face',
    meta: { title: '表情管理', icon: 'fa fa-smile-o' },
    component: 'comment/face'
  },
  {
    path: '/plugins/face/:ID',
    component: 'comment/faceForm',
    props: true
  },
  {
    path: '/plugins/customForm',
    meta: { title: '自定义表单', icon: 'fa fa-wpforms' },
    component: 'customform/customForm'
  },
  {
    path: '/plugins/customForm/customFormPreview/:id',
    // meta: { title: '自定义表单数据预览', icon: 'fa fa-eye' },
    component: 'customform/customFormPreview',
    props: true
  },
  {
    path: '/plugins/customform/createGuide',
    component: 'customform/createGuide'
  },
  {
    path: '/plugins/customform/templateManage',
    component: 'customform/templateManage'
  },
  {
    path: '/plugins/customForm/customFormType',
    component: 'customform/customFormType'
  },
  {
    path: '/plugins/customForm/customFormType',
    component: 'customform/customFormType'
  },
  {
    path: '/plugins/customForm/:ID/data',
    component: 'customform/customFormData',
    props: true
  },
  {
    path: '/plugins/links',
    meta: { title: '友情链接', icon: 'fa fa-link' },
    component: 'link/links'
  },
  {
    path: '/plugins/links/:ID',
    component: 'link/linkGroupForm',
    props: true
  },
  {
    path: '/plugins/links/:ID/list',
    component: 'link/linkList',
    props: true
  },
  {
    path: '/plugins/links/:ID/items/:linkID',
    component: 'link/linkForm',
    props: true
  },
  {
    path: '/plugins/messageboard',
    meta: { title: '留言管理', icon: 'fa fa-commenting-o' },
    component: 'messageboard/messageBoard'
  },
  {
    path: '/plugins/messageboard/:ID',
    component: 'messageboard/messageBoardForm',
    props: true
  },
  {
    path: '/plugins/messageboard/:ID/list',
    component: 'messageboard/boardMessageList',
    props: true
  },
  {
    path: '/plugins/sitestyle',
    meta: { title: '站点风格', icon: 'fa fa-th-large' },
    component: 'sitestyle/siteStyleList',
    props: true
  },
  {
    path: '/plugins/sitestyle/:ID',
    component: 'sitestyle/siteStyleForm',
    props: true
  },
  {
    path: '/plugins/sitestyle/:styleID/node/:nodeID',
    component: 'sitestyle/styleNodeForm',
    props: true
  }
  ]
}
