import {ChainStatus} from './enum';
export const ActionList = { blockChain: {key: 'blockChain', icon: 'shanglian1', text: '上链'},
                      edit: {key: 'edit', icon: 'bianji1', text: '编辑'},
                      del: {key: 'del', icon: 'shanchu3', text: '删除'},
                      copy: {key: 'copy', icon: 'fuzhi1', text: '复制'},
                      blockquery: {key: 'blockquery', icon: 'qukuailianchaxun', text: '区块链查询'},
                      copyhash: {key: 'copyhash', icon: 'fuzhiHashdizhi', text: '复制hash地址'},
                      del2: {key: 'del2', icon: 'shanchu3', text: '删除'},
                      zengliang: {key: 'zengliang', icon: 'zenglianggengxin2', text: '增量'},
                    };
export const ChainStatusStr: any = {
    [ChainStatus.NONE]: '未上链',
    [ChainStatus.CHAINING]: '上链中',
    [ChainStatus.SUCCESS]: '已上链',
    [ChainStatus.FAILURE]: '上链失败',
    };

export const menu = [
  {
    text: '首页',
    path: '/',
    icon: ['shouye-lanse', 'shouye-huise'],
  },
  {
    text: '查询',
    path: process.env.VUE_APP_BROWSER,
    icon: ['suyuanbiaoshi', 'suyuanbiaoshi'],
  },
  {
    text: '存证',
    path: '/proofList',
    icon: ['cunzheng-lanse', 'cunzheng-huise'],
  },
  {
    text: '个人',
    path: '/userCenter/index',
    icon: ['geren-lanse', 'geren-heise'],
  },
];
