export default {
  path: '/socialmedia',
  name: 'socialmedia',
  meta: { title: '社交媒体', icon: 'fa fa-film' },
  component: 'socialmedia/index',
  children: [
    {
      path: '/socialmedia/mediaConfigList',
      meta: { title: '平台配置', icon: 'fa fa-cog' },
      component: 'socialmedia/mediaConfigList'
    },
    {
      path: '/socialmedia/accountTypeForm/:id',
      component: 'socialmedia/accountTypeForm',
      props: true
    },
    {
      path: '/socialmedia/accountType',
      meta: { title: '账号分类', icon: 'fa fa-list' },
      component: 'socialmedia/accountType'
    },
    {
      path: '/socialmedia/accounts',
      meta: { title: '账号管理', icon: 'fa fa-user' },
      component: 'socialmedia/accounts'
    },
    {
      path: '/socialmedia/accounts/new',
      component: 'socialmedia/addAccount'
    },
    {
      path: '/socialmedia/accounts/new/:code',
      component: 'socialmedia/addAccountForm',
      props: true
    },
    {
      path: '/socialmedia/accounts/:ID',
      component: 'socialmedia/manageUserList',
      props: true
    },
    {
      path: '/socialmedia/mediaPush',
      meta: { title: '推送记录', icon: 'fa fa-history' },
      component: 'socialmedia/mediaPush'
    },
    /*
    {
      path: '/socialmedia/mediaConditionList',
      meta: { title: '限制条件', icon: 'fa fa-align-left' },
      component: 'socialmedia/mediaConditionList'
    }, */
    {
      path: '/socialmedia/mediaConditionList/:code',
      component: 'socialmedia/mediaConditioDetail',
      props: true
    },

    {
      path: '/socialmedia/commentsList',
      meta: { title: '评论管理', icon: 'fa fa-comments' },
      // filter: ['SinaWeiBo','WeChatMedia'],
      component: 'socialmedia/commentsList'
    },
    {
      path: '/socialmedia/commentsList/:ID',
      component: 'socialmedia/commentsListDetail',
      props: true
    },
    {
      path: '/socialmedia/commentsList/:mediaID/:castID',
      component: 'socialmedia/lookContent',
      props: true
    },
    {
      path: '/socialmedia/fansAccountList',
      meta: { title: '粉丝管理', icon: 'fa fa-indent' },
      component: 'socialmedia/fansAccountList'
    },
    {
      path: '/socialmedia/fansManage/:aid',
      component: 'socialmedia/fansManage',
      props: true
    },
    {
      path: '/socialmedia/fansTagForm/:id',
      component: 'socialmedia/fansTagForm',
      props: true
    },
    {
      path: '/socialmedia/fansRemarkForm/:openID',
      component: 'socialmedia/fansRemarkForm',
      props: true
    },
    {
      path: '/socialmedia/fansMsgHistory/:openID',
      component: 'socialmedia/fansMsgHistory',
      props: true
    },
    {
      path: '/socialmedia/sinaFansManage/:aid',
      component: 'socialmedia/sinaFansManage',
      props: true
    },
    {
      path: '/socialmedia/monitor',
      meta: { title: '监控信息', icon: 'fa fa-tv' },
      component: 'socialmedia/monitor'
    },
    {
      path: '/socialmedia/weiboMsg/:ID',
      component: 'socialmedia/weiboTabs',
      props: true
    },
    {
      path: '/socialmedia/weixinList',
      meta: { title: '微信推广', icon: 'fa fa-weixin' },
      component: 'socialmedia/weixinList',
      props: true
    },
    {
      path: '/socialmedia/weixinList/:weiXinID/:tabName',
      component: 'socialmedia/weixinTabs',
      props: true
    },
    {
      path: '/socialmedia/weixinList/:weiXinID/media/:ID',
      component: 'socialmedia/weixinMediaForm',
      props: true
    },
    {
      path: '/socialmedia/weixinList/:weiXinID/menu/:ID',
      component: 'socialmedia/weixinMenuForm',
      props: true
    },
    {
      path: '/socialmedia/weixinList/:weiXinID/autoReply/:ID',
      component: 'socialmedia/weixinAutoReplyForm',
      props: true
    },
    {
      path: '/socialmedia/weixinList/:weiXinID/templateMessageList/:ID',
      component: 'socialmedia/weixintemplateMessageForm',
      props: true
    },
    {
      path: '/socialmedia/monitor/material',
      component: 'socialmedia/material',
      props: true
    },
    {
      path: '/socialmedia/mediaStat',
      redirect: '/socialmedia/mediaStat/contentCount'
    },
    {
      path: '/socialmedia/mediaStat/contentCount',
      meta: { title: '统计分析', icon: 'fa fa-bar-chart' },
      component: 'socialmedia/mediaStat/contentCount'
    },
    {
      path: '/socialmedia/mediaStat/pushCount',
      component: 'socialmedia/mediaStat/pushCount',
      props: true
    },
    {
      path: '/socialmedia/mediaStat/comprehensive',
      component: 'socialmedia/mediaStat/comprehensive',
      props: true
    },
    {
      path: '/socialmedia/mediaStat/contentData',
      component: 'socialmedia/mediaStat/contentData',
      props: true
    }

    /** 暂时屏蔽app和小程序菜单 */
    // {
    //   path: '/socialmedia/appManage',
    //   meta: { title: 'APP管理', icon: 'fa fa-th-large' },
    //   component: 'socialmedia/appManage'
    // },
    // {
    //   path: '/socialmedia/miniAppManage',
    //   meta: { title: '小程序管理', icon: 'fa fa-th' },
    //   component: 'socialmedia/miniAppManage'
    // }
  ]
}
