import Bridge from "@/utils/jsBridge2"
import { Toast } from 'vant';
import {enableLive} from '@/service/StaffService/index'
import { sendLive } from "@/utils/live";

export default [
  {
    name: '产品服务',
    icon: 'icon-daikuan',
    color: '#44D392',
    routerName: 'Loan',
    hideInReviewMode: true,
  },
  // {
  //   name: '理财产品',
  //   icon: 'icon-licaichanpin',
  //   color: '#FF9534',
  // },
  {
    name: '精彩活动',
    icon: 'icon-jingcaihuodong',
    color: '#D886ED',
    routerName: 'ActivityList',
  },
  {
    name: '网点服务',
    icon: 'icon-wangdianfuwu',
    color: '#00CEF7',
    routerName: 'Branch',
  },
  {
    name: '政策支持',
    icon: 'icon-zhengcezhichi',
    color: '#D886ED',
    routerName: 'PolicySupport',
  },
  {
    name: '新闻动态',
    icon: 'icon-xinwendongtai',
    color: '#00CEF7',
    routerName: 'News',
  },
  {
    name: '精彩直播',
    icon: 'icon-jingcaizhibo',
    color: '#0FCBA5',
    cb(){
      sendLive()
    },
  },
  {
    name: '消息中心',
    icon: 'icon-xiaoxizhongxin',
    color: '#FF9566',
    routerName: 'MsgManage'
  },
]
