dict.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // 菜单
  2. export const system = [
  3. { title: '首页', normal: '/image/tabs/home.png', active: '/image/tabs/home_1.png', route: 'pages/home/index', type: '0' },
  4. { title: '资讯', normal: '/image/tabs/news.png', active: '/image/tabs/news_1.png', route: 'pages/news/index', type: '0' },
  5. { title: '话题', normal: '/image/tabs/topic.png', active: '/image/tabs/topic_1.png', route: 'pages/topic/index', type: '0' },
  6. { title: '我的', normal: '/image/tabs/my.png', active: '/image/tabs/my_1.png', route: 'pages/my/index', type: '0' },
  7. ]
  8. // 比赛状态
  9. export const match_status = [
  10. { label: '', value: '全部' },
  11. { label: '0', value: '报名中' },
  12. { label: '1', value: '报名截止' },
  13. { label: '2', value: '报名结束' },
  14. { label: '3', value: '发布秩序册' },
  15. { label: '4', value: '比赛中' },
  16. { label: '5', value: '比赛结束' },
  17. ]
  18. // 赛事类别
  19. export const matchType = [
  20. { label: '团体赛', value: '团体赛' },
  21. { label: '单项赛', value: '单项赛' },
  22. ]
  23. // 我的页面,功能按钮
  24. // -1:管理员,0:普通用户,1:裁判用户
  25. export const myBtn = [
  26. { title: '我的赛事', route: 'usermymatch', type: '0' },
  27. { title: '用户管理', route: 'user', type: '-1' },
  28. { title: '赛事管理', route: 'match', type: '-1' },
  29. { title: '订单管理', route: 'order', type: '-1' },
  30. { title: '账号设置', route: 'setting', type: '-1|0' }
  31. ]
  32. export const gender = [
  33. { label: '男', value: '男' },
  34. { label: '女', value: '女' },
  35. { label: '未知', value: '未知' },
  36. ]
  37. export const match_project = [
  38. { label: '单打', value: '单打' },
  39. { label: '双打', value: '双打' },
  40. ]